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

:root {
    /* Enhanced Luxury Palette */
    --maroon:        #6B0D0D;
    --maroon-deep:   #4A0808;
    --gold:          #C8860A;
    --gold-light:    #E8A020;
    --gold-pale:     #F5D37A;
    --ivory:         #FDF6E3;
    --ivory-deep:    #F5E6C8;
    --cream:         #FFF9F0;
    --text-dark:     #1A1A1A;
    --text-med:      #4A4A4A;
    --text-light:    #6E6E6E;

    /* Gradients */
    --grad-gold:     linear-gradient(135deg, #C8860A, #E8A020, #F5D37A, #E8A020, #C8860A);
    --grad-hero:     linear-gradient(180deg, rgba(26, 8, 0, 0.4) 0%, rgba(26, 8, 0, 0) 40%, rgba(26, 8, 0, 0.2) 100%);
    --grad-cta:      linear-gradient(135deg, #6B0D0D 0%, #8B1C1C 50%, #6B0D0D 100%);
    --grad-footer:   linear-gradient(180deg, #1A0800 0%, #0D0400 100%);

    /* Shadows */
    --shadow-soft:   0 10px 40px rgba(0,0,0,0.06);
    --shadow-rich:   0 20px 60px rgba(74, 8, 8, 0.12);

    /* Typography Overhaul */
    --font-heading:  'Cormorant Garamond', serif;
    --font-display:  'Cinzel', serif;
    --font-body:     'Inter', sans-serif;
    --font-ml:       'Noto Sans Malayalam', sans-serif;

    --transition:    all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-padding: 5%;
}

.desktop-only { display: block; }
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
}

/* ═══════════════════════════════════════════════
   RESET & BASE
 ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.85; /* Editorial airy feel */
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* Typography Scale */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-heading); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.25em; font-weight: 600; }

/* ═══════════════════════════════════════════════
   FLOATING DECORATIVE ELEMENTS
═══════════════════════════════════════════════ */
.floating-decor { pointer-events: none; position: fixed; inset: 0; z-index: 0; overflow: hidden; }

.float-elem {
    position: absolute;
    color: var(--gold);
    font-size: 1.2rem;
    opacity: 0.12;
    animation: floatAnim 8s ease-in-out infinite;
}
.f1 { top: 12%; left: 3%;  animation-delay: 0s;    font-size: 1.5rem; }
.f2 { top: 40%; right: 2%; animation-delay: -3s;  font-size: 1rem;   }
.f3 { top: 75%; left: 5%;  animation-delay: -6s;  font-size: 1.8rem; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.12; }
    50%       { transform: translateY(-20px) rotate(10deg); opacity: 0.2; }
}

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; position: relative; }

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

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em; /* Luxury tracking */
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--maroon);
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-med);
    max-width: 720px;
    margin: 24px auto 0;
    line-height: 1.9;
    font-weight: 300;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--grad-gold);
    border-radius: 2px;
    margin: 0 auto;
}

.gold-divider.centered { margin: 16px auto 0; }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn-gold, .btn-outline, .btn-gold-solid, .btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 60px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-gold {
    background: var(--maroon);
    background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(74, 8, 8, 0.3);
    border: 1px solid var(--maroon-deep);
}
.btn-gold:hover {
    background: var(--maroon-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 8, 8, 0.4);
}
@media (max-width: 768px) {
    .btn-gold { 
        padding: 14px 28px;
        font-size: 0.8rem;
    }
}

.btn-outline {
    background: transparent;
    color: var(--maroon);
    border-color: var(--maroon);
}
.btn-outline:hover {
    background: var(--maroon);
    color: #fff;
    transform: translateY(-3px);
}

.btn-gold-solid {
    background: var(--gold-light);
    color: var(--dark-brown);
    border-color: var(--gold-light);
    box-shadow: 0 6px 24px rgba(200,134,10,0.4);
}
.btn-gold-solid:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(200,134,10,0.5);
}

