@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
    /* 
       CINEMATIC DARK 2.0: REFINED RESTORATION
       Deep Navy, Amber Gold, and Liquid Light.
    */
    --color-navy: #020817;       /* The Canvas: Deep Cinematic Navy */
    --color-navy-mid: #050E24;   /* The Elevation: Darker Navy for sections */
    --color-amber: #D4AF37;      /* The Soul: Classic Luminous Gold */
    --color-amber-bright: #F5E6B3; 
    --color-white: #FFFFFF;      /* The Text: High-contrast white */
    --text-ghost: rgba(255,255,255,0.6);

    /* Mapping to structural variable names */
    --bg-base: var(--color-navy);
    --bg-elevated: var(--color-navy-mid);
    
    --navy-deep: var(--color-navy); 
    --navy-light: #0A1931;
    
    --gold: var(--color-amber);
    --gold-bright: var(--color-amber-bright);
    --gold-dark: #8B6508;
    
    --text-main: var(--color-white);
    --text-muted: var(--text-ghost);
    
    /* Modern Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --lux-shadow: 0 12px 40px rgba(0,0,0,0.6);
    --lux-shadow-hover: 0 20px 60px rgba(0,0,0,0.8);

    /* Typography (Keeping the Inter + Playfair pairing) */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-script: 'Clicker Script', cursive;

    --padding-x: clamp(1.5rem, 5vw, 6rem);
    --glass-blur: blur(28px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--bg-base); }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; background: var(--bg-base); }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-weight: 300;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { display: block; width: 100%; height: auto; object-fit: cover; }

/* ========================================================= 
   UTILITIES
   ========================================================= */
.serif { font-family: var(--font-serif); }
.sans { font-family: var(--font-sans); }
.italic { font-style: italic; }
.text-gold { color: var(--gold); }

/* Refined Terracotta Highlight Text */
.glow-text {
    background: linear-gradient(to right, var(--accent-rust), var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; /* Removed the messy dark-mode shadow for a crisp pure light feel */
}

.tracked-wide { letter-spacing: 0.4em; text-transform: uppercase; font-size: 0.7rem; font-weight: 400; }
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--padding-x); position: relative; z-index: 10; }
.section-pad { padding: 15vh 0; }

/* The Unpredictable Pattern Usage - Subliminal Background Texture */
.texture-overlay {
    display: none; /* Removed completely to fix the noise and aesthetic clash with Navy */
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; z-index: 0; pointer-events: none;
}
.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent-sand); }
.glow-2 { bottom: 20%; right: -20%; width: 60vw; height: 60vw; background: var(--accent-rust); opacity: 0.15; }

/* Glowing Cinematic Button */
.btn-cinema {
    position: relative;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--gold-dark);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.4s ease;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.btn-cinema::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gold); z-index: -1;
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.btn-cinema:hover { color: var(--bg-base); border-color: var(--gold); box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
.btn-cinema:hover::before { transform: scaleX(1); }

/* =========================================================
   SC-NAV — Centered split navbar, works on every screen
   ========================================================= */

/* ── Outer shell ── */
.sc-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(1, 9, 21, 0.6);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.5s ease, border-color 0.5s ease;
}

/* Scrolled state */
.sc-nav.nav-scrolled {
    background: rgba(1, 9, 21, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.6);
}

/* ── Inner grid: [links] [logo] [links] ── */
.sc-nav__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    height: 80px;
    position: relative;
}

/* Scrolled – slightly thinner */
.sc-nav.nav-scrolled .sc-nav__inner {
    height: 68px;
}

/* ── CENTER LOGO ── */
.sc-nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.sc-nav__logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.05));
    transition: height 0.4s ease, filter 0.4s ease, transform 0.4s ease;
    /* Let the logo overflow above/below the bar */
    position: relative;
}

.sc-nav__logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.1));
}

.sc-nav.nav-scrolled .sc-nav__logo img {
    height: 78px;
}

/* ── LINK GROUPS ── */
.sc-nav__group {
    display: flex;
    align-items: center;
    gap: 26px;
}

.sc-nav__group--left  { justify-content: flex-end; }
.sc-nav__group--right { justify-content: flex-start; }

/* ── INDIVIDUAL LINKS ── */
.sc-link {
    color: var(--text-muted);
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    transition: color 0.28s ease;
}

/* Gold sweep underline */
.sc-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 50%;
    width: 0; height: 1px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sc-link:hover { color: var(--color-sage); }
