/* Antigravity Design System - Phase 3 Overhaul */
:root {
    --earthy-khaki: #C3B091;
    --deep-slate: #2F2F2F;
    --sunset-gold: #E3A857;
    --bg-light: #F7F5F0;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 8px 32px 0 rgba(47, 47, 47, 0.08);
    --shadow-hover: 0 16px 48px 0 rgba(47, 47, 47, 0.15);

    --red-earth: #9B4B28;
    --deep-forest: #2D3E33;

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll from full-bleed sections */
}

body {
    font-family: var(--font-secondary);
    color: var(--deep-slate);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

body.ele-mode {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size: 24px;'%3E%3Ctext y='24'%3E🐘%3C/text%3E%3C/svg%3E"), auto;
}

/* Secret Elephant Mode for interactive elements */
body.ele-mode a,
body.ele-mode button,
body.ele-mode .interactive-hover,
body.ele-mode .t-arrow,
body.ele-mode .t-dot,
body.ele-mode .testimonial-card {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size: 24px;'%3E%3Ctext y='24'%3E🐘%3C/text%3E%3C/svg%3E"), pointer !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 374px) {
    .container {
        padding: 0 8px;
        /* 8px side gutters */
        width: calc(100% - 16px);
    }
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 2.5rem;
    color: var(--deep-slate);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--sunset-gold);
    margin: 1.5rem auto 0;
}

.section-tag {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--earthy-khaki);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    display: inline-block;
    background: var(--deep-slate);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 4px;
    /* More professional, weighted feel */
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary:hover {
    background: var(--sunset-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 168, 87, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    /* GPU-composited properties only — no layout-triggering changes */
    transition: padding 0.3s ease, background 0.3s ease;
}

/* Class toggled by JS on scroll — avoids direct style.padding mutation */
.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
}


.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    /* Slightly larger for better presence */
    text-decoration: none;
    color: var(--deep-slate);
    letter-spacing: 1px;
    flex-shrink: 0;
    /* Never squash the logo */
    white-space: nowrap;
}

.logo span {
    font-weight: 300;
    color: var(--red-earth);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(0.75rem, 2vw, 2.5rem);
    /* Tightened gap to prevent wrapping on standard laptops */
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-slate);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
    white-space: nowrap;
    /* Ensure text and arrows never separate */
}

.nav-links a:hover {
    color: var(--sunset-gold);
}

/* Dropdown Arrows */
.dropdown-toggle::after {
    display: none !important;
}

.arrow-btn {
    font-size: 0.7rem;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
    padding: 4px 10px; /* generous tap target for touch devices */
    color: inherit;
}

/* Rotate arrow when open */
.nav-item.dropdown.active .dropdown-toggle .arrow-btn {
    transform: rotate(180deg);
}

@media (pointer: fine) {
    .nav-item.dropdown:hover .dropdown-toggle .arrow-btn {
        transform: rotate(180deg);
    }
}

/* Desktop Hover & Tablet Click Menu */
@media (min-width: 769px) {
    /* Only open on hover for mouse users */
    @media (pointer: fine) {
        .nav-item.dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
            pointer-events: auto;
        }
    }

    /* Open on click/tap via active class for everyone */
    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    /* Sub-dropdown (Collections Flyout - Flies out to the RIGHT) */
    .dropdown-item.has-sub {
        position: relative;
    }

    .dropdown-item.has-sub::after {
        content: '▸';
        /* Right arrow */
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.7rem;
        opacity: 0.6;
    }

    .sub-dropdown {
        position: absolute;
        top: -10px;
        left: 100%;
        /* Fly out to the right */
        background: var(--white);
        min-width: 200px;
        border-radius: 12px;
        box-shadow: var(--shadow-hover);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 1001;
    }

    .dropdown-item.has-sub:hover .sub-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }
}

/* Show sub-dropdown when parent is active (mobile) */
.dropdown-item.has-sub.active .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Dropdown Logic */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    pointer-events: none;
    /* Blocked until active */
}

.nav-item.dropdown.active>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu.reverse-align {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(10px);
}

.sub-dropdown.reverse-align {
    left: auto;
    right: 100%;
    transform: translateX(-10px);
}

.dropdown-item.has-sub.active .sub-dropdown.reverse-align,
.dropdown-item.has-sub:hover .sub-dropdown.reverse-align {
    transform: translateX(0);
}

.dropdown-item.has-sub:has(.sub-dropdown.reverse-align)::after {
    content: '◂';
    left: 15px;
    right: auto;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a,
.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--deep-slate) !important;
    text-transform: none !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    transition: background 0.3s ease;
    cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-item:hover {
    background: var(--sand-light);
    color: var(--red-earth) !important;
}

/* Mobile Nested Menu Logic */
@media (max-width: 850px) {
    .sub-dropdown {
        display: none;
        padding-left: 1rem;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 0;
        box-shadow: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .dropdown-item.has-sub.active .sub-dropdown {
        display: block;
        pointer-events: auto;
        /* Crucial for interaction */
    }

    .dropdown-item.has-sub::after {
        content: '▾';
        right: 20px;
        transition: transform 0.3s ease;
    }

    .dropdown-item.has-sub.active::after {
        transform: translateY(-50%) rotate(180deg);
    }
}


.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--deep-slate);
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(227, 168, 87, 0.1);
    color: var(--sunset-gold);
}

/* Desktop Hover protected from mobile taps */
@media (min-width: 851px) and (pointer: fine) {
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Dropdown Fix */
@media (max-width: 850px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border: none !important;
        width: 100% !important;
        text-align: center !important;

        display: none !important;
        /* Switch to display: block for reliability */
        opacity: 0;
        padding: 0 !important;
        margin: 0 !important;
        pointer-events: auto !important;
        /* Enable interaction on mobile */
    }

    .nav-item.dropdown.active>.dropdown-menu {
        display: block !important;
        opacity: 1;
        padding: 1rem 0 !important;
    }

    .dropdown-menu li {
        width: 100% !important;
        text-align: center !important;
    }

    .dropdown-menu a {
        font-size: 1.1rem !important;
        padding: 0.75rem 0 !important;
        opacity: 1 !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        color: var(--deep-slate) !important;
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    width: 48px;
    height: 48px;
    position: relative;
    justify-content: center;
    align-items: center;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--deep-slate);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--deep-slate);
    transition: all 0.3s ease;
    left: 0;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Mobile Menu Active State */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: translateY(0) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: translateY(0) rotate(-45deg);
}

@media (max-width: 850px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        gap: 1.5vh;
        margin: 0;
        padding: 80px 0 40px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: clamp(1.1rem, 4vh, 1.4rem);
        /* Dynamic font size */
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
    }

    /* Add a subtle dropdown indicator for Gallery on mobile */
    .nav-item.dropdown>a::after {
        content: ' ▾';
        font-size: 0.8em;
        opacity: 0.5;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 12vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    /* Use 100% to ensure no extra overflow that needs cropping */
    object-fit: cover;
    object-position: bottom center;
    will-change: transform;
    transform: none !important;
    /* Disable parallax for this specific image to fix scrolling glitches */
}

