/* ==========================================================================
   Traditional Maharashtrian Wedding Design System
   Peshwai Gold, Paithani Crimson, Emerald Green & Saffron Palette
   ========================================================================== */

:root {
    /* Color Tokens */
    --color-gold-primary: #D4AF37;
    --color-gold-bright: #FFD700;
    --color-gold-dark: #B8860B;
    --color-crimson-deep: #800020;
    --color-crimson-bright: #B22222;
    --color-emerald-green: #0A5C36;
    --color-saffron: #E65100;
    --color-marigold-orange: #FF7F11;
    --color-marigold-yellow: #FFD000;
    --color-bg-ivory: #FFFDF7;
    --color-bg-card: #FFFFFF;
    --color-text-dark: #2B1810;
    --color-text-muted: #5C4033;

    /* Fonts */
    --font-heading: 'Rozha One', 'Yatra One', 'Cinzel Decorative', serif;
    --font-handwriting: 'Kalam', cursive;
    --font-body: 'Hind', 'Montserrat', sans-serif;

    /* Shadow & Border Radius */
    --shadow-card: 0 10px 30px rgba(128, 0, 32, 0.08);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
    --border-gold-zari: 2px solid var(--color-gold-primary);
    --radius-card: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--color-bg-ivory);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(128, 0, 32, 0.03) 0%, transparent 20%);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 90px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Decorative Background & Toran Garland
   ========================================================================== */

#marigold-petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.falling-petal {
    position: absolute;
    background: radial-gradient(circle, var(--color-marigold-yellow) 40%, var(--color-marigold-orange) 100%);
    border-radius: 50% 0 50% 50%;
    opacity: 0.7;
    animation: floatPetal 12s linear infinite;
}

@keyframes floatPetal {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(105vh) rotate(720deg);
        opacity: 0;
    }
}

.toran-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    pointer-events: none;
}