.sc-link:hover::after { width: 100%; }

/* ── GIVE pill ── */
.sc-give {
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 40px;
    padding: 6px 16px;
    color: var(--gold-bright) !important;
}
.sc-give::after { display: none; }
.sc-give:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-bright);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

/* ── ACCEPT CHRIST CTA ── */
.sc-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--color-terracotta), #964F36);
    color: #FFFFFF !important;
    padding: 9px 20px;
    border-radius: 50px;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.1em;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(184, 107, 82, 0.25);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sc-cta::after { display: none; }
.sc-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 32px rgba(184, 107, 82, 0.4);
    color: #000 !important;
}

/* ── DROPDOWN ── */
.sc-drop-wrap {
    position: relative;
    /* Hover bridge so cursor doesn't break on gap */
    padding: 26px 0;
    margin: -26px 0;
}

.sc-arrow {
    display: inline-block;
    font-size: 0.7rem;
    vertical-align: middle;
    transition: transform 0.3s ease, color 0.3s ease;
}
.sc-drop-wrap:hover .sc-arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

.sc-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    /* Align to right edge of trigger for left-positioned links */
    right: 0;
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 10px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.sc-drop-wrap:hover .sc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sc-dd-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    border-left: 2px solid transparent;
    transition: all 0.22s ease;
}

.sc-dd-link em {
    font-style: normal;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(212, 175, 55, 0.35);
    transition: color 0.22s ease;
}

.sc-dd-link:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.05);
    border-left-color: var(--gold);
    padding-left: 26px;
}
.sc-dd-link:hover em { color: var(--gold); }

/* ── BURGER (hidden on desktop) ── */
.sc-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: clamp(16px, 4vw, 40px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.sc-bun {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}
.sc-bun--short { width: 16px; }

/* Active (X) state */
.sc-burger.active .sc-bun:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sc-burger.active .sc-bun:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sc-burger.active .sc-bun:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 24px; }

/* ── CINEMATIC MOBILE MENU ── */
.cinema-menu {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--color-navy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 clamp(24px, 7vw, 80px) 50px;
    opacity: 0;
    visibility: hidden;
    /* Wipe in from top */
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.65s cubic-bezier(0.77, 0, 0.18, 1),
                opacity 0.2s ease,
                visibility 0s linear 0.65s;
}

.cinema-menu.open {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0);
    transition: clip-path 0.65s cubic-bezier(0.77, 0, 0.18, 1),
                opacity 0.1s ease;
}

/* Scan-line texture */
.cm-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.013) 2px,
        rgba(255, 255, 255, 0.013) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* Ambient orb */
.cm-glow-orb {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 55vmin;
    height: 55vmin;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Top bar inside menu */
.cm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.cm-logo {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.28));
}

.cm-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.28s ease;
}
.cm-close:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: rotate(90deg);
}

/* The large numbered links */
.cm-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.cm-link {
    display: flex;
    align-items: baseline;
    gap: 18px;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.14);
    line-height: 1.18;
    position: relative;
    transition: color 0.28s ease, transform 0.28s ease;
}

.cm-link::before {
    content: attr(data-index);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--color-sage);
    flex-shrink: 0;
    transition: color 0.28s ease;
    /* Align to text baseline */
    padding-bottom: 0.1em;
}

/* Hover line sweep */
.cm-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0;
    background: linear-gradient(to right, var(--gold), transparent);
    transition: width 0.35s ease;
}

.cm-link:hover {
    color: #fff;
    transform: translateX(10px);
}
.cm-link:hover::before { color: var(--gold); }
.cm-link:hover::after  { width: 60%; }

/* Footer area */
.cm-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 28px;
    position: relative;
    z-index: 1;
}

.cm-address {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

/* Reuse sc-cta in footer */
.cm-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

/* ── btn-cross-anim alias (for any place still using it) ── */
.btn-cross-anim {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000 !important;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 800 !important;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.38);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cross-icon { font-size: 1.2rem; display: inline-block; }
.btn-cross-anim:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.58);
}

