html {
    scroll-behavior: smooth;
}

:root {
    --primary: #1c3323; /* Deep premium green */
    --accent: #d4a373;  /* Warm sand gold */
    --light: #f8f9fa;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #000000;
    overflow-x: hidden;
}

/* Luxury Transparent Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
    z-index: 10;
}

/* Logo Styling */
.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 90px; /* Adjust this number to make your logo bigger or smaller */
    width: auto;  
    object-fit: contain;
    filter: contrast(1.2) brightness(1.1);
    mix-blend-mode: darken;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    margin-right: 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn {
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 1px solid var(--light);
    color: var(--light);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--light);
    color: var(--primary);
}

/* Fullscreen Slider Settings */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Base structural styles for slide text contents */
.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* The Drifting Text Animation */
.slide-content .subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.3s; /* Delays slightly for smooth effect */
}

.slide-content h1 {
    font-family: var(--font-heading);
    color: var(--light);
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.6s; /* Enters right after subtitle */
}

.slide-content .explore-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--light);
    color: var(--light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.9s;
    transition: all 0.4s ease;
}

.slide-content .explore-btn:hover {
    background: var(--light);
    color: var(--primary);
}

/* KEYFRAMES FOR THE VIBE */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px); /* Starts 40px lower */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* Drifts smoothly to its real spot */
    }
}

/* ==========================================
   PORTRAIT & MOBILE RESPONSIVE NAVIGATION FIX
   ========================================== */
@media (max-width: 768px) {
    /* Pins the entire navigation bar right to the bottom of the screen permanently */
    .navbar {
        position: fixed;
        top: auto; 
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem;
        background: #1c3323; /* Solid deep luxury forest green */
        z-index: 9999; /* Makes sure it floats on top of everything else */
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    /* Hides the logo emblem ONLY on mobile navigation bar to save screen space */
    .nav-logo {
        display: none;
    }

    /* Keeps your links lined up horizontally right above the device navigation bar */
    .nav-links {
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 480px; 
        padding: 0 0.5rem;
    }

    .nav-links a {
        color: #ffffff !important;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        margin-right: 0; /* Clears desktop margins so they space evenly */
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    /* Redefine slide-content layout to drop button to bottom zone */
    .slide-content {
        padding: 80px 1.5rem 110px 1.5rem; /* Prevents text colliding with screen edges */
        justify-content: space-between; /* Pushes subtitle/h1 up and button down */
    }

    /* Keeps text elements wrapped neatly together in the upper section */
    .slide-content .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-top: auto; /* Pushes content down towards center visual balance */
        margin-bottom: 0.5rem;
    }

    .slide-content h1 {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: auto; /* Acts as spacer pushing the button underneath it down */
    }

    /* Aligns the primary action right above the sticky green bar */
    .slide-content .explore-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        margin-bottom: 10px; /* Comfortable gap directly above the green nav bar */
    }
}

/* ==========================================
   UPDATED: HIGH-CONTRAST BOMA PAGE STYLES
   ========================================== */

/* Multi-page styling additions */
.active-nav {
    color: var(--accent) !important;
    font-weight: 500;
}

/* Boma Hero Custom Styles */
.boma-hero {
    height: 70vh; /* Bumped up slightly to showcase the rolling fog gradient */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.boma-hero-content {
    max-width: 800px;
    z-index: 2;
}

.boma-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #ffffff;
    margin: 1rem 0 1.5rem 0;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Protects text visibility at top */
}

.boma-hero-content .lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

#boma-subtitle {
    color: var(--accent); /* Keeps your signature sand-gold accent popping */
    font-weight: 500;
}

/* Boma Page Layout Section */
.boma-details-section {
    background-color: #f5f4f0; /* Luxury off-white linen tone */
    padding: 6rem 1.5rem;      /* Soft padding adjustments for mobile */
    display: flex;
    justify-content: center;
}

/* UNSPLIT THE LAYOUT: Turned the old grid wrapper into a clean centered layout */
.boma-single-column-container {
    max-width: 750px; /* Elegant premium line-length for editorial text reading */
    width: 100%;
    margin: 0 auto;   /* Perfectly centers everything down the middle */
}

