/* ==========================================================================
   STAINED GLASS DIGITAL WEDDING INVITATION
   Nikhil & Neena — November 14, 2026
   Inspired by thestained-glass digital invitation aesthetic
   ========================================================================== */

:root {
    --ivory: #FAF5EB;
    --ivory-light: #FFFDF8;
    --ivory-dark: #F5EFE0;
    --sage-dark: #2B3821;
    --sage-medium: #3E4F32;
    --sage-light: #5A6D4B;
    --gold: #C9A46A;
    --gold-light: #E8D5AA;
    --gold-dark: #8C6A30;
    --text-primary: #2B3821;
    --text-muted: rgba(43, 56, 33, 0.72);
    --text-gold: #A27B31;

    --font-script: 'Alex Brush', 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-caps: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: #FAF5EB;
    color: var(--text-primary);
    font-family: var(--font-serif);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Centered Mobile-First Frame: seamless warm cherub pattern throughout */
.mobile-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    background-color: #FAF5EB;
    background-image: 
        linear-gradient(180deg, rgba(250, 245, 235, 0.94) 0%, rgba(247, 241, 230, 0.96) 100%),
        url('assets/nikhil-neena/cherub-pattern.jpg');
    background-size: cover, 240px auto;
    background-repeat: no-repeat, repeat;
    background-position: center top;
    min-height: 100vh;
    min-height: 100dvh;
    box-shadow: 0 0 50px rgba(110, 80, 45, 0.12), 0 0 15px rgba(201, 164, 106, 0.1);
    border-left: 1px solid rgba(201, 164, 106, 0.25);
    border-right: 1px solid rgba(201, 164, 106, 0.25);
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .mobile-wrapper {
        max-width: 100%;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }
}

/* ==========================================================================
   AMBIENT FALLING LEAVES & PETALS CANVAS
   Active only below the first page (after hero section)
   ========================================================================== */
.falling-leaves-canvas {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 75;
    opacity: 0;
    visibility: hidden;
    contain: strict;
    will-change: opacity;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.falling-leaves-canvas.active {
    opacity: 0.95;
    visibility: visible;
}

@media (max-width: 480px) {
    .falling-leaves-canvas {
        left: 0;
        transform: none;
        max-width: 100%;
        width: 100vw;
    }
}

/* ==========================================================================
   AUDIO TOGGLE BUTTON (Floating in bottom-right corner)
   ========================================================================== */
.audio-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fffdf9;
    border: 1px solid rgba(201, 164, 106, 0.45);
    box-shadow: 0 8px 24px rgba(43, 56, 33, 0.16), 0 2px 6px rgba(201, 164, 106, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--sage-dark);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.audio-toggle-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.audio-toggle-btn:hover {
    transform: scale(1.08);
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(43, 56, 33, 0.22);
}

.audio-toggle-btn:active {
    transform: scale(0.95);
}

.audio-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Sound wave animation when playing */
.audio-toggle-btn.playing::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 164, 106, 0.5);
    animation: soundPulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    pointer-events: none;
}

@keyframes soundPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   HERO SECTION: STAINED GLASS ENTRANCE & DOORS
   ========================================================================== */
.hero-stained-glass {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background-color: #1a1612;
    background: #1a1612 url('assets/nikhil-neena/intro-closed-c.jpg?v=3.7.0') center center / cover no-repeat;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hero-stained-glass.revealed {
    cursor: default;
}

/* Background video and poster of opening stained glass church doors */
.hero-media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    background: #1a1612 url('assets/nikhil-neena/intro-closed-c.jpg?v=3.7.0') center center / cover no-repeat;
    transition: transform 35s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-stained-glass.revealed .hero-media-wrap {
    transform: scale(1.05);
}

/* Instant Fallback Poster Layer (Zero blank screen on mobile) */
.hero-door-poster-pic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-door-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hero-stained-glass.playing .hero-door-poster-pic,
.hero-stained-glass.revealed .hero-door-poster-pic {
    opacity: 0;
    pointer-events: none;
}

.hero-door-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
    pointer-events: none;
    background-color: transparent;
}

.hero-final-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stained-glass.revealed .hero-final-overlay {
    opacity: 1;
}

/* Pulsing "Tap to open" prompt before door opens */
.tap-to-open-prompt {
    position: absolute;
    bottom: 46px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--sage-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    transition: opacity 0.5s ease;
    animation: promptBreathe 2.4s ease-in-out infinite;
}