@keyframes crossRotate { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet: collapse links, show logo left + burger */
@media (max-width: 1100px) {
    .sc-nav__inner {
        /* Switch to: [logo  ────────── burger] */
        grid-template-columns: auto 1fr auto;
        gap: 0;
    }

    .sc-nav__logo {
        /* Move logo to column 1 */
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
        padding: 0;
    }

    .sc-nav__logo img {
        height: 64px;
    }

    .sc-nav.nav-scrolled .sc-nav__logo img {
        height: 52px;
    }

    /* Hide both nav groups */
    .sc-nav__group--left,
    .sc-nav__group--right {
        display: none;
    }

    /* Burger becomes visible */
    .sc-burger {
        display: flex;
        grid-column: 3;
        position: static;
        transform: none;
        top: auto;
        right: auto;
    }
}

/* Mobile-specific menu link size */
@media (max-width: 640px) {
    .cm-link { font-size: clamp(2rem, 11vw, 3.5rem); }
    .cm-topbar { padding-top: 20px; padding-bottom: 20px; }
    .cm-logo { height: 52px; }
    .cinema-menu { padding-left: 24px; padding-right: 24px; }
}



/* ========================================================= 
   HERO (Cinematic Title Sequence Slider)
   ========================================================= */
.hero-cinema {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.hero-bg-video {
    position: absolute; inset: 0; z-index: 0; background: var(--bg-base);
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* Warmer, more welcoming cinematic grading */
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    filter: sepia(0.2) saturate(0.8) brightness(0.45) contrast(1.1);
    /* Transform initialized in JS for Ken Burns zoom */
}
.hero-vignette {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    /* Softened the vignette slightly to feel more welcoming */
    background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, var(--bg-base) 95%);
}

.slider-progress {
    position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%);
    display: flex; gap: 15px; z-index: 10;
}
.progress-bar {
    width: 40px; height: 3px; background: rgba(255,255,255,0.15);
    border-radius: 2px; overflow: hidden; position: relative;
}
.progress-bar::after {
    content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0%;
    background: var(--gold); transition: width 0s linear;
}
.progress-bar.active::after {
    width: 100%; transition: width 6s linear; /* Matches the 6s slide duration in JS */
}

.hero-content {
    position: relative; z-index: 5; text-align: center; width: 100%;
}
.hero-tag {
    display: block; color: var(--gold); margin-bottom: 20px;
    font-size: 0.8rem; letter-spacing: 0.5em; text-transform: uppercase;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
.hero-title {
    font-size: clamp(4.5rem, 12vw, 12rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 30px;
}

/* Casual Handwriting Style (Alternative to Casual Sunday) */
.handwriting-title {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: clamp(3rem, 7vw, 7rem); /* Reduced size significantly as requested */
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

/* Removed Massive Centered Hero Logo class as it moved to the navbar */

/* Word Float Animation */
.float-word {
    display: inline-block;
    animation: textFloat 5s ease-in-out infinite alternate;
}
.delay-float {
    animation-delay: -2.5s; /* Offsets "Home" from "Karibu" so they breathe independently */
}

@keyframes textFloat {
    0% { transform: translateY(0px) scale(1); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2)); }
    100% { transform: translateY(-10px) scale(1.02); filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6)); }
}

/* Removed old .italic styling as we transitioned to pure handwriting span */

/* The Animated 'O' in Home */
.anim-o {
    display: inline-block;
    color: transparent;
    position: relative;
    /* Strict optical center alignment relative to the surrounding lowercase letters */
    vertical-align: bottom;
    transform: translateY(-10%); /* Drop down significantly to match baseline curve of adjacent 'm' */
    width: 0.52em; 
    height: 0.52em;
    margin: 0 0.05em; 
    border-radius: 50%;
    border: 0.06em solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    /* Stronger, more noticeable rotation */
    animation: gentleBob 4s ease-in-out infinite alternate;
}

/* The Eyes */
.anim-o::before {
    content: '';
    position: absolute;
    top: 32%; left: 50%;
    transform: translateX(-50%); /* Start centered */
    width: 0.08em; height: 0.08em;
    background: transparent;
    border-radius: 50%;
    /* Left eye (-0.12em) and Right eye (+0.12em) relative to the exact center point */
    box-shadow: 
        -0.12em 0 0 0 var(--gold-bright), 
         0.12em 0 0 0 var(--gold-bright),
        -0.12em 0 8px 0 var(--gold-bright), 
         0.12em 0 8px 0 var(--gold-bright);
    /* Welcoming double-blink on a longer loop */
    animation: eyeBlink 5s infinite;
}

