/* ═══════════════════════════════════════════════════════════════
   ROYAL DIGITAL WEDDING INVITATION — STYLESHEET
   Celebration: DHAKSHNAMOORTHY & Abinaya
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Marcellus&family=Noto+Serif+Tamil:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --gold-primary:     #D4AF37;
    --gold-light:       #F7E7B4;
    --gold-dark:        #A3771E;
    --gold-foil:        linear-gradient(135deg, #FBF2D5 0%, #D4AF37 35%, #F3E2A0 65%, #9E741A 100%);
    --gold-glow:        0 0 25px rgba(212, 175, 55, 0.4);
    
    --maroon-deep:      #2A040A;
    --maroon-royal:     #5E0C18;
    --maroon-accent:    #8B1325;
    --maroon-gradient:  linear-gradient(145deg, #5E0C18 0%, #2A040A 100%);
    
    --ivory-base:       #FCF9F2;
    --ivory-soft:       #F7F1E5;
    --ivory-card:       #FFFFFF;
    
    --text-primary:     #241914;
    --text-secondary:   #615045;
    --text-gold:        #C59B4E;
    
    --font-display:     'Cinzel', serif;
    --font-heading:     'Cormorant Garamond', Georgia, serif;
    --font-body:        'Lora', Georgia, serif;
    --font-sub:         'Marcellus', serif;
    --font-tamil:       'Noto Serif Tamil', serif;

    --radius-sm:        12px;
    --radius-md:        22px;
    --radius-lg:        32px;
    
    --shadow-card:      0 20px 50px rgba(42, 4, 10, 0.08), 0 2px 10px rgba(212, 175, 55, 0.12);
    --shadow-deep:      0 30px 80px rgba(30, 3, 7, 0.22);
    --shadow-gold-btn:  0 12px 35px rgba(94, 12, 24, 0.45), 0 0 30px rgba(212, 175, 55, 0.35);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-variant-ligatures: none !important;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0 !important;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--ivory-base);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(94, 12, 24, 0.06) 0%, transparent 55%),
        linear-gradient(rgba(252, 249, 242, 0.86), rgba(252, 249, 242, 0.90)),
        url("../../assets/images/invitation/bg.jpeg");
    background-size: auto, auto, auto, cover;
    background-position: center;
    background-attachment: scroll, scroll, scroll, fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 90px; /* Space for floating dock */
}

body.welcome-locked {
    overflow: hidden;
    height: 100vh;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    touch-action: manipulation;
}

.container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4.5vw, 2.5rem);
}

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

/* ═══════════════════════════════════════════════════════════════
   1. CINEMATIC WELCOME SCREEN & ENTRANCE ANIMATION
   ═══════════════════════════════════════════════════════════════ */
#welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: 
        radial-gradient(circle at 50% 40%, rgba(68, 7, 16, 0.88) 0%, rgba(26, 2, 5, 0.96) 100%),
        url("../../assets/images/invitation/bg.jpeg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
}

#welcome-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.welcome-box {
    width: 100%;
    max-width: 470px;
    background: #FFFFFF;
    border-radius: 28px;
    padding: clamp(1.8rem, 5vw, 3.2rem) clamp(1rem, 3.8vw, 2.2rem);
    text-align: center;
    box-shadow: 
        0 35px 95px rgba(0, 0, 0, 0.75), 
        0 0 0 1px rgba(212, 175, 55, 0.5),
        0 0 45px rgba(212, 175, 55, 0.25);
    border: 5px double rgba(212, 175, 55, 0.6);
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
    box-sizing: border-box;
}

.welcome-box::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    pointer-events: none;
}

.welcome-ganesha {
    font-size: 2.6rem;
    color: var(--gold-dark);
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 3px 10px rgba(212, 175, 55, 0.4));
    animation: ganeshaFloat 3.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes ganeshaFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.06); }
}

.welcome-subtitle {
    font-family: var(--font-sub);
    font-size: clamp(0.66rem, 2.7vw, 0.82rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--maroon-royal);
    margin-bottom: 0.7rem;
    display: block;
    font-weight: 600;
    white-space: nowrap;
    max-width: 100%;
}