.btn-white-outline {
    background: transparent;
    color: var(--gold-pale);
    border-color: rgba(200,134,10,0.5);
}
.btn-white-outline:hover {
    background: rgba(200,134,10,0.15);
    border-color: var(--gold-light);
    color: #fff;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 24px var(--container-padding);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navbar { 
        padding: 18px 6%;
        transition: var(--transition);
    }
    
    .navbar:not(.scrolled) {
        background: rgba(58, 15, 5, 0.72);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.22);
        border-bottom: 1px solid rgba(255, 215, 120, 0.12);
    }
    
    /* Ensure light logo and menu ONLY when NOT scrolled on mobile */
    .navbar:not(.scrolled) .logo-divider { background: rgba(255,255,255,0.2); }
    .navbar:not(.scrolled) .mobile-menu-btn span { background: #fff; }
}

.navbar.scrolled {
    background: rgba(255, 252, 245, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 25px rgba(26, 8, 0, 0.08);
    border-bottom: 1px solid rgba(200,134,10,0.1);
}

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

.navbar.scrolled .nav-cta {
    background: var(--gold-pale);
    color: var(--maroon-deep) !important;
    box-shadow: 0 4px 15px rgba(200, 134, 10, 0.2);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--text-dark);
}

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

.logo { 
    display: flex;
    align-items: center;
    gap: 16px; 
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}
.navbar:not(.scrolled) .primary-logo { filter: brightness(0) invert(1); }
.navbar:not(.scrolled) .mam-logo { content: url('assets/images/logo-mam-white.png'); filter: none; }

@media (max-width: 768px) {
    .logo-img { height: 42px; }
}

@media (max-width: 768px) {
    .logo-img { height: 38px; }
    .logo { gap: 8px; }
}

.logo-divider {
    width: 1px;
    height: 32px;
    background: rgba(200,134,10,0.3);
    margin: 0 4px;
}
.navbar:not(.scrolled) .logo-divider { background: rgba(255,255,255,0.2); }

.mam-logo {
    height: 48px; /* Slightly smaller for balance */
}

.logo-img:hover { transform: scale(1.04); }

.mobile-menu-logo-wrap {
    display: none;
}

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

.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.92); }

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--text-dark);
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold-light);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
    padding: 9px 24px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(107,13,13,0.35);
    white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,13,13,0.45); }

/* Hamburger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px; height: 18px;
    background: none; border: none; cursor: pointer;
    padding: 0;
}
.mobile-menu-btn span {
    display: block; height: 2px; width: 100%;
    background: var(--maroon);
    border-radius: 1px;
    transition: all 0.35s ease;
    transform-origin: center;
}
.navbar:not(.scrolled) .mobile-menu-btn span { background: #fff; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
.hero-desktop {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

/* Mobile Hero Banner (Dedicated Section) */
.hero-mobile {
    display: none; /* Hide on desktop */
    width: 100%;
    background-color: #110500;
}

@media (max-width: 767px) {
    .hero-desktop { display: none !important; }
    
    .hero-mobile {
        display: block;
        width: 100%;
        padding-top: 80px; /* Space for navbar */
        animation: heroFadeIn 1.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow: hidden;
        line-height: 0;
    }

    .mobile-banner-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: #110500;
        position: relative;
        overflow: hidden;
    }

    .mobile-banner-img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        object-fit: contain;
    }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 480px) {
    /* Adjustments for even smaller screens if needed */
    .hero-mobile { padding-top: 70px; }
}

.hero-layers {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Desktop Hero Images Styling */
.hero-banner-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

@media (max-width: 1024px) {
    .hero-banner-img { object-position: 20% 0%; }
}

.hero-gold-overlay {
    position: absolute; inset: 0;
    /* Light warm golden wash — no heavy darkening */
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 200, 80, 0.06) 0%, transparent 65%),
        linear-gradient(180deg,
            rgba(20, 6, 0, 0.25) 0%,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0) 75%,
            rgba(10, 3, 0, 0.18) 100%
        );
    z-index: 1;
}

/* Particle Canvas Layer */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.2;
    mix-blend-mode: screen;
}

@media (max-width: 768px) {
    .hero-particles { opacity: 0.4; }
    .hero-light-rays { display: none; }
    .hero-glow-spot { opacity: 0.3; filter: blur(40px); }
}