/* The Smile */
.anim-o::after {
    content: '';
    position: absolute;
    bottom: 18%; left: 50%;
    transform: translateX(-50%);
    width: 0.3em; height: 0.15em;
    border-bottom: 0.06em solid var(--gold-bright);
    border-radius: 0 0 0.3em 0.3em;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 1));
    /* Soft, warm, glowing smile over time */
    animation: smileWiden 3s ease-in-out infinite alternate;
}

@keyframes gentleBob {
    from { transform: translateY(-10%) rotate(-6deg) scale(0.98); border-color: var(--gold); box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
    to { transform: translateY(-10%) rotate(6deg) scale(1.02); border-color: var(--gold-bright); box-shadow: 0 0 35px rgba(255, 215, 0, 0.8); }
}
@keyframes eyeBlink {
    /* Friendly double-blink: Blinks at 86%, opens at 89%, blinks again at 92%, opens at 95% */
    0%, 84%, 100% { transform: translateX(-50%) scaleY(1); opacity: 1; }
    86%, 92% { transform: translateX(-50%) scaleY(0.1); opacity: 0.5; }
    89%, 95% { transform: translateX(-50%) scaleY(1); opacity: 1; }
}
@keyframes smileWiden {
    /* Smile pulses softly in width and glow for a warm welcoming effect */
    from { width: 0.32em; height: 0.16em; border-bottom-width: 0.05em; border-color: var(--gold); filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6)); }
    to { width: 0.36em; height: 0.18em; border-bottom-width: 0.08em; border-color: var(--gold-bright); filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1)); }
}

.scroll-mouse {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 50px; border: 2px solid rgba(255,255,255,0.2); border-radius: 15px;
    z-index: 10; display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel { width: 4px; height: 10px; background: var(--gold); border-radius: 2px; animation: scrollDrop 2s infinite ease-out;}
@keyframes scrollDrop { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }

/* ========================================================= 
   THE MANDATE (Glass Card Carousel)
   ========================================================= */
.mandate-section { position: relative; }
.mandate-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center;
}
.m-title-area h2 {
    font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 6rem); line-height: 1.1; font-weight: 400;
}
.m-title-area p { color: var(--text-muted); font-size: 1.2rem; margin-top: 30px; line-height: 1.8; max-width: 500px;}

.glass-card {
    background: rgba(1, 9, 21, 0.6);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 60px 50px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--lux-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lux-shadow-hover);
}
/* Refined Gold edge accent */
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05); pointer-events: none;
}
.gc-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }
.gc-title { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 15px; color: var(--text-main); }
.gc-text { color: var(--text-muted); line-height: 1.7; }

/* ========================================================= 
   MINISTRIES (Horizontal Scrolling 3D Gallery)
   ========================================================= */
.ministries-header { margin-bottom: 80px; text-align: center; }

/* We will CSS-grid these but animate them heavily */
.ministry-gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.m-card {
    position: relative; height: 60vh; border-radius: 12px; overflow: hidden;
    cursor: pointer;
}
.m-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) brightness(0.35); transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.m-card:hover img { filter: grayscale(0%) brightness(0.7); transform: scale(1.05); }

.m-card-content {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    z-index: 2; transform: translateY(20px); transition: transform 0.4s ease;
}
.m-card:hover .m-card-content { transform: translateY(0); }

.m-number { font-family: var(--font-sans); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.2em; display: block; margin-bottom: 10px; }
.m-name { font-family: var(--font-serif); font-size: 2.5rem; color: var(--text-main); line-height: 1; margin-bottom: 10px; }
.m-desc { color: var(--text-muted); font-size: 0.95rem; opacity: 0; transition: opacity 0.4s ease; height: 0; display: block;}
.m-card:hover .m-desc { opacity: 1; height: auto; margin-top: 15px; }

/* ========================================================= 
   FOOTER (Deep Cinematic Void + True Color Logo)
   ========================================================= */
.footer-cinema {
    background: var(--bg-elevated);
    padding: 150px 0 50px;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative; overflow: hidden;
}
.footer-cinema .ambient-glow { top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.05; }

.ft-content { text-align: center; position: relative; z-index: 5; margin-bottom: 100px; }
.ft-msg { font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 7rem); font-weight: 300; line-height: 1.1; margin-bottom: 50px; }
.ft-msg i { color: var(--gold); }

/* The True Color Logo, proudly displayed in center */
.ft-true-logo { margin-bottom: 80px; display: inline-block; filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.1)); }
.ft-true-logo img { height: 120px; width: auto; } /* NO CSS FILTERS */

