/* ==========================================================================
   Shri Manas Mandir Foundation - Dedicated Lord Hanuman Website Styles
   ========================================================================== */

:root {
    /* Spiritual Sacred Palette */
    --primary-maroon: #7A1C1C;
    --primary-dark: #4A0E0E;
    --primary-light: #9B2C2C;
    
    --gold-accent: #D4AF37;
    --gold-glow: #F59E0B;
    --gold-light: #FCD34D;
    
    --saffron-orange: #E67E22;
    --saffron-bright: #FF5500;
    
    --whatsapp-green: #25D366;
    
    --bg-cream: #FAF5EB;
    --bg-card: #FFFFFF;
    --bg-dark: #1A0F08;
    
    --text-main: #2C221E;
    --text-muted: #5C4E4B;
    --text-light: #F7FAFC;
    
    --border-color: #E2D7C5;
    --border-gold: rgba(212, 175, 55, 0.4);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-marathi: 'Rozha One', serif;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(122, 28, 28, 0.08);
    --shadow-lg: 0 16px 36px rgba(122, 28, 28, 0.15);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--primary-maroon);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

/* FLOATING AUDIO CONTROLLER (TOP-RIGHT) */
.audio-control-floating {
    position: fixed;
    top: 95px;
    right: 20px;
    z-index: 1001;
    background: rgba(122, 28, 28, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid var(--gold-accent);
    padding: 8px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-light);
    box-shadow: 0 8px 24px rgba(122, 28, 28, 0.35);
    transition: var(--transition);
}

.audio-control-floating:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    background: rgba(122, 28, 28, 0.98);
}

.audio-main-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.audio-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-light);
    white-space: nowrap;
}

.audio-main-btn #audioIcon {
    color: var(--gold-accent);
    font-size: 0.95rem;
}

.track-selector-wrapper {
    position: relative;
}

.audio-track-dropdown {
    background: rgba(0, 0, 0, 0.4);
    color: #FFF;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.audio-track-dropdown:hover, .audio-track-dropdown:focus {
    border-color: var(--gold-light);
    background: rgba(0, 0, 0, 0.7);
}

.audio-track-dropdown option {
    background: #4A0E0E;
    color: #FFF;
    padding: 8px;
}

/* Animated Sound Waves */
.sound-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.sound-waves span {
    width: 3px;
    height: 100%;
    background: var(--gold-accent);
    border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out;
}

.sound-waves span:nth-child(1) { animation-delay: 0.1s; }
.sound-waves span:nth-child(2) { animation-delay: 0.3s; }
.sound-waves span:nth-child(3) { animation-delay: 0.2s; }
.sound-waves span:nth-child(4) { animation-delay: 0.4s; }

.sound-waves.paused span {
    animation: none;
    height: 30%;
}

@keyframes wave {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}

/* SOCIAL FLOAT (LEFT SIDE) */
.social-float {
    position: fixed;
    left: 15px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-float a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.social-float a:hover {
    transform: translateX(5px) scale(1.1);
}

.social-float .fb { background: #1877F2; }
.social-float .ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-float .yt { background: #FF0000; }

/* WHATSAPP FLOAT (RIGHT SIDE) */
.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    background: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #1A1008;
    color: #FFF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp:hover .wa-tooltip {
    opacity: 1;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Buttons & Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-dark));
    color: #FFF;
    box-shadow: 0 4px 15px rgba(122, 28, 28, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 28, 28, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-maroon));
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-accent), #B38F24);
    color: #1A1008;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E5C147, var(--gold-accent));
}

.btn-outline-light {
    background: rgba(255,255,255,0.15);
    border: 2px solid #FFF;
    color: #FFF;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: #FFF;
    color: var(--primary-maroon);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-maroon);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 0;
}

.btn-link:hover {
    color: var(--saffron-orange);
    transform: translateX(4px);
}

.btn-block { width: 100%; }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 245, 235, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-accent);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-maroon);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-tag {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-maroon);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-maroon);
    cursor: pointer;
}