.toran-svg {
    width: 100%;
    height: 90px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.toran-elements .mango-leaf {
    transform-origin: top center;
    animation: leafSway 4s ease-in-out infinite alternate;
}

@keyframes leafSway {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

.toran-footer {
    width: 100%;
    margin-bottom: 20px;
}

/* ==========================================================================
   Navigation Bar & Audio Player Toggle
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 253, 247, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
    padding: 12px 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

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

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-crimson-deep);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chandrakor-mini {
    color: var(--color-crimson-bright);
    font-size: 1.2rem;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: var(--color-crimson-bright);
}

.btn-rsvp-nav {
    background: linear-gradient(135deg, var(--color-crimson-deep), var(--color-crimson-bright));
    color: var(--color-gold-bright) !important;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--color-gold-bright);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.2);
}

.btn-rsvp-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(128, 0, 32, 0.3);
}

/* Audio Player Toggle */
.audio-control-bar {
    display: flex;
    align-items: center;
}

.audio-btn {
    background: linear-gradient(135deg, #FFF5E6, #FFE0B2);
    border: 1.5px solid var(--color-gold-primary);
    color: var(--color-crimson-deep);
    padding: 6px 16px;
    border-radius: 24px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.audio-btn:hover {
    background: var(--color-gold-bright);
    color: var(--color-crimson-deep);
    transform: scale(1.03);
}

.audio-btn.playing {
    background: linear-gradient(135deg, var(--color-emerald-green), #1B5E20);
    color: var(--color-gold-bright);
    border-color: var(--color-gold-bright);
}

.sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.sound-wave span {
    width: 3px;
    height: 100%;
    background-color: currentColor;
    border-radius: 2px;
    opacity: 0.4;
}

.audio-btn.playing .sound-wave span {
    opacity: 1;
    animation: soundWaveAnim 1.2s ease-in-out infinite alternate;
}

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

@keyframes soundWaveAnim {
    0% { height: 4px; }
    100% { height: 14px; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-crimson-deep);
    cursor: pointer;
}

/* ==========================================================================
   Side Decorative Brass Samai Lamps & Banana Stems
   ========================================================================== */

.samai-container {
    position: fixed;
    bottom: 20px;
    width: 70px;
    height: 280px;
    z-index: 50;
    pointer-events: none;
}

.left-samai { left: 15px; }
.right-samai { right: 15px; }

.samai-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.flame-group {
    transform-origin: 40px 70px;
    animation: flameFlicker 2s infinite alternate ease-in-out;
}

@keyframes flameFlicker {
    0% { transform: scale(1) rotate(-2deg); opacity: 0.9; }
    50% { transform: scale(1.08) rotate(2deg); opacity: 1; filter: drop-shadow(0 0 12px #FF5722); }
    100% { transform: scale(0.95) rotate(-1deg); opacity: 0.85; }
}

/* Side Banana Stems */
.banana-stem {
    position: absolute;
    width: 80px;
    height: 500px;
    z-index: 10;
    pointer-events: none;
    opacity: 0.85;
}

.left-banana { top: 120px; left: 0; }
.right-banana { top: 120px; right: 0; }

.banana-stem svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, #FFFDF7 0%, #FFF5E6 50%, #FFFDF7 100%);
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 253, 247, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.devanagari-blessing {
    margin-bottom: 20px;
}

.ganesh-icon {
    font-size: 2.8rem;
    color: var(--color-crimson-deep);
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
}

.shloka {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-crimson-deep);
    font-weight: 700;
    letter-spacing: 1px;
}

.sub-shloka {
    font-family: var(--font-handwriting);
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.chandrakor-large {
    margin: 15px 0;
    position: relative;
    display: inline-block;
}

.moon-shape {
    font-size: 3.5rem;
    color: var(--color-crimson-deep);
    line-height: 1;
    display: block;
    transform: rotate(-15deg);
    filter: drop-shadow(0 2px 8px rgba(128, 0, 32, 0.3));
}

.bindi-dot {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: var(--color-crimson-bright);
}

.couple-names {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--color-crimson-deep);
    margin: 10px 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ampersand {
    font-family: var(--font-handwriting);
    font-size: 2.2rem;
    color: var(--color-gold-dark);
}

.family-invitation {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 20px auto;
}

.wedding-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.badge-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold-dark);
    letter-spacing: 2px;
}

.wedding-date, .wedding-location-tag {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

.wedding-date i, .wedding-location-tag i {
    color: var(--color-saffron);
    margin-right: 8px;
}

/* Countdown Card */
.countdown-card {
    background: rgba(255, 255, 255, 0.95);
    border: var(--border-gold-zari);
    border-radius: var(--radius-card);
    padding: 24px 30px;
    max-width: 600px;
    margin: 30px auto 25px auto;
    box-shadow: var(--shadow-card), var(--shadow-gold);
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-crimson-deep);
    margin-bottom: 16px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.time-box {
    background: linear-gradient(135deg, #FFF8E7, #FFE8B8);
    border: 1px solid var(--color-gold-primary);
    border-radius: 12px;
    padding: 12px 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.time-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-crimson-deep);
    display: block;
    line-height: 1;
}

.time-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.muhurta-time-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-saffron);
    margin-top: 14px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-crimson-deep), var(--color-crimson-bright));
    color: var(--color-gold-bright);
    box-shadow: 0 6px 20px rgba(128, 0, 32, 0.3);
    border: 1px solid var(--color-gold-bright);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--color-crimson-deep);
    border: 2px solid var(--color-gold-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background: var(--color-bg-ivory);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    margin-top: 40px;
    max-width: 850px;
    width: 100%;
}

.gold-zari-frame {
    border: 6px double var(--color-gold-primary);
    border-radius: 20px;
    padding: 10px;
    background: #FFFFFF;
    box-shadow: var(--shadow-card);
}

.hero-img {
    border-radius: 14px;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Dividers */
.rangoli-divider {
    height: 40px;
    background-image: radial-gradient(var(--color-gold-primary) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: 0.4;
    margin: 40px 0;
}

.marigold-flower-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
}

.marigold-flower-divider .line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
}

.marigold-flower-divider .flower-icon {
    font-size: 1.4rem;
}

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

.sub-title {
    font-family: var(--font-handwriting);
    font-size: 1.4rem;
    color: var(--color-saffron);
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-crimson-deep);
    margin-top: 4px;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 10px auto 0 auto;
}

/* ==========================================================================
   COUPLE STORY SECTION
   ========================================================================== */

.story-section {
    background: #FFFFFF;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.story-card {
    background: var(--color-bg-ivory);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.story-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold-primary);
}