.ft-nav { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; }
.ft-nav a { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.ft-nav a:hover { color: var(--gold); }

.ft-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 40px; text-align: center; color: rgba(255,255,255,0.2); font-size: 0.8rem; letter-spacing: 0.1em; }

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .nav-glass {
        padding: 0 20px;
        width: 95%;
    }
    .nav-links, .nav-spacer-logo {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .brand-logo-center {
        left: 20px;
        transform: translateY(-50%);
    }
    .brand-logo-center img {
        height: 70px !important;
    }
}

@media (max-width: 1024px) {
    .mandate-grid { grid-template-columns: 1fr; }
    .ministry-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3.5rem; }
    .ministry-gallery { grid-template-columns: 1fr; }
    .ft-nav { flex-direction: column; gap: 20px; }
    .ft-true-logo img { height: 80px; }
}


/* =========================================================
   MARQUEE TICKER STRIP
   ========================================================= */
.marquee-strip {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #01050F 0%, #050E24 50%, #01050F 100%);
    border-top: 1px solid rgba(212,175,55,0.15);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    padding: 18px 0;
    position: relative;
    z-index: 10;
}

/* Fade edges */
.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(to right, #01050F 0%, transparent 100%); }
.marquee-strip::after  { right: 0; background: linear-gradient(to left, #01050F 0%, transparent 100%); }

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
}

.marquee-track span {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    padding: 0 20px;
    transition: color 0.3s ease;
}

.marquee-track:hover { animation-play-state: paused; }
.marquee-track span:hover { color: var(--gold); }

.marquee-track .sep {
    color: var(--gold);
    opacity: 0.6;
    padding: 0;
    letter-spacing: 0;
    font-size: 0.55rem;
}

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


/* =========================================================
   LEADERSHIP SECTION
   ========================================================= */
.leadership-section {
    padding-top: 0;
    overflow: hidden;
}

.leadership-label {
    padding-bottom: 60px;
    padding-top: 15vh;
}

.leadership-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: stretch;
}

/* IMAGE PANEL */
.ls-photo-panel {
    position: relative;
    overflow: hidden;
}

.ls-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.7) saturate(1.1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.02);
}

.ls-photo-panel:hover .ls-photo {
    transform: scale(1.06);
}

/* Cinematic overlay gradient */
.ls-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        transparent 60%,
        var(--bg-base) 100%
    ), linear-gradient(
        to top,
        rgba(0,0,0,0.7) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Floating name badge on photo */
.ls-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 10px;
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ls-badge-title {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.ls-badge-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #fff;
}

/* BIO PANEL */
.ls-bio-panel {
    background: var(--bg-elevated);
    padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Subtle vertical gold accent line */
.ls-bio-panel::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-dark), transparent);
    opacity: 0.4;
}

.ls-bio-name {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 300;
}

.ls-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-bottom: 30px;
}

.ls-bio-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 500px;
    margin-bottom: 50px;
}

/* Stats row */
.ls-stats {
    display: flex;
    gap: 50px;
}

.ls-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ls-stat-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
}

.ls-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
    .leadership-split { grid-template-columns: 1fr; }
    .ls-photo-panel { min-height: 70vw; }
    .ls-photo-overlay { background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%); }
    .ls-bio-panel::before { display: none; }
    .ls-stats { gap: 30px; }
}


/* =========================================================
   CORE VALUES SECTION
   ========================================================= */

.cv-header {
    margin-bottom: 70px;
}

.cv-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.cv-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

/* Gold corner accent */
.cv-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 70%);
    border-radius: 0 16px 0 0;
    pointer-events: none;
}

/* Bottom gold reveal on hover */
.cv-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv-card:hover {
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.07);
}
.cv-card:hover::after { width: 100%; }

.cv-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
    filter: grayscale(0.3);
    transition: transform 0.4s ease, filter 0.4s ease;
}
.cv-card:hover .cv-icon { transform: scale(1.15); filter: grayscale(0); }

.cv-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 500;
}

.cv-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}