.hero-content-minimal {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0 2rem;
    color: #fff;
}

.hero-content-minimal .section-tag {
    color: var(--sunset-gold);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content-minimal h1 {
    font-size: clamp(2.8rem, 10vw, 5rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
}

.hero-content-minimal .subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-content-minimal .btn-primary {
    background: var(--sunset-gold);
    color: #fff;
    border: 2px solid var(--sunset-gold);
}

.hero-content-minimal .btn-primary:hover {
    background: #fff;
    color: var(--deep-slate);
    border-color: #fff;
}

/* Experience Section */
.experience-section {
    background: #fff;
}

.layout-split {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.experience-text h2 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin-bottom: 2.5rem;
}

.experience-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #444;
}



/* Bio Enhancements */
.bio-paragraph {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--deep-slate);
    position: relative;
    margin-top: 2rem;
}

.drop-cap {
    float: left;
    font-size: 5rem;
    line-height: 0.8;
    font-weight: 700;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    color: var(--sunset-gold);
    font-family: 'Playfair Display', serif;
}

.knowledge-trigger {
    position: relative;
    cursor: pointer;
    text-decoration: underline dashed var(--sunset-gold);
    text-underline-offset: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline;
}

.knowledge-trigger.active {
    color: var(--sunset-gold);
    background: rgba(227, 168, 87, 0.05);
}

.knowledge-popover {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 300px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    text-align: left;
    cursor: default;
    animation: float 4s ease-in-out infinite;
    border-radius: 16px !important;
}

.knowledge-trigger.active .knowledge-popover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 1025px) {
    .knowledge-trigger:hover {
        color: var(--sunset-gold);
        background: rgba(227, 168, 87, 0.05);
    }
    .knowledge-trigger:hover .knowledge-popover {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.popover-close-tip {
    font-size: 0.7rem;
    color: var(--sunset-gold);
    opacity: 0.8;
    margin-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(227, 168, 87, 0.15);
    padding-top: 0.6rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.knowledge-popover strong {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    color: var(--sunset-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(227, 168, 87, 0.2);
    padding-bottom: 0.5rem;
}

.knowledge-popover ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.knowledge-popover li {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
    color: var(--deep-slate);
    line-height: 1.4;
}

.knowledge-popover li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sunset-gold);
    font-weight: bold;
}

.experience-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-image img {
    width: 100%;
    height: auto;
    max-height: 750px;
    object-fit: contain;
    border-radius: 24px;
}

/* Social Strip */
.social-strip {
    background: var(--deep-slate);
    color: #fff;
    padding: 1rem 0;
}

.strip-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strip-flex span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    opacity: 0.6;
}

.social-icons {
    display: flex;
    gap: 4rem;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}



/* Masterclass Section (New Layout) */
.masterclass-section {
    background: var(--bg-light);
}

.masterclass-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.masterclass-card {
    width: 100%;
    padding: 3rem 4rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    /* Use solid white for maximum text rendering clarity */
    border-left: 5px solid transparent;
    position: relative;
}

.masterclass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-left: 5px solid var(--red-earth);
}

.masterclass-card h3 {
    font-size: 1.75rem;
    color: #1a1a1a;
    /* Darker for higher contrast */
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

.masterclass-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    /* Pure solid color for sub-pixel clarity */
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

.services-section {
    background: #fff;
}

.safari-operations-section {
    background: var(--bg-light);
}

.safari-ops-flex {
    display: flex;
    align-items: stretch;
    /* Make panel match text height */
    gap: 4rem;
    margin-top: 2rem;
}

.safari-ops-text-side {
    flex: 1;
    text-align: left;
}

.safari-ops-panel-side {
    flex: 1.2;
}

.safari-ops-tagline {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--sunset-gold);
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.safari-ops-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    -webkit-font-smoothing: antialiased;
}

.safari-ops-list {
    margin-bottom: 2rem;
    list-style: none;
    padding-left: 0;
}

.safari-ops-list li {
    padding: 0.75rem 0 0.75rem 1.75rem;
    position: relative;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid rgba(47, 47, 47, 0.07);
}

.safari-ops-list li:last-child {
    border-bottom: none;
}

.safari-ops-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sunset-gold);
    font-weight: 700;
}



@media (max-width: 992px) {
    .safari-ops-flex {
        flex-direction: column;
        gap: 3rem;
    }

    .safari-ops-text-side {
        text-align: center;
    }

    .safari-ops-list {
        display: inline-block;
        text-align: left;
    }
}


/* ============================================
   Park Detail Pages
   ============================================ */
.park-hero-section {
    min-height: 70vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

#guide-hero {
    background-image: url('assets/images/walkingsafari.png');
}

.park-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Home Page specific light overlay */
#hero .park-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.park-hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

.park-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    /* Tightened space as requested */
    color: var(--sunset-gold);
    text-decoration: none;
    font-size: 1.1rem;
    /* Slightly larger */
    font-weight: 600;
    margin-top: 4rem;
    /* More space from hero */
    margin-bottom: 0.5rem;
    /* Grouped with content */
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
    /* Inherit page background */
}

.back-arrow {
    font-size: 1.3rem;
    /* Bigger arrow */
    display: inline-block;
    margin-left: -0.2rem;
    /* Aligns the 'ink' tip with the text margin */
    line-height: 1;
}

.park-back-nav-container {
    max-width: 1300px !important;
}

.park-back-link:hover {
    transform: translateX(-5px);
    opacity: 0.8;
}

.park-hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.75rem);
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    line-height: 1.1;
}

.park-hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-style: italic;
    white-space: nowrap;
    /* Keep on one line at default zoom */
}

.park-main {
    background: var(--bg-light);
}

.park-section {
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(47, 47, 47, 0.08);
}

.park-section:first-child {
    padding-top: 0;
}

.park-section:last-child {
    border-bottom: none;
}

.park-section-inner {
    max-width: 860px;
}

.park-section h2 {
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    color: var(--deep-slate);
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    position: relative;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

.park-section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sunset-gold);
    margin-top: 0.6rem;
}

.park-section p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin-top: 1rem;
    -webkit-font-smoothing: antialiased;
}

.park-section ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.park-section ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
}

.park-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sunset-gold);
    font-weight: 700;
}

.park-placeholder-note {
    display: inline-block;
    background: rgba(227, 168, 87, 0.12);
    border-left: 3px solid var(--sunset-gold);
    padding: 0.75rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    color: var(--deep-slate);
    margin-top: 1.5rem;
    font-style: italic;
}