.story-badge {
    background: var(--color-crimson-deep);
    color: var(--color-gold-bright);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.story-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-crimson-deep);
}

.story-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-bottom: 14px;
}

.story-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.story-center-card {
    text-align: center;
    padding: 20px;
}

.rangoli-mandala-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
}

.rangoli-mandala {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF3E0 0%, #FFE0B2 100%);
    border: 3px dashed var(--color-gold-primary);
    animation: rotateMandala 25s linear infinite;
}

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

.love-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--color-crimson-bright);
}

.story-meet-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-crimson-deep);
    margin-bottom: 10px;
}

.story-meet-text {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.8;
}

/* ==========================================================================
   WEDDING SCHEDULE TIMELINE SECTION
   ========================================================================== */

.schedule-section {
    background: var(--color-bg-ivory);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--color-gold-primary), var(--color-crimson-deep), var(--color-gold-primary));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 45px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 15px;
    width: 50px;
    height: 50px;
    background: var(--color-crimson-deep);
    color: var(--color-gold-bright);
    border: 3px solid var(--color-gold-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
    z-index: 2;
}

.timeline-item.left .timeline-icon {
    right: -25px;
}

.timeline-item.right .timeline-icon {
    left: -25px;
}

.timeline-icon.haldi-icon {
    background: var(--color-marigold-yellow);
    color: var(--color-crimson-deep);
}

.timeline-icon.lagna-icon {
    background: linear-gradient(135deg, var(--color-crimson-bright), #FF0000);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(178, 34, 34, 0.6); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(178, 34, 34, 0); }
    100% { transform: scale(1); }
}

.card-gold-border {
    background: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card-gold-border:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.event-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-saffron);
    display: block;
    margin-bottom: 6px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-crimson-deep);
    margin-bottom: 8px;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.highlight-event .card-gold-border {
    border: 2px solid var(--color-gold-bright);
    background: linear-gradient(135deg, #FFFDF7, #FFF5E6);
}

.event-badge-gold {
    background: var(--color-gold-bright);
    color: var(--color-crimson-deep);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

/* ==========================================================================
   PHOTO GALLERY SECTION
   ========================================================================== */

.gallery-section {
    background: #FFFFFF;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-bg-ivory);
    border: 1px solid var(--color-gold-primary);
    color: var(--color-text-dark);
    padding: 8px 20px;
    border-radius: 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-crimson-deep);
    color: var(--color-gold-bright);
    border-color: var(--color-crimson-deep);
}

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

.gallery-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(128, 0, 32, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #FFFFFF;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-gold-bright);
}

.gallery-overlay p {
    font-size: 0.85rem;
}

.zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #FFFFFF;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 12px;
    border: 3px solid var(--color-gold-primary);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.lightbox-caption {
    color: var(--color-gold-bright);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-top: 15px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-gold-bright);
}

/* ==========================================================================
   DRESS CODE SECTION
   ========================================================================== */

.dresscode-section {
    background: var(--color-bg-ivory);
}

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

.dress-card {
    background: #FFFFFF;
    border: var(--border-gold-zari);
    border-radius: var(--radius-card);
    padding: 35px 30px;
    box-shadow: var(--shadow-card);
}

.dress-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--color-gold-primary);
}

.attire-icon {
    font-size: 2.5rem;
}

.dress-icon-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-crimson-deep);
}

.dress-list li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dress-list li i {
    color: var(--color-saffron);
    margin-top: 4px;
    font-size: 0.8rem;
}

/* ==========================================================================
   VENUE DETAILS & GOOGLE MAPS
   ========================================================================== */

.venue-section {
    background: #FFFFFF;
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.venue-info-card {
    background: var(--color-bg-ivory);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-card);
    padding: 35px;
    box-shadow: var(--shadow-card);
}

.venue-header {
    text-align: center;
    margin-bottom: 25px;
}

.venue-main-icon {
    font-size: 2.5rem;
    color: var(--color-crimson-deep);
    margin-bottom: 10px;
}