@media (max-width: 1100px) {
    .cv-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .cv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .cv-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   NEXT GEN / PROGRAMS SECTION
   ========================================================= */
.nextgen-section {
    background: linear-gradient(180deg, var(--bg-base) 0%, #050403 50%, var(--bg-base) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.nextgen-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.ng-header {
    margin-bottom: 70px;
}

.ng-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.ng-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Featured / highlighted card */
.ng-card--featured {
    background: linear-gradient(145deg, rgba(212,175,55,0.06) 0%, rgba(0,0,0,0) 100%);
    border-color: rgba(212,175,55,0.2);
}

.ng-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.06);
}

/* Subtle glow pulse on featured */
.ng-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 30px rgba(212,175,55,0.04);
    pointer-events: none;
}

.ng-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ng-num {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(212,175,55,0.4);
}

.ng-icon-wrap {
    font-size: 1.6rem;
    transition: transform 0.4s ease;
}
.ng-card:hover .ng-icon-wrap { transform: scale(1.2) rotate(-6deg); }

.ng-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 400;
    line-height: 1.1;
}

.ng-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex: 1;
}

.ng-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-top: auto;
    transition: gap 0.3s ease, color 0.3s ease;
}

.ng-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}
.ng-link:hover span { transform: translateX(5px); }
.ng-link:hover { color: var(--color-terracotta); }

/* Scripture quote bar */
.ng-verse {
    border-top: 1px solid rgba(0,0,0,0.04);
    padding-top: 50px;
    text-align: center;
}

.ng-verse-text {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    display: inline-block;
}

@media (max-width: 1024px) {
    .ng-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .ng-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MINISTRIES TILE GRID (Bento Box)
   ========================================================= */
.ministry-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.min-b-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    background: var(--bg-elevated);
    border: var(--glass-border);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.min-b-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 25px 70px rgba(0,0,0,0.8);
}

.min-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.min-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.min-square {
    grid-column: span 1;
    grid-row: span 1;
}

.min-b-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
    transition: transform 0.8s ease, filter 0.6s ease;
    transform: scale(1.02);
}

.min-b-card:hover .min-b-img {
    transform: scale(1.08);
    filter: brightness(0.65) saturate(1.1);
}

.min-b-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    transition: background 0.6s ease;
}

.min-b-card:hover .min-b-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.min-b-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.min-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    background: rgba(1, 9, 21, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.min-b-card:hover .min-num {
    transform: scale(1.1);
    border-color: var(--gold);
    background: rgba(1, 9, 21, 0.9);
}

.min-b-text {
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.min-b-card:hover .min-b-text {
    transform: translateY(0);
}

.min-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.1;
}

.min-wide .min-name { font-size: 2.8rem; }
.min-square .min-name { font-size: 1.8rem; }

.min-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
    max-width: 90%;
}

@media (max-width: 900px) {
    .ministry-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
    }
    .min-wide { grid-column: span 2; grid-row: span 1; min-height: 350px; }
    .min-tall { grid-column: span 1; grid-row: span 2; min-height: 480px; }
    .min-square { grid-column: span 1; grid-row: span 1; min-height: 320px; }
}

@media (max-width: 600px) {
    .ministry-bento-grid { grid-template-columns: 1fr; }
    .min-wide, .min-tall, .min-square { grid-column: span 1; grid-row: span 1; min-height: 300px; }
}

/* =========================================================
   VISIT / CONTACT SECTION
   ========================================================= */
.visit-section {
    position: relative;
    overflow: hidden;
    background: var(--color-bone);
}

.visit-section::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50vw; height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 98, 84, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.visit-info .visit-details {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
}

.visit-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    border-bottom: 2px solid var(--color-bone);
    transition: background 0.3s ease;
    gap: 20px;
}

.visit-detail-row:last-child { border-bottom: none; }
.visit-detail-row:hover { background: rgba(84, 98, 84, 0.03); }

.vd-label {
    font-size: 0.58rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.vd-val {
    font-size: 0.9rem;
    color: var(--text-main);
    text-align: right;
}

.visit-ctas {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Glassmorphism info card on right */
.visit-map-card {
    background: var(--bg-elevated);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--lux-shadow);
}

.visit-map-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 98, 84, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.vm-pin-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-bone);
}

.vm-pin-icon { font-size: 1.5rem; }

.vm-pin-label {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-main);
}

.vm-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.vm-times {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 36px;
}

.vm-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.82rem;
    gap: 12px;
    transition: background 0.3s ease;
}

.vm-day:last-child { border-bottom: none; }
.vm-day:hover { background: rgba(84, 98, 84, 0.04); }
.vm-day span:first-child { color: var(--text-muted); font-weight: 500; text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.15em; }
.vm-day span:last-child { color: var(--text-main); text-align: right; }