@media (max-width: 767px) {
    .park-hero-section {
        min-height: 50vh;
    }

    .park-hero-content {
        padding: 2rem 1.25rem;
    }

    .park-section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 374px) {
    .park-hero-section {
        min-height: 40vh;
    }

    .park-section {
        padding: 2rem 0;
    }

    .park-section h2 {
        font-size: 1.3rem;
    }
}







/* Video Section */
.video-section {
    background: #fff;
    scroll-margin-top: 100px;
    min-height: 90vh;
    /* Allow it to reach the top even if it's at the end of the page */
}



.video-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    overflow: hidden;
}

/* Disable stacking context creating properties on the parent container when expanded/fullscreen */
.video-container.expanded-parent {
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    z-index: 99999 !important;
}

/* Audio Player & Slideshow */
.audio-player-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity, top, left, width, height, border-radius;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16/9;
    position: relative;
}

.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.slideshow-container .slide.active {
    opacity: 1;
}

/* CSS Animation for infinite crossfade */
.slideshow-container.playing .slide {
    animation: crossfade 33s infinite;
}

.slideshow-container.paused .slide {
    animation-play-state: paused;
}

@keyframes crossfade {
    0% {
        opacity: 0;
    }

    13.6% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    47.0% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slideshow-container.playing .slide-1 {
    animation-delay: -4.5s;
}

.slideshow-container.playing .slide-2 {
    animation-delay: 6.5s;
}

.slideshow-container.playing .slide-3 {
    animation-delay: 17.5s;
}

.slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
    z-index: 2;
}

/* Audio Controls */
.audio-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.control-btn:hover {
    color: var(--sunset-gold);
    background: rgba(255, 255, 255, 0.1);
}

.control-btn.cc-off {
    opacity: 0.5;
}

.control-btn.cc-on {
    opacity: 1;
    color: var(--sunset-gold);
}

.hidden {
    display: none !important;
}

.time-display {
    color: #fff;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.progress-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.seek-bar {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--sunset-gold);
    cursor: pointer;
    transition: transform 0.1s;
}

.seek-bar::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Subtitles Display Overlay */
.subtitles-display {
    position: absolute;
    bottom: 80px;
    left: 10%;
    right: 10%;
    text-align: center;
    z-index: 90; /* Elevated to float safely beneath controls pill but above slideshow */
    pointer-events: none;
}

.subtitles-display span {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Large Center Play/Pause Button */
.center-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 110; /* Elevated to sit on the absolute top of the center zone */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.center-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--sunset-gold);
    color: var(--sunset-gold);
}

.center-play-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Reveal center play/pause button (and the pause icon if playing) on desktop hover */
@media (hover: hover) {
    .audio-player-wrapper:hover .center-play-btn {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, -50%) scale(1) !important;
        display: flex !important;
    }
}

.icon-play-center,
.icon-pause-center {
    transition: transform 0.3s ease;
}

.center-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Volume Control */
.volume-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-bar {
    width: 0;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.volume-wrapper:hover .volume-bar {
    width: 60px;
    opacity: 1;
}

.volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.audio-player-wrapper:fullscreen,
.audio-player-wrapper.expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    z-index: 9999 !important;
    margin: 0 !important;
}

.audio-player-wrapper:fullscreen .slideshow-container,
.audio-player-wrapper.expanded .slideshow-container {
    height: 100% !important;
    width: 100% !important;
}

.audio-player-wrapper:fullscreen .slide,
.audio-player-wrapper.expanded .slide {
    object-fit: contain !important;
    /* Show whole picture with black bars */
}

.audio-player-wrapper:fullscreen .audio-controls,
.audio-player-wrapper.expanded .audio-controls {
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 500px !important;
    border-radius: 100px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 0.8rem 1.5rem !important;
    z-index: 100 !important; /* Float above everything */
}

.audio-player-wrapper:fullscreen .subtitles-display,
.audio-player-wrapper.expanded .subtitles-display {
    position: absolute !important;
    bottom: 140px !important; /* Moved up to clear the pill bar */
    z-index: 90 !important; /* Float above slideshow, below controls */
}

/* Updated Pill Audio Controls */
.audio-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 100; /* Elevated to 100 to float cleanly on top of slideshow */
    border-radius: 100px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.seek-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.seek-bar::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background: var(--sunset-gold);
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .audio-player-wrapper {
        aspect-ratio: 16/9;
    }

    .audio-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 0;
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
        background: rgba(20, 20, 20, 0.6);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .volume-bar {
        display: none !important;
        /* Hide volume bar on mobile as before */
    }

    .time-display {
        font-size: 0.75rem;
    }

    .control-btn svg {
        width: 18px;
        height: 18px;
    }

    .center-play-btn {
        width: 70px;
        height: 70px;
    }

    /* Smart Fullscreen / Expand Mode for Mobile Viewports */
    .audio-player-wrapper:fullscreen,
    .audio-player-wrapper.expanded {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Perfect vertical flex centering */
        align-items: center !important; /* Perfect horizontal flex centering */
        background: #000 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 0 !important; /* Symmetrical centering margins */
    }

    .audio-player-wrapper:fullscreen .slideshow-container,
    .audio-player-wrapper.expanded .slideshow-container {
        margin: 0 !important;
    }

    .audio-player-wrapper:fullscreen .slide,
    .audio-player-wrapper.expanded .slide {
        object-fit: contain !important; /* Suspend and contain visual media frame symmetrically */
    }

    /* YouTube-Style Controls Pill Bar at the bottom */
    .audio-player-wrapper:fullscreen .audio-controls,
    .audio-player-wrapper.expanded .audio-controls {
        position: absolute !important;
        bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important; /* Lock at bottom, decoupled from centering */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 500px !important;
        border-radius: 100px !important;
        padding: 0.6rem 1.2rem !important;
        padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px)) !important;
        gap: 0.8rem !important;
        background: rgba(20, 20, 20, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        z-index: 9999 !important; /* Floats unobstructed at the absolute top layer depth */
    }

    /* Subtitles position directly in the black space below the slideshow box */
    .audio-player-wrapper:fullscreen .subtitles-display,
    .audio-player-wrapper.expanded .subtitles-display {
        position: absolute !important;
        bottom: calc(95px + env(safe-area-inset-bottom, 0px)) !important; /* Cleanly above the controls pill, in the letterboxing space */
        left: 5% !important;
        right: 5% !important;
        transform: none !important;
        text-align: center !important;
        z-index: 90 !important; /* Above slideshow, below controls */
        pointer-events: none !important;
    }

    .audio-player-wrapper:fullscreen .subtitles-display span,
    .audio-player-wrapper.expanded .subtitles-display span {
        font-size: 1rem !important;
        padding: 0.4rem 0.8rem !important;
        line-height: 1.3 !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border-radius: 5px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }
}