/* HERO SWIPER SLIDER */
.hero-slider-section {
    position: relative;
    padding-top: 85px;
    height: 82vh;
    min-height: 550px;
}

.bannerSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.08);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 18, 11, 0.45) 0%, rgba(122, 28, 28, 0.8) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    color: #FFF;
    text-align: center;
    max-width: 880px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.25);
    border: 1px solid var(--gold-accent);
    padding: 6px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.slide-content h1 {
    font-size: 3.4rem;
    color: #FFF;
    margin-bottom: 16px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.slide-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--gold-accent);
}

.swiper-pagination-bullet-active {
    background: var(--gold-accent);
}

/* HANUMAN CHALISA MARQUEE STRIP */
.chalisa-strip {
    background: linear-gradient(90deg, #7A1C1C 0%, #4A0E0E 100%);
    color: #FFF;
    padding: 14px 0;
    border-top: 2px solid var(--gold-accent);
    border-bottom: 2px solid var(--gold-accent);
}

.chalisa-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.marquee-box {
    flex: 1;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
}

.audio-box { flex-shrink: 0; }

.btn-chalisa-play {
    background: linear-gradient(135deg, var(--gold-accent), var(--saffron-orange));
    color: #1A1008;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.btn-chalisa-play:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #E5C147, var(--gold-accent));
}

/* SECTION COMMONS */
.section { padding: 80px 0; }

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

.sub-heading {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold-glow);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-maroon);
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ABOUT MANDIR GRID */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.about-card {
    background: #FFF;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-card.light {
    background: linear-gradient(180deg, #FFFDF7 0%, #FAF2E1 100%);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.about-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* HANUMAN GLORY (TWO-COL) */
.hanuman-glory-section { background: #FFF; }

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.card.hanuman-card {
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    transition: var(--transition);
}

.card.hanuman-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.card-badge-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.title-tag {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-maroon);
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* MANTRA GRID (6 BOXES) */
.mantra-section { background: var(--bg-cream); }

.mantra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.mantra-card {
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mantra-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-accent);
}

.mantra-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.mantra-card .tag {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.mantra-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex: 1;
}

.mantra-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--saffron-orange);
    margin-bottom: 18px;
    flex: 1;
}

.mantra-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-maroon);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mantra-card:hover .mantra-action {
    color: var(--saffron-orange);
}

/* WHAT WE DO - PILLARS GRID */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.pillar-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.pillar-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-img-box img {
    transform: scale(1.08);
}

.pillar-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: var(--gold-accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 2px solid #FFF;
}

.pillar-body {
    padding: 30px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pillar-body h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-maroon);
}

.pillar-list {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.pillar-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pillar-list li i {
    color: var(--gold-glow);
    margin-top: 3px;
    font-size: 0.8rem;
}

/* COLLABORATION BANNER */
.collab-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-maroon));
    color: #FFF;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collab-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.collab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-accent);
    padding: 5px 16px;
    border-radius: 20px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.collab-banner h2 {
    color: #FFF;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.collab-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--gold-accent);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* FOUNDER SECTION */
.founder-section { background: #FFF; }

.founder-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-cream);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.founder-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 380px;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-title-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(122, 28, 28, 0.9);
    color: var(--gold-accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--gold-accent);
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.founder-name {
    font-size: 2.2rem;
    color: var(--primary-maroon);
    margin-bottom: 8px;
}

.decorative-line {
    width: 50px;
    height: 3px;
    background: var(--gold-accent);
    margin-bottom: 20px;
}

.founder-bio {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.founder-quote {
    margin-top: 25px;
    padding: 20px 24px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold-accent);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--primary-dark);
    font-weight: 500;
}

.quote-icon { color: var(--gold-accent); margin-right: 8px; }