.tap-icon-ring {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 164, 106, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--gold-dark);
    background: rgba(255, 253, 249, 0.9);
}

@keyframes promptBreathe {
    0%, 100% { opacity: 0.45; transform: translateY(0); }
    50% { opacity: 0.95; transform: translateY(-3px); }
}

.hero-stained-glass.playing .tap-to-open-prompt,
.hero-stained-glass.revealed .tap-to-open-prompt {
    opacity: 0 !important;
    visibility: hidden !important;
    animation: none !important;
    pointer-events: none !important;
}

/* Hero Content Revealed inside Stained Glass Arch */
.hero-content-center {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 20px 58px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-stained-glass.revealed .hero-content-center,
.hero-stained-glass.active .hero-content-center {
    opacity: 1;
    pointer-events: auto;
}

.hero-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(11.5px, 2.7vw, 13px);
    color: rgba(43, 56, 33, 0.88);
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.hero-stained-glass.revealed .hero-eyebrow,
.hero-stained-glass.active .hero-eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.hero-bismillah-script {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: clamp(14px, 3.4vw, 16px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--gold-dark);
    direction: rtl;
    text-align: center;
    margin: 0 auto 4px;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.hero-stained-glass.revealed .hero-bismillah-script,
.hero-stained-glass.active .hero-bismillah-script {
    opacity: 1;
    transform: translateY(0);
}

.hero-date-badge {
    font-family: var(--font-caps);
    font-size: clamp(9.5px, 2.2vw, 10.5px);
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.hero-stained-glass.revealed .hero-date-badge,
.hero-stained-glass.active .hero-date-badge {
    opacity: 1;
    transform: translateY(0);
}

.hero-date-badge::before,
.hero-date-badge::after {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

/* Couple Script Typography (Akhil-Sneha Heritage Style) */
.hero-names-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
    margin-bottom: 10px;
}

.hero-name-script {
    font-family: var(--font-script);
    font-size: clamp(32px, 8vw, 38px);
    font-weight: 400;
    color: var(--sage-dark);
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(43, 56, 33, 0.2);
    letter-spacing: 0.02em;
    display: block;
    width: 100%;
    white-space: nowrap;
}

/* ==========================================================================
   CHARACTER BY CHARACTER REVEAL ANIMATIONS (AKHIL-SNEHA HERITAGE STYLE)
   ========================================================================== */
.char-split {
    display: inline-block;
}

.char-split .char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

/* Groom name slides in dynamically from the left */
.groom-name.char-split .char {
    transform: translateX(-35px) scale(0.85);
    transition-delay: calc(0.38s + var(--char-index) * 0.055s);
}

.hero-stained-glass.revealed .groom-name.char-split .char,
.hero-stained-glass.active .groom-name.char-split .char,
.names-active .groom-name.char-split .char {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Bride name slides in dynamically from the right */
.bride-name.char-split .char {
    transform: translateX(35px) scale(0.85);
    transition-delay: calc(0.88s + var(--char-index) * 0.055s);
}

.hero-stained-glass.revealed .bride-name.char-split .char,
.hero-stained-glass.active .bride-name.char-split .char,
.names-active .bride-name.char-split .char {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Ampersand scales up and rotates into place with golden shimmer */
.hero-ampersand,
.ampersand {
    font-family: var(--font-script);
    font-size: clamp(18px, 4.2vw, 21px);
    color: var(--gold-dark);
    margin: 2px 0;
    line-height: 1;
    display: block;
    opacity: 0;
    transform: scale(0.2) rotate(-45deg);
    transition: opacity 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.68s;
    will-change: transform, opacity;
}

.hero-stained-glass.revealed .hero-ampersand,
.hero-stained-glass.revealed .ampersand,
.hero-stained-glass.active .hero-ampersand,
.hero-stained-glass.active .ampersand,
.names-active .hero-ampersand,
.names-active .ampersand {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Luminous golden script text once revealed */
.hero-stained-glass.revealed .hero-name-script,
.hero-stained-glass.active .hero-name-script {
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.95), 0 0 10px rgba(201, 164, 106, 0.35);
}

.hero-arabic-script {
    max-width: 290px;
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: clamp(14px, 3.5vw, 16.5px);
    font-weight: 700;
    line-height: 1.8;
    color: var(--sage-dark);
    direction: rtl;
    text-align: center;
    margin: 4px auto 4px;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.95), 0 0 10px rgba(201, 164, 106, 0.35);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.8s ease 1.15s, transform 0.8s ease 1.15s;
}

.hero-stained-glass.revealed .hero-arabic-script,
.hero-stained-glass.active .hero-arabic-script {
    opacity: 1;
    transform: translateY(0);
}

.hero-scripture-pill {
    max-width: 275px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(10px, 2.4vw, 11px);
    line-height: 1.45;
    color: rgba(43, 56, 33, 0.88);
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.8s ease 1.35s, transform 0.8s ease 1.35s;
}

.hero-stained-glass.revealed .hero-scripture-pill,
.hero-stained-glass.active .hero-scripture-pill {
    opacity: 1;
    transform: translateY(0);
}

.hero-scripture-cite {
    display: inline-block;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 3px;
}

.hero-location-tag {
    font-family: var(--font-caps);
    font-size: clamp(8.5px, 2.1vw, 9.5px);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 3px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.8s ease 1.45s, transform 0.8s ease 1.45s;
}

.hero-stained-glass.revealed .hero-location-tag,
.hero-stained-glass.active .hero-location-tag {
    opacity: 0.9;
    transform: translateY(0);
}

.hero-location-sub {
    font-family: var(--font-serif);
    font-size: clamp(10px, 2.4vw, 11px);
    font-style: italic;
    letter-spacing: 0.06em;
    color: rgba(43, 56, 33, 0.78);
    margin-top: 1px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.8s ease 1.55s, transform 0.8s ease 1.55s;
}

.hero-stained-glass.revealed .hero-location-sub,
.hero-stained-glass.active .hero-location-sub {
    opacity: 0.88;
    transform: translateY(0);
}

/* Discover button pointing down to the rest of the invitation */
.hero-scroll-btn {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--sage-dark);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease 1.7s, transform 0.25s ease;
}

.hero-stained-glass.revealed .hero-scroll-btn,
.hero-stained-glass.active .hero-scroll-btn {
    opacity: 1;
    pointer-events: auto;
}

.hero-scroll-btn:hover {
    transform: translateY(2px);
}

.hero-scroll-label {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(43, 56, 33, 0.85);
}

.hero-scroll-arrow {
    width: 16px;
    height: 16px;
    animation: chevronBob 1.6s ease-in-out infinite;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

@keyframes chevronBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ==========================================================================
   SECTION 2: SACRED COUNTDOWN (EXACT THE DIGITAL YES STAINED GLASS STYLE)
   ========================================================================== */
.section-countdown {
    position: relative;
    width: 100%;
    padding: 48px 20px 42px;
    background-color: transparent;
    text-align: center;
    overflow: hidden;
}

/* Hourglass Motif with Flanking Gold Arrow Flourishes */
.countdown-motif-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 330px;
    margin: 0 auto 18px;
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-countdown.is-revealed .countdown-motif-wrap {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.countdown-hourglass-frame {
    width: clamp(66px, 18vw, 78px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hourglassGentlyFloat 4s ease-in-out infinite alternate;
}

.countdown-hourglass-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(43, 56, 33, 0.12));
}

@keyframes hourglassGentlyFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.countdown-flourish-img {
    width: clamp(55px, 15vw, 75px);
    height: auto;
    display: block;
    opacity: 0.88;
    filter: drop-shadow(0 1px 3px rgba(201, 164, 106, 0.35));
}

.flourish-right {
    transform: scaleX(-1);
}

/* Script Title "Countdown" */
.countdown-title-script {
    font-family: var(--font-script);
    font-size: clamp(40px, 10.5vw, 50px);
    font-weight: 400;
    color: #354728;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
                transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-countdown.is-revealed .countdown-title-script {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle "UNTIL 14 NOVEMBER 2026" */
.countdown-target-date {
    font-family: var(--font-caps);
    font-size: clamp(9.5px, 2.3vw, 10.5px);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(43, 56, 33, 0.72);
    margin-bottom: 26px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                letter-spacing 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-countdown.is-revealed .countdown-target-date {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.28em;
}

/* 3-Column Countdown (DAYS | HOURS | MINUTES) */
.countdown-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 330px;
    margin: 0 auto;
    padding: 0 8px;
}

.countdown-col {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: scale(0.82) translateY(14px);
    transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-countdown.is-revealed .countdown-col:nth-child(1) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.42s;
}

.section-countdown.is-revealed .countdown-col:nth-child(3) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.58s;
}

.section-countdown.is-revealed .countdown-col:nth-child(5) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.74s;
}

.countdown-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(34px, 8.5vw, 42px);
    font-weight: 400;
    color: #2E3E22;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
    transition: transform 0.22s ease-in, opacity 0.22s ease-in;
    will-change: transform, opacity;
}

.countdown-num.flip-out {
    transform: translateY(-8px) scale(0.88);
    opacity: 0;
}

.countdown-num.flip-in {
    transform: translateY(8px) scale(0.88);
    opacity: 0;
}

.section-countdown.is-revealed .countdown-num {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 10px rgba(201, 164, 106, 0.35);
    color: #2E3E22;
}

.countdown-sep {
    width: 1px;
    height: 38px;
    background: rgba(201, 164, 106, 0.55);
    margin: 0 6px;
    align-self: center;
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.8s ease 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.section-countdown.is-revealed .countdown-sep {
    opacity: 0.7;
    transform: scaleY(1);
}

.countdown-unit {
    font-family: var(--font-serif);
    font-size: clamp(9px, 2.2vw, 10px);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(43, 56, 33, 0.75);
}

/* ==========================================================================
   SECTION 3: THE SACRED PAVILION (CYLINDRICAL CAPSULE ARCH)
   Deep emerald/sage cylindrical capsule with cherub pattern & stained-glass frame
   ========================================================================== */
.section-covenant {
    position: relative;
    width: 100%;
    padding: 24px 18px 55px;
    background-color: transparent;
}

.covenant-arch-container {
    position: relative;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: #354728;
    background-image: 
        linear-gradient(180deg, rgba(53, 71, 40, 0.88) 0%, rgba(38, 51, 28, 0.95) 100%),
        url('assets/nikhil-neena/cherub-pattern.jpg');
    background-size: cover, 260px auto;
    background-repeat: no-repeat, repeat;
    background-position: center top;
    /* Symmetrical Cylindrical Capsule Shape with Rounded Top & Bottom Arch */
    border-radius: 195px 195px 195px 195px;
    padding: 64px 20px 62px;
    text-align: center;
    box-shadow: 0 20px 48px rgba(27, 36, 21, 0.32), 0 4px 14px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(201, 164, 106, 0.4);
    overflow: visible;
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-covenant.is-revealed .covenant-arch-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stained Glass Roses Crest Ornament Overlapping the Arch Top */
.covenant-crest-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(210px, 62vw, 270px);
    z-index: 5;
    pointer-events: none;
}

.covenant-crest-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(20, 28, 14, 0.35));
}

/* Inner dashed gold hairline following the capsule curve */
.covenant-arch-container::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 187px 187px 187px 187px;
    border: 1px dashed rgba(201, 164, 106, 0.28);
    pointer-events: none;
    z-index: 1;
}

/* Welcome Message Typography */
.covenant-message-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 14px;
    margin-bottom: 8px;
    padding: 0 10px;
}