/* CC Button States */
.control-btn.cc-on {
    color: var(--sunset-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.control-btn.cc-off {
    color: #fff;
    opacity: 0.6;
}

.video-caption {
    padding: 2rem;
    text-align: center;
    color: #555;
}

.testimonials-section {
    background: var(--bg-light);
    padding: 6rem 0;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.testimonials-wrapper {
    position: relative;
}

.testimonials-carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    gap: 1.5rem;
    margin: 3rem 0;
}

.testimonials-viewport {
    flex: 1;
    overflow: hidden;
    padding: 3rem 0;
    /* Extra padding for the lift effect */
    margin: -2rem 0;
    /* Compensate for extra padding */
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: center;
    /* Center cards vertically */
}

.testimonials-track .testimonial-card {
    flex: 0 0 calc((100% / 3) - (4rem / 3));
    /* Strictly 3 per row on desktop */
    min-width: 0;
    height: 420px;
    /* Further reduced height */
    display: flex;
    flex-direction: column;
    padding: 3rem 0.75rem 0.75rem 0.75rem;
    /* Preserved Top (3rem), halved others again */
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: scale(1) translateZ(0);
    /* Hardware acceleration */
    backface-visibility: hidden;
    /* Fixes blurring */
    -webkit-font-smoothing: antialiased;
    will-change: transform;
    overflow: hidden;
    cursor: pointer;
    /* Hand icon for clickability */
}

.testimonials-track .testimonial-card.focused {
    opacity: 1;
    transform: translateY(-10px);
    /* Approx 0.25cm lift */
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-hover);
    z-index: 5;
}

.t-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    /* Darker glass for white background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--deep-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.t-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    color: var(--sunset-gold);
}

.t-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.t-dot.active {
    background: var(--sunset-gold);
    transform: scale(1.3);
}

/* Testimonial Card Refinement */
.testimonial-card {
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.user-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    /* Halved again from 1rem */
    border: 3px solid var(--sunset-gold);
}

.user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card p {
    font-style: italic;
    color: #333333;
    margin-bottom: 0.5rem;
    /* Halved again from 1rem */
    flex-grow: 1;
    /* Fills available space for same-height look */
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.read-more {
    text-decoration: none;
    color: var(--sunset-gold);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--deep-slate);
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    max-width: 600px;
    width: 92%;
    max-height: 85vh;
    padding: 3rem 2.5rem;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--sunset-gold);
    color: #fff;
    opacity: 1;
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    scrollbar-width: none;
    /* Hide scrollbar for clean look */
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-user-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--sunset-gold);
    flex-shrink: 0;
}

.modal-user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#modal-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    font-style: italic;
    color: var(--deep-slate);
    margin-bottom: 2rem;
    line-height: 1.5;
    padding: 0 0.5rem;
}

.modal-attribution {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    flex-shrink: 0;
}

.modal-attribution h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-attribution p {
    color: var(--earthy-khaki);
    font-weight: 600;
    font-size: 0.75rem;
}

/* Prevent scroll when modal/menu is active */
body.modal-open,
html.modal-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
}

/* Gallery Carousel */
.gallery-section {
    padding: 5rem 0;
    overflow: hidden;
    background: #fff;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    /* Reduced to sit closer to heading */
}

.carousel-track {
    display: flex;
    gap: 0;
    padding: 0;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.carousel-slide {
    width: 400px;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--deep-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-container:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: var(--sunset-gold);
    color: #fff;
    border-color: var(--sunset-gold);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

@media (max-width: 768px) {
    .carousel-track {
        display: none !important;
    }

    .carousel-arrow {
        display: none !important;
    }

    /* Mobile 2x2 grid styles */
    .mobile-gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 500px;
        margin: 1.5rem auto 0 auto;
        padding: 0 1rem;
        box-sizing: border-box;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .mobile-grid-cell {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        background: #141414;
    }

    .mobile-grid-cell img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: opacity;
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .mobile-grid-cell img.fade-out {
        opacity: 0 !important;
    }
}

/* Ensure mobile-gallery-grid is hidden on desktop by default */
.mobile-gallery-grid {
    display: none;
}

/* Contact Section */
.contact-section {
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
}

.contact-info {
    background: var(--deep-slate);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compliance-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-top: 2rem;
}

.mobile-only-compliance {
    display: none;
}

/* Justine Intro */
.justine-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInIntro 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.justine-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--sunset-gold);
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.justine-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.justine-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    /* Solid white on dark background for clarity */
    font-style: italic;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .justine-intro {
        flex-direction: column;
        text-align: center;
        padding-bottom: 2rem;
    }
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.liaison-title {
    font-size: 1.1rem;
    color: var(--sunset-gold);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 500;
}

.address {
    margin-bottom: 2rem;
    opacity: 0.7;
    font-size: 1.125rem;
}



/* Obfuscation Utility */
.obfuscated {
    unicode-bidi: bidi-override;
    direction: rtl;
    display: inline-block;
}

/* Contact Portal Overhaul */
.contact-portals {
    padding: 2.5rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.portal-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--deep-slate);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    transform: translateZ(0);
    /* Hardware acceleration for sharp text */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.portal-card h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--sunset-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portal-card .portal-value {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portal-card:hover .portal-value {
    text-decoration: underline;
}

.portal-value.whatsapp-number {
    color: #25D366;
}

.portal-value svg {
    flex-shrink: 0;
}

.portal-card .portal-cta {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-top: auto;
}

.portal-card:hover {
    background: rgba(227, 168, 87, 0.05);
}

.contact-info .compliance-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
    text-align: center;
    max-width: 100%;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    background: #edebe6;
    /* Slightly darker than --bg-light (#f7f5f0) */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.5;
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-left {
    text-align: left;
}

.footer-address {
    margin-bottom: 1rem !important;
    max-width: 300px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--deep-slate);
    opacity: 0.7;
}

.footer-contact-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--sunset-gold);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-social a {
    color: var(--deep-slate);
    opacity: 0.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--sunset-gold);
    transform: translateY(-4px);
}

.motto {
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1 !important;
    color: var(--earthy-khaki);
}

.footer-links {
    margin-top: 1.5rem;
}