.welcome-couple-names {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 4.3vw, 1.82rem);
    letter-spacing: 0.03em;
    color: var(--maroon-deep);
    line-height: 1.35;
    margin-bottom: 1rem;
    font-weight: 700;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.welcome-couple-names .amp {
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.65rem;
    color: var(--gold-primary);
    margin: 0.2rem 0;
    font-weight: 400;
}

.welcome-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.18rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    padding: 0 0.5rem;
}

.welcome-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    color: var(--maroon-deep);
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.welcome-btn-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--maroon-royal) 0%, #35040B 100%);
    color: #FFFFFF;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.96rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--gold-light);
    box-shadow: var(--shadow-gold-btn);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.welcome-btn-open::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(30deg);
    animation: goldShimmer 3.2s infinite;
}

@keyframes goldShimmer {
    0% { transform: translate(-100%, -100%) rotate(30deg); }
    35%, 100% { transform: translate(100%, 100%) rotate(30deg); }
}

.welcome-btn-open:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 45px rgba(94, 12, 24, 0.6), 0 0 35px rgba(212, 175, 55, 0.5);
}

.welcome-btn-open:active {
    transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════════════
   2. FLOATING ULTRA-LUXURY GLASS CAPSULE DOCK (NAVIGATION BAR)
   ═══════════════════════════════════════════════════════════════ */
.floating-dock-nav {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(36, 4, 9, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 60px;
    padding: 6px 10px;
    box-shadow: 
        0 18px 45px rgba(0, 0, 0, 0.45), 
        0 0 25px rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 95vw;
}

.dock-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-sub);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.95rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.dock-link i {
    font-size: 1.05rem;
    color: var(--gold-light);
    transition: transform 0.3s ease;
}

.dock-link:hover {
    color: #FFFFFF;
    background: rgba(212, 175, 55, 0.18);
}

.dock-link.active {
    color: #2A040A;
    background: var(--gold-foil);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.dock-link.active i {
    color: #2A040A;
    transform: scale(1.1);
}

@media (max-width: 520px) {
    .dock-link span {
        display: none;
    }
    .dock-link {
        padding: 0.65rem 0.8rem;
    }
    .dock-link i {
        font-size: 1.15rem;
    }
    .dock-link.active span {
        display: inline-block;
        font-size: 0.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   3. HERO SECTION (FULL BLEED WITH LUXURY VIGNETTE)
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(4.5rem, 9vw, 7rem) 1rem;
    overflow: hidden;
    background: #1A0205;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.42);
    transform: scale(1.05);
    animation: heroBreathe 20s ease-in-out infinite alternate;
}

@keyframes heroBreathe {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(38, 4, 9, 0.5) 0%, rgba(26, 2, 5, 0.92) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    font-family: var(--font-sub);
    font-size: clamp(0.82rem, 2.5vw, 0.98rem);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 6.2vw, 4.2rem);
    color: #FFFFFF;
    line-height: 1.22;
    margin-bottom: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-amp {
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    color: var(--gold-primary);
    margin: 0.2rem 0;
    font-weight: 400;
}

.temple-divider {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 1.8rem auto;
    position: relative;
}

.temple-divider::after {
    content: '⚜';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-primary);
    font-size: 1.2rem;
    background: #1A0205;
    padding: 0 10px;
}

.hero-date-text {
    font-family: var(--font-sub);
    font-size: clamp(1.05rem, 3.2vw, 1.32rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.4rem;
}

.hero-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.2rem, 3.4vw, 1.52rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 2.6rem;
    line-height: 1.65;
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sub);
    font-size: 0.84rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    animation: bounceIndicator 2.2s infinite;
}

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(9px); }
    60% { transform: translateY(5px); }
}

/* ═══════════════════════════════════════════════════════════════
   4. BRIDE & GROOM COUPLE SECTION
   ═══════════════════════════════════════════════════════════════ */