.vm-cta {
    width: 100%;
    justify-content: center;
}

@media (max-width: 860px) {
    .visit-grid { grid-template-columns: 1fr; }
    .visit-ctas .btn-cinema { margin-left: 0 !important; }
}


/* =========================================================
   NAVY PALETTE VARIABLES (for new sections)
   ========================================================= */
/* Purged redundant Navy Variables to maintain Sage & Bone Integrity */


/* =========================================================
   GALLERY SECTION (Cinematic Accordion)
   ========================================================= */
.gallery-section {
    background: linear-gradient(180deg, var(--bg-base) 0%, #01050F 50%, #050E24 100%);
    overflow: hidden;
    padding-bottom: 120px;
}

.gal-section-header {
    margin-bottom: 60px;
}

/* Container for accordion slices */
.gal-accordion {
    display: flex;
    gap: 8px;
    height: 600px;
    width: 100%;
}

.gal-slice {
    position: relative;
    flex: 1; /* Default equal distribution */
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s ease;
    border: var(--glass-border);
}

.gal-slice img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: sepia(0.04) brightness(0.9);
    transition: filter 0.7s ease, transform 0.8s ease;
    transform: scale(1.05);
}

/* Focus State: Expand the hovered slice, fade others */
.gal-accordion:hover .gal-slice {
    flex: 0.5;
}
.gal-accordion:hover .gal-slice:hover {
    flex: 3;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.1);
}

.gal-accordion:hover .gal-slice:hover img {
    filter: brightness(1) saturate(1) !important;
    transform: scale(1.0);
}

/* Slice Content Container */
.gal-slice-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
    transition: padding 0.5s ease;
}

.gal-slice-num {
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gal-slice-content h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 8px 0;
    white-space: nowrap;
    opacity: 0.8;
    transition: font-size 0.5s ease, opacity 0.5s ease;
}

.gal-slice-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    opacity: 0; /* Hidden by default */
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Content transformations on hover */
.gal-accordion:hover .gal-slice:hover .gal-slice-content h3 {
    font-size: 2rem;
    opacity: 1;
}

.gal-accordion:hover .gal-slice:hover .gal-slice-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s; /* Slight stagger */
}

@media (max-width: 900px) {
    .gal-accordion { height: 500px; flex-direction: column; }
    .gal-slice { flex: 1; width: 100%; }
    .gal-accordion:hover .gal-slice:hover { flex: 3; }
    .gal-slice-content h3 { white-space: normal; }
}


/* =========================================================
   UPCOMING EVENTS SECTION (Premium Image Bento)
   ========================================================= */
.events-bento-section {
    background: var(--color-bone);
    position: relative;
    padding-bottom: 120px;
}

.events-bento-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60vw; height: 100%;
    background: radial-gradient(ellipse at top right, rgba(84, 98, 84, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Bento Grid Layout */
.ev-bento-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr 1.2fr;
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.ev-b-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: var(--navy-deep);
}

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

.ev-tall {
    grid-column: span 1;
    grid-row: span 2;
}

/* Image Backgrounds & Hover Effects */
.ev-b-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.8);
    transition: transform 0.8s ease, filter 0.6s ease;
    transform: scale(1.02);
}

.ev-b-card:hover .ev-b-img {
    transform: scale(1.08);
    filter: brightness(0.65) saturate(1.1);
}

/* Cinematic Gradient Overlay */
.ev-b-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 9, 21, 0.95) 0%, rgba(1, 9, 21, 0.3) 50%, transparent 100%);
    transition: background 0.6s ease;
}

.ev-b-card:hover .ev-b-overlay {
    background: linear-gradient(to top, rgba(1, 9, 21, 0.98) 0%, rgba(1, 9, 21, 0.5) 60%, rgba(1, 9, 21, 0.1) 100%);
}

/* Content Container */
.ev-b-content {
    position: absolute;
    inset: 0;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none; /* Let clicks pass to card */
}