.privacy-trigger {
    font-size: 0.75rem;
    color: var(--deep-slate);
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.privacy-trigger:hover {
    opacity: 1;
}

.compliance-text {
    font-size: 0.75rem;
    color: var(--deep-slate);
    opacity: 0.6;
    margin-top: 2rem;
    text-align: center;
    line-height: 1.5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.policy-content {
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.policy-content h2 {
    color: var(--sunset-gold);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--deep-slate);
}

.policy-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.policy-content::-webkit-scrollbar {
    width: 6px;
}

.policy-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.policy-content::-webkit-scrollbar-thumb {
    background: var(--sunset-gold);
    border-radius: 10px;
}

/* Responsive Optimization */
@media (max-width: 1024px) {
    .layout-split {
        flex-direction: column;
        gap: 4rem;
    }

    .experience-image {
        min-width: 100%;
    }

    .testimonials-grid,
    .gallery-categories,
    .masterclass-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2.5rem 1.5rem;
    }

    .contact-portals {
        padding: 1.5rem;
    }

    .drop-cap {
        font-size: 4rem;
        margin-top: 0.25rem;
    }

    .knowledge-trigger {
        position: static !important;
        color: var(--sunset-gold) !important;
        text-decoration: underline dashed var(--sunset-gold) !important;
    }

    .knowledge-popover {
        position: absolute !important;
        bottom: auto !important;
        width: 290px !important;
        max-width: 90vw !important;
        box-sizing: border-box !important;
    }

    .knowledge-trigger:hover .knowledge-popover,
    .knowledge-trigger.active .knowledge-popover {
        opacity: 1 !important;
        visibility: visible !important;
    }



    /* High-Density Typography Optimization */
    h2,
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
        -webkit-font-smoothing: antialiased;
        transform: translateZ(0);
    }

    h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.75rem !important;
        -webkit-font-smoothing: antialiased;
        transform: translateZ(0);
    }

    p,
    .bio-paragraph {
        font-size: 14px !important;
        line-height: 1.4 !important;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-font-smoothing: antialiased !important;
        transform: translateZ(0) !important;
    }

    /* Target white-background cards specifically for the high-contrast color */
    .masterclass-card p,
    .testimonial-card p {
        color: #333333 !important;
    }

    /* Ensure text in the dark Enquiry panel remains white */
    .contact-info p,
    .contact-info .justine-bio,
    .contact-info .liaison-title,
    .contact-info .compliance-text {
        color: #ffffff !important;
    }

    /* Card Padding Reduction */
    .experience-card,
    .masterclass-card,
    .testimonial-card,
    .portal-card {
        padding: 12px !important;
    }


}

@media (max-width: 767px) {

    /* Enquiries Section Stack */
    .contact-wrapper {
        display: flex;
        flex-direction: column;
    }

    .portal-card {
        text-align: center;
        padding: 1.5rem 12px;
        /* 12px internal padding */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        /* Tighter shadow for sharpness */
        font-weight: 500;
    }

    .portal-value {
        justify-content: center;
        margin-left: 0 !important;
        font-size: clamp(0.85rem, 3.5vw, 1.1rem) !important;
        white-space: nowrap;
        /* Force single line */
        color: #1a1a1a;
        /* Solid for sharpness */
        -webkit-font-smoothing: antialiased;
        transform: translateZ(0);
    }

    /* Tightened Enquiry Section Spacing */
    .contact-info {
        padding: 2rem 1.25rem 0.5rem !important;
        /* Heavily reduced bottom padding */
        gap: 0 !important;
    }

    .contact-info h2 {
        font-size: 1.85rem !important;
        margin-bottom: 0.25rem !important;
    }

    .contact-info .liaison-title {
        font-size: 0.95rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
        opacity: 0.9 !important;
    }

    .justine-intro {
        margin-bottom: 0 !important;
        /* Remove bottom margin completely */
        padding-top: 1.25rem !important;
        gap: 1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .justine-photo {
        width: 80px !important;
        height: 80px !important;
    }

    .justine-bio {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
        line-height: 1.5 !important;
    }

    .desktop-only-compliance {
        display: none !important;
    }

    .mobile-only-compliance {
        display: block !important;
        margin: 0 !important;
        padding: 1rem 1.25rem 2rem !important;
        /* Spacing at the bottom */
        font-size: 0.7rem !important;
        opacity: 0.4 !important;
        background: transparent !important;
        color: #999 !important;
        text-align: center !important;
        width: 100% !important;
        line-height: 1.2 !important;
    }

    /* Footer Reconstruction */
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        padding: 0 1.25rem;
    }

    .footer-left {
        text-align: center;
        order: 1;
    }

    .footer-address {
        max-width: 100%;
        margin-bottom: 1.5rem !important;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .compliance-text {
        order: 2;
        margin-top: 1rem;
        padding: 0 1.25rem;
    }

    .footer-center {
        order: 3;
    }

    .footer-links {
        order: 4;
        margin-top: 2rem;
    }

    .footer-social {
        justify-content: center;
        gap: 2.5rem;
    }

    /* Social Strip Stack */
    .strip-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.25rem;
    }

    .social-icons {
        flex-direction: column;
        gap: 15px;
    }

    .social-icons a {
        justify-content: center;
    }
}

/* --- Dynamic Park Enquiry Hub --- */

/* Desktop Layout Split */
.park-layout-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding: 2rem 1.25rem;
    /* Reduced from 4rem to save space */
    max-width: 1300px;
    overflow: visible;
}

#park-sections-container {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

/* Sticky Enquiry Sidebar (Desktop Only) */
#enquiry-sidebar-container {
    width: 320px;
    align-self: stretch;
    overflow: visible;
}

@media (max-width: 1024px) {
    .park-layout-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    #enquiry-sidebar-container {
        display: none !important;
    }

    .mobile-enquiry-hub {
        display: block !important;
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 999;
    }

    .enquiry-bottom-panel {
        display: block !important;
        margin-top: 5rem;
        width: 100%;
        padding: 0 1rem;
    }

    .enquiry-bottom-panel .enquiry-card-glass {
        padding: 3.5rem 2rem;
    }

    .enquiry-bottom-panel .enquiry-card-glass h3 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .enquiry-bottom-panel .enquiry-card-glass p {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }

    .enquiry-bottom-panel .enquiry-btn {
        padding: 1.25rem;
        font-size: 1.05rem;
    }
}

.enquiry-bottom-panel {
    display: none;
}

.enquiry-card-glass {
    position: sticky;
    top: 120px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.enquiry-card-glass h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--deep-slate);
}