.couple-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5.8vw, 3rem);
    color: var(--maroon-deep);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-family: var(--font-sub);
    font-size: 0.88rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 3.5rem;
    display: block;
    font-weight: 600;
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(1.5rem, 4.5vw, 3.8rem);
    max-width: 840px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .couple-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.couple-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: clamp(2.2rem, 5.5vw, 3.4rem) clamp(1.4rem, 4.5vw, 2.2rem);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(212, 175, 55, 0.4);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.couple-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: calc(var(--radius-lg) - 8px);
    pointer-events: none;
}

.couple-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
}

.couple-avatar-wrap {
    width: clamp(145px, 34vw, 195px);
    height: clamp(145px, 34vw, 195px);
    margin: 0 auto 1.6rem;
    border-radius: 50%;
    padding: 6px;
    background: var(--gold-foil);
    box-shadow: var(--shadow-gold-btn);
}

.couple-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ivory-soft);
}

.couple-avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.avatar-groom-img {
    object-position: center 20% !important;
}

.avatar-bride-img {
    object-position: center 72% !important;
    transform: scale(1.35);
    transform-origin: center 72%;
}

.couple-card:hover .avatar-groom-img {
    transform: scale(1.08);
}

.couple-card:hover .avatar-bride-img {
    transform: scale(1.42);
}

.couple-name {
    font-family: var(--font-display);
    font-size: clamp(1.48rem, 4vw, 1.95rem);
    color: var(--maroon-deep);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.couple-parents {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.couple-amp-center {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(3rem, 6.5vw, 4.5rem);
    color: var(--gold-primary);
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   5. SACRED MUHURTHAM TIMING & LIVE COUNTDOWN
   ═══════════════════════════════════════════════════════════════ */
.date-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.muhurtham-timing-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(94, 12, 24, 0.08);
    border: 1px solid rgba(94, 12, 24, 0.25);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--maroon-royal);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.countdown-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.2rem, 4vw, 2.8rem);
    background: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 60px;
    padding: clamp(1.1rem, 3.2vw, 1.6rem) clamp(1.6rem, 5.5vw, 3.2rem);
    box-shadow: var(--shadow-card);
    margin: 2rem auto;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 65px;
}

.countdown-val {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5.5vw, 2.75rem);
    color: var(--maroon-deep);
    font-weight: 700;
    line-height: 1;
    display: block;
}

.countdown-lbl {
    font-family: var(--font-sub);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 0.3rem;
    display: block;
}

.blessings-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: clamp(2rem, 5vw, 3.2rem);
    max-width: 740px;
    margin: 2.8rem auto 0;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(212, 175, 55, 0.35);
    text-align: center;
    position: relative;
}

.blessings-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: calc(var(--radius-md) - 6px);
    pointer-events: none;
}

.blessings-text {
    font-family: var(--font-heading);
    font-size: clamp(1.18rem, 3vw, 1.42rem);
    color: var(--text-secondary);
    line-height: 1.85;
}

/* ═══════════════════════════════════════════════════════════════
   6. VENUE DETAILS WITH INTERACTIVE MAP EMBED
   ═══════════════════════════════════════════════════════════════ */
.venue-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.venue-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: clamp(2.2rem, 5.5vw, 3.5rem) clamp(1.4rem, 4.5vw, 2.8rem);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(212, 175, 55, 0.4);
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.venue-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: calc(var(--radius-lg) - 8px);
    pointer-events: none;
}

.venue-mandapam-name {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 4.2vw, 2.05rem);
    color: var(--maroon-deep);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.venue-address-full {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.map-embed-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    margin-bottom: 2rem;
    height: 300px;
}

.map-embed-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.venue-btn-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-gold-map {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--maroon-royal);
    color: #FFFFFF;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--gold-light);
    box-shadow: 0 10px 25px rgba(94, 12, 24, 0.35);
    transition: all 0.3s ease;
}

.btn-gold-map:hover {
    transform: translateY(-3px);
    background: var(--maroon-deep);
    box-shadow: 0 14px 35px rgba(94, 12, 24, 0.5);
}

.btn-outline-cal {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: var(--text-primary);
    padding: 0.95rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(212, 175, 55, 0.45);
    transition: all 0.3s ease;
}