.covenant-title-script {
    font-family: var(--font-script);
    font-size: clamp(28px, 7.5vw, 36px);
    font-weight: 400;
    color: #FFFDF9;
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-style: italic;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.section-covenant.is-revealed .covenant-title-script {
    opacity: 1;
    transform: translateY(0);
}

.covenant-subtitle-serif {
    font-family: var(--font-serif);
    font-size: clamp(12px, 3.1vw, 13.5px);
    line-height: 1.6;
    color: rgba(255, 253, 249, 0.9);
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.42s,
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

.section-covenant.is-revealed .covenant-subtitle-serif {
    opacity: 1;
    transform: translateY(0);
}

/* Ornate Stained-Glass Framed Couple Portrait */
.covenant-portrait-wrapper {
    position: relative;
    width: clamp(235px, 70vw, 295px);
    aspect-ratio: 682 / 1024;
    margin: 18px auto 0;
    z-index: 2;
}

.portrait-photo-clip {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 67%;
    height: 66%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    background-color: #2D3B22;
}

.portrait-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    filter: brightness(1.02) contrast(1.02);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.covenant-portrait-wrapper:hover .portrait-photo-img {
    transform: scale(1.04);
}

/* Warm White Scratch Foil Layer */
.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 2;
    cursor: grab;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: inset 0 0 16px rgba(201, 164, 106, 0.35);
}

.scratch-canvas:active {
    cursor: grabbing;
}

.scratch-canvas.revealed {
    opacity: 0 !important;
    pointer-events: none !important;
}

.portrait-frame-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 10px 24px rgba(15, 22, 10, 0.45));
}