/* Patched typo: Added the '.' prefix to properly target the container */
.boma-showcase {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Adds balanced space between each story segment block */
}

/* High-contrast Content Typography */
.showcase-card h3 {
    font-family: var(--font-heading);
    font-size: 2.4rem; /* Slightly enhanced for gorgeous luxury emphasis */
    color: #1c3323; /* Crisp dark premium forest accent */
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.showcase-card p {
    color: #2b2b2b; /* Deep luxury charcoal for absolute crystal clear visibility */
    font-size: 1.1rem;
    line-height: 1.85;
}

/* BOMA HERO ENTRANCE ANIMATIONS */
.boma-hero-content #boma-subtitle {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.2s; /* Drops in first */
}

.boma-hero-content .animate-title {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.5s; /* Lifts up second */
}

.boma-hero-content .animate-text {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.8s; /* Glides up last */
}

/* ==========================================
   NEW: HIGH-CONTRAST FOOD STALLS PAGE STYLES
   ========================================== */
.stalls-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.stalls-hero-content {
    max-width: 800px;
    z-index: 2;
}

.stalls-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #ffffff;
    margin: 1rem 0 1.5rem 0;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stalls-hero-content .lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.stalls-hero-content #stalls-subtitle {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.2s;
}

.stalls-hero-content .animate-title {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.5s;
}

.stalls-hero-content .animate-text {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.8s;
}
/* Fix for the invisible subtitle text */
#stalls-subtitle {
    color: var(--accent) !important; /* Forces it to use your premium sand-gold color */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5); /* Adds a faint shadow so it cuts through the plate details */
}

/* Stalls Layout Container - Clean & Centered */
.stalls-section {
    background-color: #f5f4f0; 
    padding: 6rem 4rem;
    display: flex;
    justify-content: center;
}

.stalls-grid-container {
    max-width: 1200px;
    width: 100%;
}

/* The Restructured Wide Menu Grid */
.stalls-grid {
    display: grid;
    /* Automatically handles a gorgeous 3 or 4 column spread depending on screen width */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

/* Floating Interactive Stall Cards */
.stall-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 3.5rem 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}

.stall-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(28, 51, 35, 0.06);
    border-color: rgba(212, 163, 115, 0.3);
}

.stall-icon-box {
    width: 55px;
    height: 55px;
    background-color: #f5f4f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stall-card:hover .stall-icon-box {
    background-color: #1c3323;
}

.stall-icon-box i {
    font-size: 1.4rem;
    color: #1c3323;
    transition: all 0.4s ease;
}

.stall-card:hover .stall-icon-box i {
    color: var(--accent);
}

.stall-card h3 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: #1c3323;
    font-weight: 600;
}

.stall-card p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ==========================================
   HOMEPAGE EXPANSION: EXPERIENCES GRID
   ========================================== */

/* Enables ultra-smooth page gliding when hitting the Explore button */
html {
    scroll-behavior: smooth;
}

.park-experiences-section {
    /* We layer a high-opacity misty linen overlay directly over your background image */
    background-image: linear-gradient(
        rgba(245, 244, 240, 0.92), 
        rgba(245, 244, 240, 0.92)
    ), url('yes1.jpg');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates a premium parallax effect when scrolling past the cards! */
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header .mini-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #1c3323; /* Luxury deep green tone */
    font-weight: 400;
}

/* Wide Dynamic Grid Canvas */
.experiences-wide-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    /* Automatically handles an ultra-clean 3 or 4-row grid wrap depending on viewport size */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Floating Activity Cards */
.experience-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 3.5rem 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(28, 51, 35, 0.06);
    border-color: rgba(212, 163, 115, 0.3);
}

/* Icon Design Profile */
.exp-icon-holder {
    width: 55px;
    height: 55px;
    background-color: #f5f4f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.experience-card:hover .exp-icon-holder {
    background-color: #1c3323;
}

.exp-icon-holder i {
    font-size: 1.4rem;
    color: #1c3323;
    transition: all 0.4s ease;
}

.experience-card:hover .exp-icon-holder i {
    color: var(--accent);
}