.btn-outline-cal:hover {
    background: rgba(212, 175, 55, 0.14);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   7. HAPPY MOMENTS PHOTO GALLERY
   ═══════════════════════════════════════════════════════════════ */
.gallery-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.gallery-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 2.2rem;
}

.gallery-thumb-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(212, 175, 55, 0.35);
    aspect-ratio: 1 / 1.12;
    background: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-thumb-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

.gallery-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

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

.gallery-zoom-badge {
    position: absolute;
    inset: 0;
    background: rgba(42, 4, 10, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-zoom-badge span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--maroon-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.gallery-thumb-card:hover .gallery-zoom-badge {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   8. EMOTIONAL CLOSING SECTION
   ═══════════════════════════════════════════════════════════════ */
.closing-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0 4rem;
    text-align: center;
}

.closing-quote-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.4rem, 4vw, 2.15rem);
    color: var(--maroon-deep);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.closing-couple-signature {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 4.5vw, 2.3rem);
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.closing-date-info {
    font-family: var(--font-sub);
    font-size: 0.94rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   10. PRESENTED BY ATTRIBUTION SECTION (LUXURY BRANDING)
   ═══════════════════════════════════════════════════════════════ */
.presented-by-section {
    padding: 3rem 1.5rem 8.5rem 1.5rem;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 10;
}

.presented-by-card {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 2.8rem) clamp(1.4rem, 4vw, 2.2rem);
    background: linear-gradient(145deg, rgba(58, 6, 14, 0.95) 0%, rgba(26, 2, 6, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(212, 175, 55, 0.65);
    outline: 1px dashed rgba(212, 175, 55, 0.4);
    outline-offset: -7px;
    border-radius: 28px;
    box-shadow: 
        0 25px 65px rgba(0, 0, 0, 0.65), 
        0 0 35px rgba(212, 175, 55, 0.22);
    position: relative;
    overflow: hidden;
}

.presented-by-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.presented-by-logo-wrap {
    margin-bottom: 1.2rem;
    display: inline-block;
    position: relative;
}

.presented-by-logo {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(212, 175, 55, 0.4);
    display: block;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.presented-by-card:hover .presented-by-logo {
    transform: scale(1.05) rotate(2deg);
}

.presented-by-label {
    font-family: var(--font-sub);
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

.presented-by-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4vw, 1.65rem);
    letter-spacing: 0.08em;
    color: #FCF9F2;
    margin-bottom: 0.35rem;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.presented-by-location {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    text-transform: uppercase;
    opacity: 0.92;
    margin-bottom: 1.6rem;
}

.presented-by-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem 1.4rem;
}

.presented-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #FFFFFF;
    font-family: var(--font-sub);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.presented-contact-link i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

.presented-contact-link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.38) 0%, rgba(212, 175, 55, 0.18) 100%);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
}

@media (max-width: 600px) {
    .presented-by-contacts {
        flex-direction: column;
        gap: 0.75rem;
    }
    .presented-contact-link {
        width: 100%;
        max-width: 290px;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   11. DISCRETE FLOATING AUDIO PLAYER BUTTON
   ═══════════════════════════════════════════════════════════════ */
.floating-audio-ctrl {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(28, 3, 7, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 30px;
    color: var(--gold-light);
    font-family: var(--font-sub);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.35s ease;
}

.floating-audio-ctrl:hover {
    background: rgba(45, 5, 12, 0.98);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.35);
}

.floating-audio-ctrl .music-icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--gold-primary);
    transition: transform 0.4s ease;
}

.floating-audio-ctrl.playing .music-icon-wrap {
    animation: spinDisc 4s linear infinite;
    background: rgba(212, 175, 55, 0.35);
    color: #FFFFFF;
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .floating-audio-ctrl {
        top: 14px;
        right: 14px;
        padding: 6px 11px;
        font-size: 0.72rem;
    }
}

/* Lightbox Modal */
.invitation-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(20, 3, 6, 0.96);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 1.2rem;
}

.invitation-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-box {
    max-width: min(92vw, 920px);
    max-height: 85vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.85);
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--maroon-deep);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
