/* ==========================================================================
   1. BRANDING & ROOT VARIABLES (NO YELLOW)
   ========================================================================== */
:root {
    --brand-green: #2d5a37;        /* Main Accent & Green Elements */
    --brand-green-dark: #1b3822;   /* Deep Forest Green Backgrounds */
    --brand-earth: #734821;        /* Top Bar, Buttons & Secondary Elements */
    --brand-earth-dark: #523317;   /* Dark Earth Hover State */
    --brand-cream: #faf8f5;        /* Scrolled Header, Cards & Light Text */
    --brand-white: #ffffff;
    --brand-beige: #c5a059;

    --container: 1240px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);

    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--brand-green-dark);
    color: var(--brand-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ==========================================================================
   2. HEADER & TOP BAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.top-bar {
    background-color: var(--brand-earth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.825rem;
    padding: 8px 0;
    position: relative;
    z-index: 20;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-cream);
    font-weight: 600;
}

.top-info-item svg {
    stroke: var(--brand-cream);
    transition: var(--transition);
}

.top-info-item:hover {
    color: var(--brand-white);
}

.main-nav-bar {
    position: relative;
    padding: 0;
    background-color: transparent;
 
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 70px;
}

.logo-link {
    position: relative;
    display: block;
    width: 280px;
    align-self: flex-start;
    z-index: 1002;
}

.logo-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 12px 20px 18px 20px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1px solid transparent;
    border-top: none;
    box-shadow: none;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-logo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--brand-white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--brand-cream);
    opacity: 0.8;
}

.site-header.scrolled .main-nav-bar {
    background-color: var(--brand-beige);
    border-bottom-color: rgba(115, 72, 33, 0.15);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .logo-card {
    background-color: var(--brand-beige);
    border-color: rgba(115, 72, 33, 0.15);
    box-shadow: var(--shadow-sm);
}

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

.site-header.scrolled .nav-links a:hover {
    color: var(--brand-earth);
}

/* Navigation CTA Button Visibility */
.mobile-only-cta {
    display: none;
}

.header-cta-desktop {
    display: inline-flex;
}


/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.safari-breadcrumbs {
    top:100px;
    position: relative;
    z-index: 50;
    width: 100%;
    background-color: var(--brand-cream);
    border-bottom: 1px solid rgba(45, 90, 55, 0.12);
}

.safari-breadcrumbs-inner {
    width: 100%;
    max-width: var(--container);
    min-height: 52px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--brand-green-dark);
    font-size: 0.82rem;
    line-height: 1.4;
}

.safari-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--brand-green);
    font-weight: 700;
    text-decoration: none;

    transition: var(--transition);
}

.safari-breadcrumbs a:hover {
    color: var(--brand-earth);
}

.safari-breadcrumbs .separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(115, 72, 33, 0.55);
    font-size: 0.65rem;
}

.safari-breadcrumbs .current {
    color: #706b64;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {

    .safari-breadcrumbs-inner {
        min-height: 46px;
        padding-left: 20px;
        padding-right: 20px;

        gap: 7px;
        font-size: 0.75rem;

        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .safari-breadcrumbs-inner::-webkit-scrollbar {
        display: none;
    }
}


/* ==========================================================================
   3. HERO & VIDEO BACKGROUND
   ========================================================================== */
.hero-video-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 200px 0 100px;
    background-color: var(--brand-green-dark);
}

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

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 3; /* Keeps text overlay above videos */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Smooth cross-fade transition */
    z-index: 1;
}
.hero-video.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 860px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--brand-earth);
    color: var(--brand-cream);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--brand-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--brand-cream);
    max-width: 680px;
    margin: 0 auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 200px;
}

.sunset-wrapper {
    background-image: linear-gradient(rgba(27, 56, 34, 0.88), rgba(27, 56, 34, 0.96)), 
                      url('https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=1920&q=80');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
}

.content-block-overlay {
    background-color: rgba(115, 72, 33, 0.85);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(250, 248, 245, 0.15);
    border-bottom: 1px solid rgba(250, 248, 245, 0.15);
}

/* ==========================================================================
   4. BUTTONS & CARDS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-earth {
    background-color: var(--brand-earth);
    color: var(--brand-cream);
}

.btn-earth:hover {
    background-color: var(--brand-earth-dark);
    color: var(--brand-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-cream {
    background-color: var(--brand-cream);
    color: var(--brand-green-dark);
}

.btn-cream:hover {
    background-color: var(--brand-white);
    color: var(--brand-earth);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(45, 90, 55, 0.4);
    border: 1px solid var(--brand-cream);
    color: var(--brand-cream);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--brand-cream);
    color: var(--brand-green-dark);
}

.card {
    background-color: rgba(115, 72, 33, 0.65);
    border: 1px solid rgba(250, 248, 245, 0.2);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--brand-cream);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 24px;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.stats-block {
    background-color: rgba(115, 72, 33, 0.85);
    border: 1px solid rgba(250, 248, 245, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    padding: 60px 40px;
    margin: 40px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-cream);
}

.stat-label {
    color: var(--brand-cream);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--brand-green-dark);
    border-top: 1px solid rgba(250, 248, 245, 0.15);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--brand-cream);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--brand-cream); opacity: 0.8; }
.footer-col a:hover { opacity: 1; color: var(--brand-white); }

/* ==========================================================================
   6. MOBILE NAVIGATION & HAMBURGER DRAWER
   ========================================================================== */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger-icon {
    width: 26px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--brand-white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-nav-toggle.active .hamburger-icon span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-large { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
    .logo-link { width: 160px; }
    .logo-card { position: relative; padding: 10px; border: none; background: transparent !important; }
    .top-bar-content { justify-content: space-between; }
    .top-bar-right { display: none; }
    .hero-title { font-size: 2.25rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .sunset-wrapper { background-attachment: scroll; }

    /* Hide desktop CTA, show mobile CTA inside drawer */
    .header-cta-desktop {
        display: none !important;
    }

    .mobile-only-cta {
        display: block;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .site-header.scrolled .hamburger-icon span {
        background-color: var(--brand-green-dark);
    }

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--brand-green-dark);
        border-left: 1px solid rgba(250, 248, 245, 0.15);
        padding: 100px 30px 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .nav-links-wrapper.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 8px 0;
        border-bottom: 1px solid rgba(250, 248, 245, 0.1);
        color: var(--brand-cream) !important;
    }

    .mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
    }

    .mobile-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}