/* Cinematic Light Rays */
.hero-light-rays {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    /* Brightened ray intensities */
    background: conic-gradient(
        from 180deg at 50% 50%,
        transparent 0deg,
        rgba(255, 220, 100, 0.14) 20deg,
        transparent 40deg,
        rgba(255, 220, 100, 0.09) 60deg,
        transparent 80deg,
        rgba(255, 220, 100, 0.14) 120deg,
        transparent 160deg
    );
    animation: raysRotate 70s linear infinite;
    z-index: 1;
    pointer-events: none;
    filter: blur(45px);
    mix-blend-mode: screen;
}

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

/* Divine Glow Spot – Primary orb (warm golden) */
.hero-glow-spot {
    position: absolute;
    top: 10%; left: 50%;
    transform: translateX(-50%);
    width: 90vw; height: 80vw;
    background: radial-gradient(
        ellipse,
        rgba(255, 210, 80, 0.22) 0%,
        rgba(230, 160, 40, 0.14) 35%,
        rgba(180, 100, 10, 0.06) 60%,
        transparent 75%
    );
    filter: blur(70px);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 9s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}

/* Secondary diffused cool golden orb – left side */
.hero-glow-spot::before {
    content: '';
    position: absolute;
    top: 60%; left: -80%;
    width: 70vw; height: 50vw;
    background: radial-gradient(
        ellipse,
        rgba(245, 211, 122, 0.18) 0%,
        transparent 70%
    );
    filter: blur(90px);
    animation: glowPulse 12s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
    from { transform: scale(1);   opacity: 0.65; }
    to   { transform: scale(1.3); opacity: 1;    }
}

/* Festival logo is already embedded in the hero banner image */

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 56px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color 0.3s;
}
.scroll-indicator:hover { border-color: rgba(255,255,255,0.9); }

.scroll-dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(-10px); opacity: 0; }
    50%       { transform: translateY(10px);  opacity: 1; }
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════ */
.about {
    background: var(--ivory);
    padding-bottom: 0 !important;
}

.about-deco-top {
    display: flex; justify-content: center;
    padding-top: 70px;
    margin-bottom: -10px;
}
.kalash-icon {
    height: 110px; width: auto;
    animation: floatKalash 4s ease-in-out infinite;
    filter: drop-shadow(0 6px 16px rgba(200,134,10,0.3));
}
@keyframes floatKalash {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.about .container { text-align: center; padding-bottom: 40px; }

.about-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--maroon);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-med);
    max-width: 820px;
    margin: 24px auto 40px;
    line-height: 2; /* Airy editorial feel */
    font-weight: 400;
}

/* Event Info Box */
.event-info-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 32px;
    margin: 32px auto 40px auto;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    font-size: 1.6rem;
    color: #eb671b; /* Vibrant orange matching reference */
}

.info-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.info-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
}

.info-divider {
    width: 1px;
    height: 48px;
    background: rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .event-info-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }
    .info-item {
        width: 100%;
    }
    .info-divider {
        width: 100%;
        height: 1px;
    }
}

