/* =============== VARIABLES =============== */
:root {
    --color-primary: #064e3b; /* Deep Emerald Green */
    --color-secondary: #d97706; /* Elegant Gold */
    --color-secondary-hover: #b45309;
    --color-dark: #1c1917; /* Off-black */
    --color-text: #44403c; /* Dark Grey for text */
    --color-light: #fafaf9; /* Off-white background */
    --color-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =============== RESET & BASE =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.bg-light {
    background-color: var(--color-white);
}

.text-center {
    text-center: center;
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-text {
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text span {
    transition: transform 0.3s ease;
}

.btn-text:hover span {
    transform: translateX(5px);
}

.w-full {
    width: 100%;
}

/* =============== NAVIGATION =============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--color-primary);
}

.logo-pl {
    color: var(--color-secondary);
}

.site-logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

/* Optional: if you want the logo to change color on scroll, you can use CSS filters or swap images. 
   For now, we'll just keep it as is. */
.header.scrolled .site-logo {
    /* If it's a white logo, you might want to invert it or make it darker when the background becomes white */
    /* filter: invert(1); */
}


.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.header.scrolled .nav-links a {
    color: var(--color-dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-secondary) !important;
}

.btn-nav {
    border: 2px solid var(--color-secondary);
    padding: 10px 24px !important;
    border-radius: 30px;
}

.header.scrolled .btn-nav {
    color: var(--color-secondary);
}

.btn-nav:hover {
    background: var(--color-secondary);
    color: var(--color-white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .menu-toggle .bar {
    background-color: var(--color-primary);
}

/* =============== HERO SECTION =============== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1546708973-14532b2709e8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-video-container iframe {
    width: 100vw;
    height: 77.92vw; /* 1.2833 aspect ratio */
    min-height: 100vh;
    min-width: 128.33vh; /* 1.2833 aspect ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05); /* Slight scale to hide any edge borders */
    pointer-events: none;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(6, 78, 59, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
    color: var(--color-white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    color: var(--color-white);
    font-size: 4.5rem;
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============== SECTION COMMON =============== */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-subtitle {
    color: var(--color-secondary);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.separator {
    height: 3px;
    width: 60px;
    background-color: var(--color-secondary);
    margin: 0 auto;
}

/* =============== ABOUT SECTION =============== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 30px;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--color-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-secondary);
}

.experience-badge .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--color-dark);
}

/* =============== TOURS SECTION =============== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.tour-card {
    background: var(--color-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tour-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tour-duration {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 2;
}

.tour-info {
    padding: 30px;
}

.tour-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.tour-info p {
    margin-bottom: 20px;
    color: var(--color-text);
}

/* =============== PACKAGE THUMBNAILS =============== */
.package-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
}

.package-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.package-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-thumbnail:hover img {
    transform: scale(1.05);
}

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
}

.package-thumbnail:hover .package-overlay {
    background: rgba(0,0,0,0.5);
}

.package-overlay h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* =============== FOOTER =============== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-col p {
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* =============== HERO SLIDER =============== */
.hero-slider-wrapper {
    margin-top: 50px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.hero-slider-title {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 500;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.slider-track {
    display: inline-block;
    animation: scroll 25s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.hero-slider-track img,
.hero-slider-track video {
    height: 120px;
    width: auto;
    border-radius: 8px;
    margin: 0 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    display: inline-block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============== LIGHTBOX MODAL =============== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--color-secondary);
}

.lightbox-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 0 50px;
}

#lightbox-media-container {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-media-container img,
#lightbox-media-container video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    z-index: 2001;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--color-secondary);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

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

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .site-logo {
        height: 60px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--color-dark);
        font-size: 18px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--color-dark);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--color-dark);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 15px;
        bottom: -15px;
        right: -15px;
        border-width: 4px;
    }
    
    .experience-badge .number {
        font-size: 20px;
    }
    
    .experience-badge .text {
        font-size: 9px;
    }
}