/* Romantic Scratch Hint Prompt */
.scratch-hint-text {
    position: relative;
    z-index: 3;
    margin: 16px auto 0;
    font-family: var(--font-serif);
    font-size: clamp(11.5px, 3.2vw, 13px);
    font-weight: 500;
    color: #F8F2E4;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 20px;
    background: rgba(22, 31, 16, 0.88);
    border: 1px solid rgba(201, 164, 106, 0.45);
    transition: all 0.35s ease;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.scratch-hint-text:hover {
    background: rgba(22, 31, 16, 0.75);
    border-color: rgba(201, 164, 106, 0.65);
    transform: translateY(-1px);
}

.scratch-hint-text.revealed {
    background: rgba(43, 59, 31, 0.75);
    border-color: rgba(212, 175, 55, 0.6);
    color: #FFFDF9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   SECTION 4: THE BLESSED LINEAGE & FAMILIES (EXACT FLANKING DOVES STYLE)
   ========================================================================== */
.section-lineage {
    position: relative;
    width: 100%;
    padding: 52px 6px 20px;
    background-color: transparent;
    text-align: center;
    overflow: hidden;
}

/* Center Names Container Flanked by the Two Doves */
.lineage-names-flank-wrap {
    position: relative;
    width: 100%;
    margin: 18px 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lineage-names-group {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

/* Left & Right Flanking Ornate Doves Centered with Nikhil, ✝, Neena */
.dove-flank {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(110px, 28vw, 142px);
    height: auto;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 4px 14px rgba(70, 55, 30, 0.12));
}

.dove-flank-left {
    left: -65px;
    opacity: 0;
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.6s,
                left 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.section-lineage.is-revealed .dove-flank-left {
    opacity: 1;
    left: -24px;
    animation: doveGentlyFloatLeft 7s ease-in-out infinite alternate 1.85s;
}

.dove-flank-right {
    right: -65px;
    opacity: 0;
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.6s,
                right 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.section-lineage.is-revealed .dove-flank-right {
    opacity: 1;
    right: -24px;
    animation: doveGentlyFloatRight 7s ease-in-out infinite alternate 1.85s;
}

@keyframes doveGentlyFloatLeft {
    0% { transform: translateY(-50%) rotate(-1.5deg); }
    100% { transform: translateY(calc(-50% - 6px)) rotate(1.5deg); }
}

@keyframes doveGentlyFloatRight {
    0% { transform: translateY(-50%) rotate(1.5deg); }
    100% { transform: translateY(calc(-50% - 6px)) rotate(-1.5deg); }
}

/* Center Content Column Protected from Dove Overlap */
.lineage-center-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.lineage-welcome-script {
    font-family: var(--font-script);
    font-size: clamp(48px, 13.5vw, 62px);
    font-weight: 400;
    color: #354728;
    line-height: 1.12;
    margin-bottom: 2px;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(53, 71, 40, 0.12);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.section-lineage.is-revealed .lineage-welcome-script {
    opacity: 1;
    transform: translateY(0);
}

.lineage-welcome-sub {
    font-family: var(--font-serif);
    font-size: clamp(13px, 3.4vw, 15px);
    font-weight: 500;
    color: #555E4E;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
                transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
                letter-spacing 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.section-lineage.is-revealed .lineage-welcome-sub {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.04em;
}

.lineage-family-block {
    position: relative;
    margin: 0 auto;
}

/* Groom Details */
.groom-family-block .lineage-address-text {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.05s ease 0.35s, transform 1.05s ease 0.35s;
}

.section-lineage.is-revealed .groom-family-block .lineage-address-text {
    opacity: 1;
    transform: translateY(0);
}

.groom-family-block .lineage-parents-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.48s,
                transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.48s;
}

.section-lineage.is-revealed .groom-family-block .lineage-parents-text {
    opacity: 1;
    transform: translateY(0);
    color: #7A5B28;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

.lineage-name-script {
    font-family: var(--font-script);
    font-size: clamp(56px, 15.5vw, 70px);
    font-weight: 400;
    color: #2E3E22;
    line-height: 1.05;
    margin: 10px 0 4px;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(47, 62, 34, 0.16);
}

/* Groom Name Nikhil: Glides in smoothly from Right (Neena-Nikhil Heritage Style) */
.groom-name-script {
    opacity: 0;
    transform: translateX(38px);
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.68s,
                transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.68s;
}

.section-lineage.is-revealed .groom-name-script {
    opacity: 1;
    transform: translateX(0);
}

/* Center Holy Cross Logo Crest: Blooms & Scales from Center */
.lineage-cross-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 12px auto 14px;
    width: min(220px, 60%);
    opacity: 0;
    transform: scale(0.25);
    transition: opacity 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.82s,
                transform 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.82s;
}

.section-lineage.is-revealed .lineage-cross-crest {
    opacity: 1;
    transform: scale(1);
}

.crest-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 145, 80, 0.75), transparent);
}

.crest-line.left-line {
    transform-origin: right center;
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s;
}

.crest-line.right-line {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s;
}

.section-lineage.is-revealed .crest-line {
    transform: scaleX(1);
}

.crest-cross-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(184, 145, 80, 0.55);
    background: rgba(255, 254, 250, 0.95);
    box-shadow: 0 2px 10px rgba(184, 145, 80, 0.22);
}

.crest-cross-icon,
.crest-islamic-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

/* Bride Name Neena: Glides in smoothly from Left (Neena-Nikhil Heritage Style) */
.bride-name-script {
    opacity: 0;
    transform: translateX(-38px);
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.96s,
                transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.96s;
}

.section-lineage.is-revealed .bride-name-script {
    opacity: 1;
    transform: translateX(0);
}

.bride-family-block .lineage-name-script {
    margin: 4px 0 10px;
}

.lineage-parents-text {
    font-family: var(--font-serif);
    font-size: clamp(12.5px, 3.25vw, 14.5px);
    font-weight: 600;
    line-height: 1.45;
    color: #7A5B28;
    letter-spacing: 0.02em;
    margin: 6px 0;
    white-space: nowrap;
}

/* Bride Family Block */
.bride-family-block .lineage-parents-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1) 1.12s,
                transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 1.12s;
}