.about-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Quote Band */
.quote-band {
    background: linear-gradient(135deg, var(--maroon) 0%, #500A0A 100%);
    padding: 70px 0;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.quote-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.quote-ornament {
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(200,134,10,0.4);
    line-height: 0.6;
    margin-bottom: 20px;
}
.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-style: italic;
    color: var(--ivory);
    max-width: 920px;
    margin: 0 auto 28px;
    line-height: 1.8;
    font-weight: 300;
}
.quote-author {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--gold-pale);
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   FESTIVAL SCHEDULE
═══════════════════════════════════════════════ */
.schedule {
    background: var(--ivory-deep);
}

.sched-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.sched-day-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.sched-day-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.sched-day-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2px;
}
.sched-day-icon {
    color: #eb671b;
    font-size: 1.25rem;
}
.sched-day-date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--maroon);
    margin-bottom: 16px;
    font-weight: 700;
}
.sched-divider {
    height: 1px;
    width: 100%;
    background: rgba(200,134,10,0.2);
    margin: 20px 0;
}
.sched-divider.full {
    margin: 32px 0 24px 0;
}
.sched-day-event {
    font-size: 1.05rem;
    color: var(--maroon);
    font-weight: 600;
    margin-bottom: 8px;
}
.sched-day-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #eb671b;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sched-prog-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}
.sched-prog-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--maroon);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.sched-prog-title i {
    color: #eb671b;
}
.sched-prog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sched-prog-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.sched-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #eb671b;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 90px;
    flex-shrink: 0;
    text-transform: uppercase;
    padding-top: 2px;
}
.sched-desc {
    font-size: 0.95rem;
    color: var(--text-med);
    line-height: 1.5;
}
.sched-prog-subtitle {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--maroon);
    margin-bottom: 12px;
    font-weight: 700;
}
.sched-prog-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sched-intro-grid {
        grid-template-columns: 1fr;
    }
    .sched-prog-item {
        flex-direction: column;
        gap: 6px;
    }
    .sched-time {
        width: 100%;
    }
    .sched-day-card, .sched-prog-card {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════
   TEMPLE ILLUSTRATION BANNER
═══════════════════════════════════════════════ */
.temple-banner {
    background: var(--ivory);
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}
.temple-illustration {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    opacity: 0.95;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 8px 24px rgba(200,100,0,0.15));
}
.temple-illustration:hover { transform: scale(1.02); }

/* ═══════════════════════════════════════════════
   SPECIAL POOJAS
═══════════════════════════════════════════════ */
.poojas {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
}

.pooja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.pooja-item {
    background: #fff;
    border: 1px solid rgba(200,134,10,0.15);
    border-radius: 12px;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.35s ease;
    cursor: default;
}
.pooja-item:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(107,13,13,0.25);
}
.pooja-item i {
    font-size: 1.3rem;
    color: var(--gold);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.3s;
}
.pooja-item:hover i { color: var(--gold-pale); }
.pooja-item span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.3s;
    letter-spacing: 0.01em;
}
.pooja-item:hover span { color: #fff; }

/* ═══════════════════════════════════════════════
   ACTIVITIES
═══════════════════════════════════════════════ */
.activities { background: var(--cream); }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
    align-items: stretch;
}

.activity-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(200,134,10,0.1);
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
    /* Flexbox column for equal-height, top-aligned structure */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.activity-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.activity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.activity-card:hover::before { transform: scaleX(1); }

/* Fixed-height icon zone — ensures headings always align at same position */
.activity-icon {
    width: 72px; height: 72px;
    min-height: 160px; /* Reserve same vertical space for all icons */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.activity-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Large variant pushes size but stays within fixed zone */
.activity-icon--lg { width: 152px; height: 152px; }
.activity-icon i {
    font-size: 2.5rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}
.activity-card:hover .activity-icon i { transform: scale(1.15) rotate(5deg); }

.activity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--maroon);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.activity-list li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-med);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
}
.activity-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    font-size: 0.45rem;
    color: #eb671b;
    top: 5px;
}

/* ═══════════════════════════════════════════════
   DARSHAN CTA
═══════════════════════════════════════════════ */
.darshan-cta {
    position: relative;
    background: linear-gradient(135deg, #500A0A 0%, #6B0D0D 30%, #8B2020 60%, #6B0D0D 100%);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.darshan-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,134,10,0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Decorative mandala pattern */
.darshan-cta::after {
    content: '✦';
    position: absolute;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: rgba(200,134,10,0.25);
    letter-spacing: 48px;
}

.darshan-content { position: relative; z-index: 2; }

.darshan-icon {
    height: 112px; width: auto;
    margin: 0 auto 24px;
    filter: brightness(10);
    opacity: 0.85;
    animation: floatKalash 4s ease-in-out infinite;
}

.darshan-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    text-transform: uppercase;
    font-weight: 300;
}

.darshan-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--ivory-deep);
    max-width: 820px;
    margin: 0 auto 48px;
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 400;
}