.enquiry-card-glass p {
    font-size: 0.95rem;
    color: var(--earthy-khaki);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.enquiry-btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enquiry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.enquiry-btn.whatsapp {
    background: #25D366;
    color: white;
}

.enquiry-btn.email {
    background: var(--deep-slate);
    color: white;
}

.enquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Enquiry Bubble (Fixed Action Button) */
.mobile-enquiry-hub {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

@keyframes floating-bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1400px) {
    .mobile-enquiry-hub {
        display: block;
    }
}

.hub-main-bubble {
    width: 60px;
    height: 60px;
    background: var(--red-earth);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(186, 73, 73, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

.hub-main-bubble:active {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(186, 73, 73, 0.5);
}

.hub-main-bubble.active {
    transform: rotate(45deg);
    background: var(--deep-slate);
}

.hub-main-bubble.active:active {
    transform: rotate(45deg) scale(1.1);
}

.hub-fan-options {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hub-fan-options.active {
    bottom: 85px;
    pointer-events: auto;
    opacity: 1;
}

.hub-option-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-tap-highlight-color: transparent;
}

.hub-option-bubble:active {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hub-fan-options.active .hub-option-bubble {
    animation: floating-bob 3s ease-in-out infinite;
}

.hub-fan-options.active .hub-option-bubble.whatsapp {
    animation-delay: 0.2s;
}

.hub-option-bubble.whatsapp {
    background: #25D366;
    color: white;
}

.hub-option-bubble.email {
    background: var(--deep-slate);
    color: white;
}

/* --- Guide Biography Page Overhaul --- */
.guide-main {
    padding: 3rem 0;
    /* Reduced from 6rem to tighten space to hero */
}

.guide-intro-text {
    margin-bottom: 1rem;
    text-align: center;
}

.bio-section {
    padding: 1.5rem 0;
}



.guide-triptych {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    margin: 2rem 0;

    /* Breakout technique for true full-bleed */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    background: #f0f0f0;
    overflow: hidden;
}

.triptych-image-container {
    height: 500px;
    overflow: hidden;
}

.triptych-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.triptych-center {
    background: #ccd3d9;
    /* The blue-grey look from the screenshot */
    padding: 3rem 3rem 6rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.triptych-center .enquiry-bubble-trigger {
    position: absolute !important;
    bottom: 2rem !important;
    right: 2rem !important;
    margin: 0 !important;
}

.triptych-center h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: center;
    border: none;
    padding: 0;
}

.facts-list {
    list-style: none;
    padding: 0;
}

.facts-list li {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #444;
}

.facts-list li > strong {
    display: block;
    color: #333;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.facts-list li span strong {
    display: inline !important;
    text-transform: none !important;
    font-weight: bold !important;
    font-size: inherit !important;
    letter-spacing: normal !important;
    color: inherit !important;
}

.bio-section {
    margin-bottom: 4rem;
}

.bio-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 2rem;
    color: var(--deep-slate);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.guide-sections-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    color: var(--deep-slate);
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.guide-diptych {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin: 6rem 0;
    min-height: 550px;
    /* Base height for balance */

    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    background: #f0f0f0;
    overflow: hidden;
}

.diptych-quote-container {
    background: #ccd3d9;
    padding: 5rem 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.diptych-quote-container blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    color: #444;
    font-style: italic;
    position: relative;
    max-width: 600px;
}


.diptych-image-container {
    height: 100%;
    /* Match parent height exactly */
    overflow: hidden;
    line-height: 0;
    /* Remove potential descender spacing */
}

.diptych-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Prevents heads from being cut off */
    display: block;
    /* Removes bottom whitespace */
}

@media (max-width: 992px) {
    .guide-diptych {
        grid-template-columns: 1fr;
    }

    .diptych-image-container {
        height: 400px;
    }

    .diptych-quote-container {
        padding: 4rem 2rem;
    }
}

@media (max-width: 992px) {
    .guide-triptych {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .triptych-image-container {
        height: 400px;
    }

    .triptych-center {
        order: -1;
        /* Keep facts visible */
        padding: 3rem 3rem !important; /* Symmetrical top/bottom padding when button is relative */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center facts and button horizontally */
    }

    .triptych-center .enquiry-bubble-trigger {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 2rem auto 0 !important; /* Add space below facts list and center perfectly */
        width: fit-content !important;
    }
}

@media (max-width: 1024px) {
    .guide-layout {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .guide-main {
        padding: 4rem 8px;
        /* Establish 8px side-gutters as requested */
    }

    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-image-column {
        order: -1;
        /* Images first on mobile */
        gap: 1rem;
    }

    .guide-profile-img {
        height: 350px;
    }


}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
}

/* Antigravity Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

.float-anim:hover {
    animation-play-state: paused;
}

/* Gallery CTA Styles */
.gallery-cta-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    /* Positive margin ensures the section-title yellow bar never overlaps at any screen width */
    margin-top: 0.75rem;
}

.gallery-cta-wrapper p {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    /* Large, elegant serif */
    font-weight: 500;
    color: var(--deep-slate);
    letter-spacing: 0.5px;
}

.inline-cta {
    color: var(--sunset-gold);
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    /* Elegant italic 'here' */
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0 4px;
}

.inline-cta:hover {
    letter-spacing: 2px;
    text-decoration: underline;
}

/* Elegant Link for Bio */
.elegant-link {
    /* block ensures it always sits on its own line below the bio paragraph text */
    display: block;
    margin-top: 2rem;
    color: var(--deep-slate);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 1px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.65rem;
    transform-origin: left center;
    backface-visibility: hidden;
    /* Prevent blurring */
    -webkit-font-smoothing: antialiased;
    will-change: transform;
}

.elegant-link:hover {
    transform: scale(1.05) translateZ(0);
    /* Hardware accelerated zoom */
}

.accent-name {
    color: var(--sunset-gold);
}

/* --- Consolidated Safaris Overhaul (Sketch-Matched) --- */
.safaris-layout-body {
    background: var(--paper-white);
    overflow-x: hidden;
}

/* Redesigned Enquiry Panel - Tabbed Style */
.enquiries-sidebar {
    position: fixed;
    right: 110px;
    /* To the left of the bubbles */
    bottom: 30px;
    width: 400px;
    z-index: 1050;
    pointer-events: none;
    /* Allow clicks through when hidden */
    transform: translateY(120%);
    /* Start below screen */
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.6s;
    visibility: hidden;
}

.enquiries-sidebar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.enquiry-card-glass {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(227, 168, 87, 0.2);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.enquiry-card-header {
    padding: 1.5rem 2rem 0.5rem;
    text-align: center;
    position: relative;
}

.panel-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-slate);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    line-height: 1;
}

.panel-close-btn:hover {
    opacity: 1;
}

.enquiry-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--deep-slate);
}

.enquiry-tab-content {
    flex: 1;
}

/* Enquire Now Bubble in ZigZag */
.zigzag-text-box {
    position: relative;
    /* Anchor for the bubble */
    padding-bottom: 60px;
    /* Space for the bubble at bottom */
}