.section-lineage.is-revealed .bride-family-block .lineage-parents-text {
    opacity: 1;
    transform: translateY(0);
    color: #7A5B28;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

.lineage-address-text {
    font-family: var(--font-serif);
    font-size: clamp(12px, 3.0vw, 13.5px);
    line-height: 1.55;
    color: #525A4B;
    letter-spacing: 0.01em;
}

.groom-family-block .lineage-address-text {
    margin-bottom: 6px;
}

.bride-family-block .lineage-address-text {
    margin-top: 6px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.05s ease 1.22s, transform 1.05s ease 1.22s;
}

.section-lineage.is-revealed .bride-family-block .lineage-address-text {
    opacity: 1;
    transform: translateY(0);
}

/* Hanging Jeweled Garland Vector Divider */
.lineage-garland-wrap {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 26px auto 0;
    padding: 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1) 1.32s,
                transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 1.32s;
}

.section-lineage.is-revealed .lineage-garland-wrap {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lineage-garland-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(110, 85, 45, 0.16));
    transform-origin: 50% 10%;
    animation: garlandGentleSway 9s ease-in-out infinite alternate;
}

@keyframes garlandGentleSway {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(2.5px) rotate(0.35deg);
    }
    100% {
        transform: translateY(0) rotate(-0.35deg);
    }
}