.venue-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-crimson-deep);
}

.venue-subtitle {
    font-size: 0.9rem;
    color: var(--color-gold-dark);
    font-weight: 600;
}

.venue-details-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.v-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.v-item i {
    font-size: 1.2rem;
    color: var(--color-crimson-bright);
    margin-top: 3px;
}

.v-item strong {
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.v-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.venue-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-maps {
    background: linear-gradient(135deg, var(--color-emerald-green), #1B5E20);
    color: #FFFFFF;
    flex: 1;
    justify-content: center;
}

.btn-call {
    background: #FFFFFF;
    color: var(--color-crimson-deep);
    border: 1px solid var(--color-crimson-deep);
    justify-content: center;
}

.map-wrapper {
    height: 100%;
}

.map-frame-border {
    border: 4px double var(--color-gold-primary);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* ==========================================================================
   MAHARASHTRIAN PANGAT MEAL PREVIEW
   ========================================================================== */

.pangat-section {
    background: var(--color-bg-ivory);
}

.pangat-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 35px;
    align-items: center;
}

.pangat-image-box {
    border: 5px double var(--color-gold-primary);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.pangat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pangat-image-box:hover .pangat-img {
    transform: scale(1.04);
}

.pangat-menu-box {
    background: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.menu-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-crimson-deep);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-title i {
    color: var(--color-emerald-green);
}

.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.m-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.menu-item strong {
    font-size: 1rem;
    color: var(--color-crimson-deep);
}

.menu-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   RSVP SECTION & FORM
   ========================================================================== */

.rsvp-section {
    background: #FFFFFF;
}

.rsvp-card-wrapper {
    background: var(--color-bg-ivory);
    border: var(--border-gold-zari);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-card), var(--shadow-gold);
    position: relative;
}

.earthen-lamp-left, .earthen-lamp-right {
    position: absolute;
    top: 30px;
    width: 50px;
    height: 50px;
}

.earthen-lamp-left { left: 20px; }
.earthen-lamp-right { right: 20px; }

.diya-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.5));
}

.rsvp-form {
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-crimson-deep);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 10px;
    background: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-crimson-bright);
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.15);
}

.checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-crimson-deep);
}

.margin-top-20 {
    margin-top: 25px;
}

.btn-submit-rsvp {
    font-size: 1.1rem;
    padding: 14px 40px;
}

/* RSVP Modal Backdrop */
.rsvp-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.rsvp-modal-backdrop.active {
    display: flex;
}

.rsvp-modal-content {
    background: var(--color-bg-ivory);
    border: var(--border-gold-zari);
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    text-align: center;
    box-shadow: var(--shadow-gold);
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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

.modal-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.rsvp-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-crimson-deep);
    margin-bottom: 10px;
}

.devanagari-blessing-mini {
    font-family: var(--font-handwriting);
    font-size: 1.1rem;
    color: var(--color-saffron);
    margin: 15px 0 20px 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
    background: linear-gradient(180deg, #1A0D08 0%, #000000 100%);
    color: #FFFDF7;
    padding: 40px 0 20px 0;
    position: relative;
}

.footer-blessing {
    margin-bottom: 25px;
}

.footer-chandrakor {
    font-size: 2.2rem;
    color: var(--color-gold-bright);
    display: block;
}

.footer-blessing h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-gold-bright);
    margin: 6px 0;
}

.family-names {
    font-size: 1.1rem;
    color: #E0E0E0;
}

.contact-footer {
    font-size: 0.9rem;
    color: var(--color-gold-dark);
}

.footer-bottom-line {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 0.85rem;
    color: #A0A0A0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

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

    .venue-grid, .pangat-grid {
        grid-template-columns: 1fr;
    }

    .samai-container, .banana-stem {
        display: none; /* Hide heavy side illustrations on mobile for performance */
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
    }

    .timeline-item.left, .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-icon, 
    .timeline-item.right .timeline-icon {
        left: 5px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(255, 253, 247, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 25px 0;
        border-bottom: 2px solid var(--color-gold-primary);
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .couple-names {
        font-size: 2.6rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .rsvp-card-wrapper {
        padding: 35px 20px;
    }
}