/* Typography Rules */
.experience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #1c3323;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-card p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Specialized Interactions for Inner-Page Redirect Cards */
.linkable-card {
    cursor: pointer;
    border: 1px dashed rgba(212, 163, 115, 0.4); /* Dashed golden outline suggests clickability */
}

.inline-arrow {
    font-size: 1.1rem;
    color: #1c3323;
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.linkable-card:hover .inline-arrow {
    transform: translateX(5px);
    opacity: 1;
    color: var(--accent);
}

/* ==========================================
   THE SIGNATURE CREATOR FOOTER STYLES
   ========================================== */
.park-footer {
    background-color: #1c3323; /* Matching our premium deep forest green */
    padding: 3.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #284430;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.footer-copyright {
    color: #b2c2b7; /* Subtle sage green so it sits cleanly in the background */
    font-size: 0.9rem;
    font-family: var(--font-body);
    letter-spacing: 1px;
}

.footer-credit {
    color: #ffffff;
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Making your name glow like royalty */
.creator-signature {
    color: var(--accent); /* Hits them with that premium sand-gold */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-left: 4px;
    text-transform: uppercase;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fun interactive pop when they hover over your credit */
.creator-signature:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(212, 163, 115, 0.4);
    cursor: pointer;
}


/* ==========================================
   PORTRAIT & MOBILE RESPONSIVE NAVIGATION FIX
   ========================================== */
@media (max-width: 768px) {
    /* Pins the entire navigation bar right to the bottom of the screen permanently */
    .navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto; /* Overrides any top alignment */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem;
        background: #1c3323; /* Solid deep luxury forest green */
        z-index: 9999; /* Makes sure it floats on top of everything else */
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15); /* Soft shadow above the bar */
    }

    /* Hides the logo emblem ONLY on mobile navigation bar to save screen space up top */
    .nav-logo {
        display: none;
    }

    /* Keeps your exact row layout from the image perfectly intact at the bottom */
    .nav-links {
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        align-items: flex-end; /* Aligns items nicely with the button */
        width: 100%;
        max-width: 480px; 
        padding: 0 0.2rem;
    }

    /* Keeps your links bright and highly visible against the dark green bar */
    .nav-links a {
        color: rgba(255, 255, 255, 0.6) !important; /* Slightly dimmed inactive links */
        font-size: 0.7rem;       
        letter-spacing: 0.2px;    
        white-space: nowrap;      
        margin-right: 0;          
        text-decoration: none;
        text-transform: uppercase;
        display: flex;
        flex-direction: column;   /* Stacks icon directly on top of text */
        align-items: center;
        gap: 5px;                 /* Space between icon and text */
        transition: all 0.3s ease;
    }
    .nav-links a i {
        font-size: 1.1rem;        /* Makes the icons stand out beautifully */
    }
    .nav-links a.active-nav {
        color: var(--accent) !important; /* Turns the entire link gold */
        font-weight: 600;
        transform: translateY(-2px);     /* Subtle lift effect for the active tab */
    }
    .nav-btn {
        padding: 0.5rem 0.7rem;   
        font-size: 0.75rem;       
        white-space: nowrap;      
        background: transparent;
        border: 1px solid #ffffff;
        color: #ffffff;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        border-radius: 4px;       /* Sleek corner rounding */
    }

    /* Extra padding at the bottom of the page so the final cards don't get blocked by the floating bar */
    body {
        padding-bottom: 90px;
    }

    /* Fix the lead-text so it displays cleanly in white if the background image bugs out */
    .stalls-hero-content .lead-text {
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
        font-size: 1.05rem;
    }

    .slide-content h1, .stalls-hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }
}

/* Floating Back Button styling for top left corner */
.floating-back-btn {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 10000; /* Puts it on top of everything */
    color: #ffffff !important;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
    background: rgba(28, 51, 35, 0.6); /* Subtle dark green glass bubble */
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-back-btn i {
    margin-right: 6px;
}

.floating-back-btn:hover {
    background: rgba(28, 51, 35, 0.9);
    transform: translateX(-3px); /* Subtle premium nudge look */
}