/* ==========================================================================
   SECTION 5: THE SOLEMN CELEBRATION & VENUES (AKHIL-SNEHA HERITAGE STYLE)
   ========================================================================== */
.section-events {
    position: relative;
    width: 100%;
    padding: 30px 18px 55px;
    background-color: transparent;
    text-align: center;
    overflow: visible;
}

/* Master Bespoke Framed Card Container */
.venue-showcase-card {
    position: relative;
    max-width: 375px;
    margin: 0 auto;
    padding: 10px 4px;
    opacity: 0;
    transform: translateY(32px) scale(0.97);
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-events.is-revealed .venue-showcase-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.15s;
}

/* Inner Hairline Framed Card Content */
.venue-card-inner {
    position: relative;
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(165, 140, 105, 0.45);
    border-radius: 16px;
    padding: 34px 22px 30px;
    box-shadow: 0 10px 36px rgba(45, 55, 35, 0.07);
    text-align: center;
    z-index: 2;
}

/* Corner Vector Ornaments */
.venue-corner-vector {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}

/* Top-Left Illustrated Gazebo Rotunda */
.venue-corner-vector.top-left-gazebo {
    top: -24px;
    left: -16px;
    width: 98px;
    max-width: 28%;
    filter: drop-shadow(0 6px 14px rgba(45, 40, 30, 0.16));
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 1.25s ease 0.3s, transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-events.is-revealed .venue-corner-vector.top-left-gazebo {
    opacity: 1;
    transform: translateY(0);
    animation: gazeboGentleFloat 8s ease-in-out infinite alternate 1.6s;
}

.vector-gazebo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom-Right Antique Jeweled Key */
.venue-corner-vector.bottom-right-key {
    bottom: -22px;
    right: -12px;
    width: 68px;
    max-width: 22%;
    filter: drop-shadow(0 6px 14px rgba(45, 40, 30, 0.18));
    opacity: 0;
    transform: rotate(-14deg) translateY(12px);
    transition: opacity 1.25s ease 0.4s, transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.section-events.is-revealed .venue-corner-vector.bottom-right-key {
    opacity: 1;
    transform: rotate(-14deg) translateY(0);
    animation: keyGentleSway 7s ease-in-out infinite alternate 1.7s;
}

.vector-key-img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes gazeboGentleFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@keyframes keyGentleSway {
    0% { transform: rotate(-14deg) translateY(0); }
    50% { transform: rotate(-11deg) translateY(-2px); }
    100% { transform: rotate(-14deg) translateY(0); }
}

/* Top Sacred Cross Emblem */
.event-cross-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(165, 140, 105, 0.45);
    background: rgba(255, 255, 255, 0.95);
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(140, 99, 24, 0.14);
}

.event-cross-icon,
.event-islamic-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.event-section-label {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: #6E7350;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ==========================================================================
   DATE HIGHLIGHT CONTAINER (AKHIL-SNEHA HERITAGE STYLE WITH ANIMATIONS)
   ========================================================================== */
.date-highlight-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4px auto 14px;
    width: 100%;
}

.date-day-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(16px, 4.4vw, 20px);
    letter-spacing: 0.28em;
    font-weight: 700;
    color: #8C6318;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-34px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

.section-events.is-revealed .date-day-name {
    opacity: 1;
    transform: translateX(0);
}

.date-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 2px 0;
    width: 100%;
}

