:root {
    --primary: #b5267a;
    --primary-dark: #8e1d60;
    --primary-soft: rgba(181, 38, 122, 0.08);
    --secondary: #af8014;
    --secondary-dark: #b8923a;
    --white: #ffffff;
    --light-bg: #f5f6f8;
    --dark: #3c3c3c;
    --darker: #1e1e2a;
    --accent-cyan: #0097a7;
    --accent-red: #e04545;
    
    --font-heading: 'Playfair Display', serif;
    --font-text: 'Outfit', sans-serif;
    
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    color: var(--dark);
    background-color: var(--light-bg);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: linear-gradient(135deg, var(--darker) 0%, #2a2a3a 100%);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    margin-right: 20px;
}

.top-info i {
    margin-right: 5px;
    color: var(--secondary);
}

.sernatur-badge {
    background-color: rgba(0, 151, 167, 0.2);
    border: 1px solid rgba(0, 151, 167, 0.4);
    color: #4dd9e8;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.sernatur-badge i {
    margin-right: 5px;
}

.social-links a {
    color: rgba(255,255,255,0.7);
    margin-left: 15px;
    font-size: 1.05rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.navbar {
    padding-top: 5px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    color: var(--dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #c73a8e 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(181, 38, 122, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 38, 122, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #e0b84e 100%);
    color: var(--darker);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.25);
}

/* Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--darker);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Hero Section */
.hero {
    height: 88vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30,30,42,0.15), rgba(30,30,42,0.5)), url(../img/hero.jpg) center / cover no-repeat;
    z-index: 1;
    animation: heroZoomInOut 15s ease-in-out infinite alternate;
}

@keyframes heroZoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* If hero-bg.jpg doesn't exist yet, we will fallback to a gradient */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
	line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px black;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 5px 3px 3px black;
    font-weight: 300;
    line-height: 1.8;
}

.hero .slogan {
    color: #dfbe35;
    font-style: italic;
    font-size: 2.5rem;
    display: block;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px black;
    line-height: 1.2;
}

/* Card Styles (Tours) */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tour-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.tour-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
    transition: var(--transition);
}

.tour-card:hover .tour-img {
    transform: scale(1.03);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-cyan), #00b8cc);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 151, 167, 0.3);
    backdrop-filter: blur(4px);
    letter-spacing: 0.02em;
}

.tour-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-family: var(--font-heading);
    color: var(--darker);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.tour-info-list {
    margin-bottom: 20px;
    flex-grow: 1;
}

.tour-info-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tour-info-list i {
    color: var(--primary);
    margin-top: 5px;
}

.tour-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--darker);
    text-align: right;
    margin-bottom: 15px;
}

/* About short section */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-img img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--darker);
    margin-bottom: 20px;
}

/* Footer Section reused */
.main-footer {
    background: linear-gradient(180deg, var(--darker) 0%, #141420 100%);
    color: rgba(255,255,255,0.85);
    padding-top: 80px;
    margin-top: 60px;
}

.container-footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid-four {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 0.9fr 1.5fr;
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid-four {
        grid-template-columns: 1fr;
    }
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-logo {
    height: 170px;
    margin-bottom: 15px;
    /* padding: 5px; */
    border-radius: 5px;
}
@media (max-width: 479px){
		.footer-logo {
		height: 150px;
	}
}

.slogan {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.links-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.links-col i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 0.75rem;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.admin-link {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

.admin-link:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }
.pt-5 { padding-top: 50px; }
.pb-5 { padding-bottom: 50px; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .top-info {
        display: none;
    }
    .top-bar-inner {
        justify-content: center;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.show {
        max-height: 400px;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    .nav-links a {
        display: block;
        padding: 15px 0;
    }
    .nav-links a::after {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Tours Grid */
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
}

/* =============================================
   ANIMATION SYSTEM — Snappy & Professional
   ============================================= */

/* =============================================
   ANIMATION SYSTEM — Zero-Delay Architecture
   ============================================= */

/* --- Base (Safe State: Visible if JS fails) --- */
.reveal {
    opacity: 1;
    will-change: opacity, transform;
}

/* --- Hidden State (Only when JS is confirmed ready) --- */
.js-ready .reveal {
    opacity: 0;
}

/* --- Visible State Override --- */
.reveal.is-visible {
    /* Transitions define the speed coming *into* view */
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.5s ease;
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
    filter: blur(0) !important;
}

/* --- Stagger (fast cascade) --- */
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s;  }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s;  }
.reveal-delay-5 { transition-delay: 0.25s; }


/* =============================================
   HERO — Quick Cinematic Entrance
   ============================================= */
.hero-content .slogan {
    animation: heroIn 0.5s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-content h1 {
    animation: heroIn 0.55s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-content p {
    animation: heroIn 0.5s 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-content .mt-4 {
    animation: heroIn 0.45s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); filter: blur(2px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}


/* =============================================
   CARDS — Clean Hover States
   ============================================= */
.tour-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.tour-img {
    transition: transform 0.4s ease;
}
.tour-card:hover .tour-img {
    transform: scale(1.04);
}

/* --- Badge subtle glow --- */
.tour-badge {
    animation: badgeGlow 3s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(0, 151, 167, 0.25); }
    50%      { box-shadow: 0 2px 14px rgba(0, 151, 167, 0.4); }
}


/* =============================================
   BUTTONS — Shine Sweep
   ============================================= */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}
.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}


/* =============================================
   SECTION TITLE — Underline Grows In
   ============================================= */
.js-enabled .section-title h2::after {
    width: 0;
    transition: width 0.5s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js-enabled .section-title.reveal.is-visible h2::after,
.js-enabled .is-visible .section-title h2::after {
    width: 60px;
}


/* =============================================
   REVIEW CARDS — Hover Lift
   ============================================= */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(66, 133, 244, 0.1);
}


/* =============================================
   GALLERY / ALBUM — Hover Effects
   ============================================= */
.album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.1);
}
.album-cover img {
    transition: transform 0.45s ease;
}
.album-card:hover .album-cover img {
    transform: scale(1.05);
}
.gallery-item img {
    transition: transform 0.45s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    transition: transform 0.3s ease;
}


/* =============================================
   FORMS — Focus Glow
   ============================================= */
.form-control {
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease,
                background-color 0.25s ease;
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(181, 38, 122, 0.1);
}


/* =============================================
   FAQ — Accordion
   ============================================= */
details {
    transition: box-shadow 0.25s ease;
}
details:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), -3px 0 0 var(--primary);
}
details[open] {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06), -3px 0 0 var(--primary);
}


/* =============================================
   FOOTER LINKS
   ============================================= */
.links-col ul li a {
    transition: color 0.2s ease, padding-left 0.25s ease;
}
.links-col ul li a:hover {
    padding-left: 6px;
}


/* =============================================
   SMOOTH SCROLL
   ============================================= */
html { scroll-behavior: smooth; }


/* =============================================
   FLOATING BUTTONS — WhatsApp & ScrollTop
   ============================================= */
.whatsapp-btn,
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.scroll-top-btn {
    right: 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(181, 38, 122, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-btn {
    right: 90px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4);
}

.scroll-top-btn:hover {
    background: var(--secondary);
    color: var(--darker);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
}

.whatsapp-btn:active,
.scroll-top-btn:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-btn,
    .scroll-top-btn {
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .scroll-top-btn { right: 20px; }
    .whatsapp-btn { right: 75px; }
}

/* =============================================
   REDUCED MOTION — Accessibility
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js-enabled .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
    html { scroll-behavior: auto; }
}