/* PHOTO GALLERY (ATTACHED IMAGES) */
.gallery-section { background: var(--bg-cream); }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-gold);
    background: #FFF;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(122, 28, 28, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.lightbox-card {
    max-width: 850px;
    padding: 15px;
    text-align: center;
    background: #1E120B;
}

.lightbox-card img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--gold-light);
    font-family: var(--font-heading);
    margin-top: 10px;
    font-size: 1.1rem;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-dark));
    color: #FFF;
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #FFF;
    font-size: 2.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 35px;
}

/* FOOTER */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--gold-accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-accent);
}

.footer-desc {
    font-size: 0.9rem;
    margin: 15px 0 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links { display: flex; gap: 12px; }

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-accent);
    color: var(--bg-dark);
}

.footer-col ul { list-style: none; }
.links-col ul li { margin-bottom: 10px; }

.links-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.links-col ul li a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.contact-list li i { color: var(--gold-accent); margin-top: 4px; }

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
    font-size: 0.9rem;
}

.newsletter-form input:focus { outline: none; border-color: var(--gold-accent); }

.footer-bottom {
    background: #100804;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-legal { display: flex; gap: 15px; align-items: center; }
.footer-legal a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-accent); }

/* MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
    background: #FFF;
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-card { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-header { text-align: center; margin-bottom: 24px; }

.modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 10px;
}

.modal-header h3 { font-size: 1.5rem; }
.modal-form .form-group { margin-bottom: 18px; }

.modal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.modal-form input, .modal-form select, .modal-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.preset-btn {
    padding: 8px;
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 700;
    color: var(--primary-maroon);
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn.active, .preset-btn:hover {
    background: var(--primary-maroon);
    color: var(--gold-accent);
    border-color: var(--primary-maroon);
}

/* NAV BACKDROP OVERLAY */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* Mobile Nav Drawer Header */
.mobile-nav-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-gold);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-maroon);
}

.mobile-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold-accent);
}

.mobile-close-btn {
    background: rgba(122, 28, 28, 0.1);
    border: none;
    font-size: 1.8rem;
    color: var(--primary-maroon);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-close-btn:hover {
    background: var(--primary-maroon);
    color: var(--gold-accent);
}

.mobile-nav-cta {
    display: none;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.nav-icon {
    width: 22px;
    color: var(--gold-accent);
    margin-right: 6px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .slide-content h1 { font-size: 2.4rem; }
    .founder-card { grid-template-columns: 1fr; padding: 30px; }
    .founder-image-wrapper { height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .header-actions .header-cta-btn { display: none; }
    .menu-toggle { display: block; }
    
    /* Off-Canvas Slide-In Drawer Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #FAF5EB;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1100;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-left: 3px solid var(--gold-accent);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-nav-header, .mobile-nav-cta {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 12px 14px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.7);
        font-size: 0.98rem;
        color: var(--primary-maroon);
        border: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .nav-link:hover, .nav-link.active {
        background: var(--primary-maroon);
        color: var(--gold-accent);
        border-color: var(--primary-maroon);
    }

    .nav-link::after { display: none; }

    /* Audio Controller on Mobile */
    .audio-control-floating {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: space-between;
        border-radius: 25px;
        padding: 8px 16px;
    }

    .audio-track-dropdown {
        max-width: 170px;
    }
}

@media (max-width: 768px) {
    .header-container { height: 75px; }
    .brand-name { font-size: 1.05rem; }
    .brand-tag { font-size: 0.55rem; letter-spacing: 1px; }
    .brand-logo-img { width: 44px; height: 44px; }
    
    .social-float { display: none; }
    .chalisa-container { flex-direction: column; gap: 12px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-content { flex-direction: column; gap: 10px; text-align: center; }
    
    .whatsapp {
        bottom: 85px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }
    
    .wa-tooltip { display: none; }
}

@media (max-width: 480px) {
    .slide-content h1 { font-size: 1.8rem; }
    .hero-slider-section { height: 75vh; }
    .amount-presets { grid-template-columns: repeat(2, 1fr); }
    .audio-label { display: none; }
}