.enquiry-bubble-trigger {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--sunset-gold);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(180, 138, 50, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.enquiry-bubble-trigger i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.enquiry-bubble-trigger:hover {
    background: #a37d2d;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(180, 138, 50, 0.5);
}

.enquiry-bubble-trigger:hover i {
    transform: translateX(5px) translateY(-5px) rotate(-15deg);
}

@media (max-width: 900px) {
    .enquiry-bubble-trigger {
        position: relative;
        margin-top: 2rem;
        bottom: auto;
        right: auto;
        width: 100%;
        justify-content: center;
    }

    .zigzag-text-box {
        padding-bottom: 0;
    }
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.enquiry-bottom-strip {
    display: flex;
    width: 100%;
}

.enquiry-trigger {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
}

.enquiry-trigger:hover {
    opacity: 1;
}

.enquiry-trigger.active {
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.enquiry-trigger.whatsapp {
    background: #25D366;
}

.enquiry-trigger.email {
    background: #1a1a1a;
}

.pane-header-strip {
    width: 100%;
    padding: 25px 20px 10px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-transform: capitalize;
    letter-spacing: normal;
    color: var(--deep-slate);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: none !important;
}

.pane-header-strip i {
    font-size: 1.8rem;
}

.pane-header-strip.whatsapp i,
.icon-whatsapp {
    color: #25D366 !important;
}

.pane-header-strip.email i,
.icon-email {
    color: #1a1a1a !important;
}

.checklist-wrapper {
    padding: 0 2rem 1.2rem;
    text-align: left;
}

.enquiry-footer-note {
    font-size: 0.7rem;
    color: var(--deep-slate);
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-align: center;
    opacity: 0.8;
}

.enquiry-form-title {
    font-size: 0.8rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 0.4rem;
    font-family: var(--font-primary);
    text-align: center;
    line-height: 1.3;
}

/* Mobile & Desktop Enquiry Hub (Bottom Right) */
.mobile-enquiry-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

.hub-main-bubble {
    width: 60px;
    height: 60px;
    background: var(--deep-slate);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hub-main-bubble svg {
    transition: transform 0.4s ease;
}

.hub-main-bubble:hover {
    transform: scale(1.1);
    background: var(--sunset-gold);
}

.hub-main-bubble.active {
    background: #ff6b6b;
}

.hub-main-bubble.active svg {
    transform: rotate(135deg);
}

.hub-fan-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-fan-options.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hub-option-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.hub-label {
    background: white;
    color: var(--deep-slate);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.hub-option-wrapper:hover .hub-label {
    opacity: 1;
    transform: translateX(0);
}

.hub-option-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hub-option-wrapper.whatsapp .hub-option-bubble {
    background: #25D366;
}

.hub-option-wrapper.email .hub-option-bubble {
    background: #1a1a1a;
}

.hub-option-wrapper:hover .hub-option-bubble {
    transform: scale(1.1);
}

.col-title {
    font-size: 0.6rem;
    color: #5D4B33;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    border-bottom: 1px solid rgba(227, 168, 87, 0.1);
    padding-bottom: 4px;
}

.enquiry-form-grid {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.enquiry-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Centered Enquiry Modal (for pages without the system) */
.enquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.enquiry-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.enquiry-modal-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    width: 90%;
    max-width: 850px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.enquiry-modal-overlay.active .enquiry-modal-card {
    transform: translateY(0);
}

.enquiry-modal-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--deep-slate);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.enquiry-modal-card h2 i {
    font-size: 1.8rem;
}

.enquiry-modal-card h2 i.icon-whatsapp {
    color: #25D366;
}

.enquiry-modal-card h2 i.icon-email {
    color: #1a1a1a;
}

.enquiry-modal-card .modal-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--sunset-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.enquiry-modal-card .modal-prompt {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.enquiry-modal-card .enquiry-form-grid {
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.enquiry-modal-card .enquiry-col {
    text-align: left;
}

.enquiry-modal-card .enquiry-footer-note {
    font-size: 0.9rem;
    color: var(--deep-slate);
    opacity: 0.8;
    line-height: 1.6;
    margin: 2rem 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.enquiry-modal-card .enquiry-send-btn {
    width: auto;
    padding: 15px 50px;
    font-size: 1.1rem;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .enquiry-modal-card {
        padding: 2.5rem 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .enquiry-modal-card .enquiry-form-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Custom Checkbox Styling */
.check-container {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-slate);
    line-height: 1.3;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1.8px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.check-container input:checked~.checkmark {
    background-color: var(--sunset-gold);
    border-color: var(--sunset-gold);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked~.checkmark:after {
    display: block;
}

.check-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.enquiry-send-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 800;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.enquiry-send-btn:hover {
    background: linear-gradient(135deg, var(--sunset-gold) 0%, #e3a857 100%);
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(227, 168, 87, 0.4);
}

@media (max-width: 768px) {
    .enquiries-sidebar {
        width: calc(100% - 40px);
        right: 20px;
        /* Moved from left to right */
        bottom: 100px;
    }

    .enquiry-drag-handle {
        display: none;
    }
}

@media (max-width: 480px) {
    .enquiries-sidebar {
        width: calc(100% - 40px);
        left: 20px;
    }

    .enquiry-form-grid {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Main Content Area */
.safaris-main-content {
    margin-left: 0;
    /* Keep centered, enquiries panel floats over */
    padding-top: 0;
}

/* Intro Section */
.safaris-sketch-section {
    padding: 1rem 0 4rem;
    text-align: center;
}

.sketch-intro-container {
    max-width: 950px;
    margin: 0 auto;
}

.sketch-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--deep-slate);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sketch-brackets-box {
    position: relative;
    padding: 1rem 0;
}

.sketch-brackets-box p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--deep-slate);
    opacity: 0.85;
}

.park-jump-trigger {
    color: #B48A32;
    cursor: pointer;
    text-decoration: underline dashed #B48A32;
    text-underline-offset: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.park-jump-trigger:hover {
    color: var(--sunset-gold);
    transform: translateY(-2px);
}

/* Schematic Section */
.safaris-schematic-section {
    background: #f1ede8;
    padding: 8rem 0;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.schematic-layout-centered h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--deep-slate);
}

.select-park-prompt {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--deep-slate);
    opacity: 0.65;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: left;
}

.schematic-split-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.schematic-left-col {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
}

.schematic-right-col {
    flex: 1;
    min-height: 400px;
}

.sketch-park-list {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--deep-slate);
    padding-bottom: 0;
}

.schematic-reveal-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.schematic-reveal-container.visible {
    max-height: 800px;
    opacity: 1;
}

.park-link {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.15rem;
    color: inherit;
    cursor: pointer;
    padding: 6px 0;
    transition: all 0.3s ease;
    opacity: 0.5;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.park-link:hover {
    opacity: 0.8;
    color: var(--sunset-gold);
}

.park-link.active {
    opacity: 1;
    color: var(--sunset-gold);
    transform: translateX(8px);
}

.sketch-month-grid {
    max-width: 500px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .schematic-split-container {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }

    .schematic-left-col {
        flex: 1 1 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .select-park-prompt {
        text-align: center;
    }

    .sketch-park-list {
        align-items: center;
    }

    .park-link {
        text-align: center;
        padding: 8px 15px;
    }

    .park-link.active {
        transform: scale(1.05);
    }

    .schematic-right-col {
        width: 100%;
        min-height: auto;
    }
}

.month-cell {
    aspect-ratio: 16/9;
    background: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.month-cell.excellent {
    background: #a8d5b5;
    color: #2F2F2F;
    border-color: #a8d5b5;
}

.month-cell.good {
    background: #eed082;
    color: #2F2F2F;
    border-color: #eed082;
}

.month-cell.poor {
    background: #d97706;
    color: white;
    border-color: #d97706;
}

.month-cell.closed {
    background: #8c8c8c;
    color: white;
    border-color: #8c8c8c;
}

.sketch-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.8rem;
    font-family: var(--font-primary);
    opacity: 0.7;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.dot.excellent {
    background: #a8d5b5;
}

.dot.good {
    background: #eed082;
}

.dot.poor {
    background: #d97706;
}

.dot.closed {
    background: #8c8c8c;
}

/* Zig-Zag Sections as Separated Strips */
.safaris-zigzag-container {
    background: var(--bg-light);
    /* Allow main background to show through gaps */
    padding: 0;
}

.zigzag-row {
    display: flex;
    min-height: 60vh;
    margin-bottom: 6rem;
    /* Large gap to see background */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

.zigzag-row.reverse {
    flex-direction: row-reverse;
}

.zigzag-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6% 8%;
    background: #ccd3d9;
    /* The nice blue from About page */
}

.zigzag-text-box {
    max-width: 650px;
}

.zigzag-text-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--deep-slate);
}

.zigzag-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-slate);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
}

.zigzag-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.zigzag-bullets-wrapper {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
}

.zigzag-bullets-wrapper h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.zigzag-bullets {
    list-style: none;
    padding: 0;
}

.zigzag-bullets li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.zigzag-bullets li::before {
    content: "•";
    color: #1a1a1a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.zigzag-image-side {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.zigzag-mobile-header {
    display: none;
}

.photo-credit {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-size: 0.6rem;
    color: #000;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 6px;
    border-radius: 2px;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.video-footnote {
    font-size: 0.58rem;
    color: rgba(47, 47, 47, 0.5);
    margin-top: 1.25rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    text-align: center;
}

.video-footnote a {
    color: var(--sunset-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.video-footnote a:hover {
    color: var(--deep-slate);
    text-decoration: underline;
}

/* Travel & Access Info Section */
.safaris-travel-section {
    background: #f1ede8;
    /* Light Tan / Earthy Cream */
    padding: 8rem 0;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.travel-info-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.travel-info-centered h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--earthy-khaki);
    margin-bottom: 4rem;
    font-weight: 700;
}



@media (max-width: 1200px) {
    .enquiries-sidebar {
        display: none;
    }

    /* Hide on tablet/mobile, use bubble */
}

@media (max-width: 900px) {

    .zigzag-row,
    .zigzag-row.reverse {
        flex-direction: column;
        min-height: auto !important;
        margin-bottom: 3rem !important;
    }

    .zigzag-image-side {
        flex: none !important;
        height: 450px !important;
        order: -1 !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background-size: cover !important;
        background-position: center 28% !important;
        background-repeat: no-repeat !important;
        background-color: rgba(0, 0, 0, 0.22) !important;
        background-blend-mode: overlay !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;
    }

    /* Beautiful Dark Overlay with centered typography on top of the picture */
    .zigzag-mobile-header {
        display: block !important;
        position: relative !important;
        background: transparent !important;
        padding: 0 !important;
        color: #ffffff !important;
        z-index: 2;
    }

    .zigzag-mobile-header h2 {
        font-family: 'Playfair Display', serif !important;
        font-size: 2.2rem !important;
        color: #ffffff !important;
        margin: 0 0 0.5rem 0 !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
        border: none !important;
        padding: 0 !important;
    }

    .zigzag-mobile-header .zigzag-intro {
        display: none !important;
    }

    /* Hide redundant desktop titles inside the text block below the picture */
    .zigzag-content-side h2 {
        display: none !important;
    }

    /* Subtitle text in bold below the picture on mobile */
    .zigzag-content-side .zigzag-intro {
        display: block !important;
        font-weight: 700 !important;
        font-size: 1.15rem !important;
        margin-bottom: 1.5rem !important;
        color: var(--deep-slate) !important;
    }

    .zigzag-content-side {
        flex: none !important;
        padding: 2.5rem 1.5rem !important; /* Adjusted for better layout ergonomics */
    }

    .month-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Safaris Landing Page Hero */
.park-hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/images/zimbabwe-safaris-operations-hero.jpg');
    color: #fff;
    text-align: center;
}

.park-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.park-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
}

.park-hero-content h1 {
    font-family: var(--font-primary);
    font-size: clamp(3.5rem, 12vw, 5.5rem);
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.park-hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-style: italic;
    opacity: 0.95;
    letter-spacing: 1px;
}

/* Singular Gateway Panel Styling */
.safari-main-panel {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.safari-main-panel:hover {
    transform: translateY(-8px);
}

.panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    transition: background 0.3s ease;
}

.safari-main-panel:hover .panel-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3.5rem;
    color: #fff;
    z-index: 2;
}

.panel-content h3 {
    font-family: var(--font-primary);
    font-size: 1.85rem;
    color: var(--sunset-gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.panel-content p {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

.panel-content .portal-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--sunset-gold);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.safari-main-panel:hover .portal-cta {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    background: #fff;
    color: var(--deep-slate);
}

@media (max-width: 768px) {
    .safari-main-panel {
        min-height: 500px;
    }

    .panel-content {
        padding: 2rem;
    }

    .panel-content h3 {
        font-size: 2rem;
    }

    /* Keep consistent spacing below Gallery section title on mobile */
    .gallery-cta-wrapper {
        margin-top: 0.75rem !important;
    }

    /* Seamless infinite slider transitions: 1 full-width card on mobile screens */
    .testimonials-track {
        gap: 0 !important;
    }

    .testimonials-track .testimonial-card {
        flex: 0 0 100% !important;
        height: auto !important; /* Allow expansion to prevent clipping text */
        min-height: 380px;
        margin: 0 !important;
        padding: 3rem 1.5rem 1.5rem 1.5rem !important;
    }

    /* Hide tooltips on mobile entirely */
    .mobile-enquiry-hub .hub-label {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
    }

    /* Compact bubble options for mobile */
    .mobile-enquiry-hub .hub-option-wrapper {
        gap: 0 !important;
        cursor: pointer;
        pointer-events: auto !important;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Disable hover zoom/transforms on mobile to prevent sticky touch states */
    .mobile-enquiry-hub .hub-option-wrapper:hover .hub-option-bubble {
        transform: none !important;
    }

    /* Hide floating bubbles when mobile navigation menu, modals, or expanded media player are active */
    body.modal-open .mobile-enquiry-hub,
    body.player-expanded .mobile-enquiry-hub {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.player-expanded {
        overflow: hidden !important;
    }
}