.date-grid .line {
    flex: 1 1 0;
    max-width: 55px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #D4AF37 70%, #8C6519 100%);
    opacity: 0.85;
    transform-origin: right center;
    transform: scaleX(0);
    transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
}

.date-grid .line.right-slide {
    background: linear-gradient(90deg, #8C6519 0%, #D4AF37 30%, transparent 100%);
    transform-origin: left center;
}

.section-events.is-revealed .date-grid .line {
    transform: scaleX(1);
}

.date-number {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: clamp(48px, 12.5vw, 62px);
    font-weight: 700;
    line-height: 1;
    color: #8C6318;
    background: linear-gradient(
        115deg,
        #7A5210 0%,
        #B48C3D 25%,
        #FFF6D0 45%,
        #D4AF37 60%,
        #8C6318 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 3px rgba(140, 99, 24, 0.28));
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.42s,
                transform 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.42s;
}

.section-events.is-revealed .date-number {
    opacity: 1;
    transform: scale(1);
}

.date-month-year {
    font-family: 'Cinzel', serif;
    font-size: clamp(12.5px, 3.2vw, 15px);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #6E5338;
    font-weight: 600;
    opacity: 0;
    transform: translateX(34px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.52s,
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.52s;
}

.section-events.is-revealed .date-month-year {
    opacity: 1;
    transform: translateX(0);
}

/* Delicate Hairline Separator */
.venue-hairline-sep {
    width: 48px;
    height: 1px;
    background: rgba(165, 140, 105, 0.45);
    margin: 14px auto 18px;
}

/* ==========================================================================
   EVENT SCHEDULE & VENUE DETAILS (ONLY REQUESTED INFO)
   ========================================================================== */
.event-schedule-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 4px 0 10px;
}

.service-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4A5124;
    background: rgba(74, 81, 36, 0.08);
    border: 1px solid rgba(74, 81, 36, 0.22);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-events.is-revealed .service-badge-church {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

.section-events.is-revealed .service-badge-lunch {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.95s;
}

.time-clock-icon {
    font-size: 11.5px;
}

.time-cross-svg,
.time-islamic-svg {
    width: 13px;
    height: 13px;
    object-fit: contain;
    display: inline-block;
    vertical-align: -2px;
    margin-right: 4px;
}

.venue-script-title {
    font-family: 'Alex Brush', cursive;
    font-size: clamp(34px, 8.5vw, 42px);
    font-weight: 400;
    color: #4A5124;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 2px 0 4px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-events.is-revealed .service-item-church .venue-script-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.75s;
}

.section-events.is-revealed .service-item-lunch .venue-script-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.05s;
}

.venue-address-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14px, 3.6vw, 16px);
    font-weight: 600;
    color: #4F5A48;
    line-height: 1.45;
    letter-spacing: 0.02em;
    margin: 0 0 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-events.is-revealed .service-item-church .venue-address-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.82s;
}