/* Floating Date Pill */
.ev-b-date {
    position: absolute;
    top: 25px; right: 25px;
    background: rgba(3, 12, 26, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.ev-b-card:hover .ev-b-date {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(3, 12, 26, 0.95);
    transform: translateY(-3px);
}

.ev-b-date span {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ev-b-date strong {
    display: block;
    font-size: 1.6rem;
    font-family: var(--font-serif);
    color: #fff;
    line-height: 1;
}

/* Text and Labels */
.ev-b-text {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.ev-b-card:hover .ev-b-text {
    transform: translateY(-5px);
}

.ev-b-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ev-b-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.ev-b-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 95%;
    opacity: 0.8;
}

.ev-b-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 22px;
    transition: color 0.3s ease;
    pointer-events: auto; /* Enable clicks */
}

.ev-b-link span { transition: transform 0.3s ease; display: inline-block; }
.ev-b-link:hover { color: #fff; }
.ev-b-link:hover span { transform: translateX(5px); }

/* Card Modifiers for typography scaling */
.ev-large .ev-b-text h3 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}
.ev-large .ev-b-text p {
    font-size: 1.05rem;
    max-width: 85%;
}

.ev-tall .ev-b-text h3 {
    font-size: 1.8rem;
}

/* Responsive Rules */
@media (max-width: 1080px) {
    .ev-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    .ev-large { grid-column: span 2; grid-row: span 1; min-height: 480px; }
    .ev-tall { grid-column: span 1; grid-row: span 2; min-height: 400px; }
}

@media (max-width: 768px) {
    .ev-bento-grid { grid-template-columns: 1fr; }
    .ev-large, .ev-tall { grid-column: span 1; grid-row: span 1; min-height: 420px; }
    .ev-b-card { min-height: 380px; }
}


/* =========================================================
   SERMONS SECTION (Netflix Billboard)
   ========================================================= */
.sermons-section {
    background: var(--navy-deep);
    position: relative;
    padding-bottom: 80px;
}

/* 100% Width Billboard Player Hero */
.serm-billboard {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: flex-end; /* Text sits at bottom */
    padding-bottom: 120px; /* Space for the row overlapping */
}

.serm-bg-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.85);
    z-index: 1;
}

/* Beautiful cinematic gradient fading up from navy deep */
.serm-billboard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(1,9,21,0.7) 20%, rgba(1,9,21,0.2) 60%, rgba(1,9,21,0.5) 100%),
                linear-gradient(90deg, rgba(1,9,21,0.8) 0%, transparent 60%);
    z-index: 2;
}

.serm-billboard-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    width: 100%;
    margin: 0; 
}

.serm-new-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #c92a2a, #8b1313); /* Netflix-esque red badge */
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(201, 42, 42, 0.4);
}

.serm-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 16px;
}

.serm-hero-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.serm-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    max-width: 600px;
}

.serm-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-play {
    background: #fff;
    color: #000;
    display: flex; align-items: center;
}
.btn-play:hover {
    background: rgba(255,255,255,0.8);
    color: #000;
}

.btn-outline {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
}

/* The Horizontal "Up Next" Row */
.serm-row-section {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Overlaps the bottom of the hero video slightly */
}

.serm-row-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    padding-left: 10px;
}

.serm-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.serm-card {
    cursor: pointer;
    transition: transform 0.4s ease;
}

.serm-card:hover {
    transform: translateY(-8px);
}

.serm-card-thumb {
    position: relative;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.serm-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.serm-card:hover .serm-card-thumb img {
    filter: brightness(0.85);
    transform: scale(1.05);
}

.serm-card-play {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(1, 9, 21, 0.4);
}

.serm-card:hover .serm-card-play {
    opacity: 1;
    transform: scale(1);
}

.serm-card-time {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}

.serm-card-title {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 6px;
    line-height: 1.3;
}

.serm-card-meta {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .serm-row { grid-template-columns: repeat(3, 1fr); }
    .serm-card:nth-child(4) { display: none; }
}
@media (max-width: 768px) {
    .serm-row { grid-template-columns: repeat(2, 1fr); }
    .serm-card:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
    .serm-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px;}
    .serm-card { min-width: 85vw; scroll-snap-align: center; }
    .serm-card:nth-child(3), .serm-card:nth-child(4) { display: block; }
}

/* =========================================================
   FIND YOUR TRIBE (Ministries Section / Spheres)
   ========================================================= */
.spheres-section {
    position: relative;
    background: var(--navy-mid);
    z-index: 5; /* Sit over the body texture overlay */
    overflow: hidden;
}

.spheres-section::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60vw; height: 100%;
    background: radial-gradient(ellipse at bottom right, rgba(212,175,55,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.spheres-section .container {
    position: relative;
    z-index: 2;
}