.darshan-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.darshan-note {
    font-size: 0.85rem;
    color: rgba(245,211,122,0.7);
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
    background: #140606; /* Solid elegant dark color */
    padding: 80px 0 0;
    position: relative;
}

.footer-top-wave {
    height: 50px;
    background: linear-gradient(180deg, var(--cream) 0%, transparent 100%);
    margin-top: -50px;
    opacity: 0.1; /* Subtle transition to solid dark */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(200,134,10,0.1);
}

.footer-logo {
    height: 70px; width: auto;
    margin-bottom: 24px;
    opacity: 0.95;
}

.footer-brand-text {
    font-size: 0.88rem;
    color: rgba(253,240,213,0.55);
    line-height: 1.8;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links li {
    font-size: 0.86rem;
    color: rgba(253,240,213,0.55);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    transition: color 0.3s;
}
.footer-links li i { color: var(--gold); font-size: 0.88rem; flex-shrink: 0; margin-top: 2px; }
.footer-links a { color: rgba(253,240,213,0.55); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: rgba(253,240,213,0.55);
    transition: all 0.3s;
    padding: 2px 0;
}
.footer-nav a:hover { color: var(--gold-light); transform: translateX(4px); }
.footer-nav a i { font-size: 0.6rem; color: var(--gold); }

.map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(200,134,10,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(253,240,213,0.35);
}
.footer-love { font-style: italic; }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.85s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: var(--delay, 0s);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .activities-grid { grid-template-columns: 1fr; }
    .activity-icon { min-height: 120px; }
    .activity-icon--lg { width: 120px; height: 120px; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – TABLET (≤1024px)
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .schedule-grid { grid-template-columns: 1fr; }
    .hero-banner-img { object-position: 20% 0%; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – MOBILE (≤768px)
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 2rem; }
    .about-lead { font-size: 1.1rem; }
    
    /* Nav responsive */
    .mobile-menu-btn { display: flex; margin-left: auto; }
    .nav-cta { display: none; }
    .logo { gap: 8px; }
    .logo-img { height: 38px; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    
    .mobile-menu-logo-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 32px 32px;
        margin-top: -24px;
        border-bottom: 1px solid rgba(200,134,10,0.1);
    }
    .mobile-menu-logo {
        width: 85%;
        max-width: 200px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
    }

    .nav-links a { color: var(--maroon) !important; font-size: 1.1rem; font-weight: 500; }

    /* Hero Responsive Redesign */
    .hero { 
        min-height: 80vh; 
        padding-top: 140px;
        background-color: #110500;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .hero-banner-img {
        object-fit: contain;
        width: 75%;
        margin: 0 auto;
        opacity: 0.95;
    }
    .hero-bg-wrap {
        padding-top: 10vh;
        display: flex;
        justify-content: center;
    }
    .hero-particles { opacity: 0.3; }
    .hero-light-rays { display: none; }
    .hero-glow-spot { opacity: 0.2; }

    /* Other Sections */
    .about-title { font-size: 1.8rem; }
    .quote-text { font-size: 1.1rem; }
    .about-buttons, .darshan-buttons { flex-direction: column; gap: 16px; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – SMALL (≤480px)
═══════════════════════════════════════════════ */
@media (max-width: 480px) {
    .section-title { font-size: 1.7rem; }
    .hero-banner-img { width: 85%; }
    .hero { min-height: 75vh; padding-top: 120px; }
    .pooja-grid { grid-template-columns: 1fr; }
    .activities-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 360px) {
    .activities-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   PARKING FAB
═══════════════════════════════════════════════ */
.parking-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(255, 65, 108, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fabPulse 2.5s infinite;
    border: none;
    cursor: pointer;
}

.parking-fab i {
    font-size: 1.2rem;
}

.parking-fab:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 65, 108, 0.5);
    background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
}

@keyframes fabPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 65, 108, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 65, 108, 0);
    }
}

/* Mobile Adjustments for FAB */
@media (max-width: 768px) {
    .parking-fab {
        bottom: 20px;
        right: 20px;
        padding: 12px 22px;
        font-size: 0.85rem;
    }
}