.section-events.is-revealed .service-item-lunch .venue-address-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.12s;
}

/* Stained Glass Dancing Motif Divider */
.dancing-couple-wrap {
    width: 105px;
    margin: 16px auto 12px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.88s,
                transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.88s;
}

.section-events.is-revealed .dancing-couple-wrap {
    opacity: 0.92;
    transform: scale(1);
}

.dancing-couple-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(43, 56, 33, 0.1));
}

/* Luxury Action Buttons */
.btn-venue-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 28px;
    font-family: 'Cinzel', serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

/* Deep Earthy Olive Pill (Exact Match to User Reference) */
.btn-venue-maps {
    background: #4A5124;
    color: #FAF5EB;
    box-shadow: 0 4px 14px rgba(50, 65, 30, 0.22);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-events.is-revealed .service-item-church .btn-venue-maps {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.88s;
}

.section-events.is-revealed .service-item-lunch .btn-venue-maps {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) 1.18s;
}

.btn-venue-maps:hover {
    background: #3B421C;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(50, 65, 30, 0.3);
    color: #FFFFFF;
}

/* Save to Calendar Section */
.venue-calendar-action {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(165, 140, 105, 0.38);
    display: flex;
    justify-content: center;
    width: 100%;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 1.25s,
                transform 1s cubic-bezier(0.16, 1, 0.3, 1) 1.25s;
}

.section-events.is-revealed .venue-calendar-action {
    opacity: 1;
    transform: translateY(0);
}

.btn-venue-cal {
    background: rgba(255, 255, 255, 0.88);
    color: #4A5124;
    border: 1px solid rgba(165, 140, 105, 0.55);
    box-shadow: 0 2px 10px rgba(50, 65, 30, 0.08);
}

.btn-venue-cal:hover {
    background: #FFFFFF;
    border-color: #4A5124;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(50, 65, 30, 0.15);
}

.venue-btn-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

/* Calendar Dropdown Wrapper */
.calendar-wrap {
    position: relative;
    display: inline-block;
}

.calendar-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid rgba(175, 150, 110, 0.45);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 12px 32px rgba(40, 50, 30, 0.18);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.calendar-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.calendar-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #384524;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.calendar-menu-item:hover {
    background: rgba(74, 81, 36, 0.1);
    transform: translateX(2px);
}

/* ==========================================================================
   FOOTER: GARDEN VILLA STAINED GLASS
   ========================================================================== */
.invitation-footer {
    position: relative;
    width: 100%;
    padding: 20px 24px 60px;
    background-color: transparent;
    text-align: center;
    overflow: hidden;
}

.footer-villa-wrap {
    width: clamp(200px, 60vw, 280px);
    margin: 0 auto 18px;
}

.footer-villa-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(43, 56, 33, 0.12));
}

.footer-thank-you {
    font-family: var(--font-caps);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
    opacity: 0.95;
}

.footer-names {
    font-family: var(--font-script);
    font-size: clamp(38px, 10vw, 48px);
    color: var(--sage-dark);
    margin-bottom: 4px;
}

.footer-date {
    font-family: var(--font-caps);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.footer-blessing {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(14px, 3.8vw, 15px);
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 320px;
    margin: 0 auto;
}
