/* ==========================================================================
   ARABIC WEDDING INVITATION - ENGINEER DIAA QASIM
   Theme: Royal Burgundy, Antique Gold & Pure Ivory
   Typography: Amiri & Cairo & Alexandria
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --color-bg-page: #f9f7f4;
    --color-bg-card: #ffffff;
    --color-bg-accent: #f5efe6;
    
    /* Burgundy & Rose Palette */
    --color-burgundy-deep: #4e0d1b;
    --color-burgundy: #6b1426;
    --color-burgundy-light: #8a1f34;
    --color-rose-subtle: #fbebee;
    
    /* Antique Gold Palette */
    --color-gold-deep: #9d7b1e;
    --color-gold: #c59b27;
    --color-gold-light: #dfba5f;
    --color-gold-shimmer: #fae49d;
    --color-gold-border: rgba(197, 155, 39, 0.32);
    --color-gold-bg: rgba(197, 155, 39, 0.08);

    /* Text & Neutral Hierarchy */
    --color-text-main: #231f20;
    --color-text-body: #4a4242;
    --color-text-muted: #746c6c;
    --color-border-subtle: #ebdcd0;

    /* Typography */
    --font-calligraphy: 'Amiri', 'Traditional Arabic', serif;
    --font-kufi: 'Reem Kufi', 'Amiri', sans-serif;
    --font-sans: 'Alexandria', 'Cairo', system-ui, -apple-system, sans-serif;

    /* Shadows & Transitions */
    --shadow-soft: 0 8px 30px rgba(107, 20, 38, 0.05);
    --shadow-card: 0 12px 36px rgba(107, 20, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-btn: 0 4px 16px rgba(107, 20, 38, 0.25);
    --shadow-btn-hover: 0 6px 20px rgba(107, 20, 38, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-page);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(197, 155, 39, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(107, 20, 38, 0.03) 0%, transparent 40%);
}

/* --- Page Layout Container --- */
.page-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* --- Floating Music Toggle Button --- */
.music-toggle-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-gold-border);
    border-radius: var(--radius-full);
    box-shadow: 0 6px 24px rgba(107, 20, 38, 0.16);
    cursor: pointer;
    color: var(--color-burgundy);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    user-select: none;
    outline: none;
}

.music-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107, 20, 38, 0.24);
    border-color: var(--color-gold);
}

.music-toggle-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.4);
}

.music-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-burgundy);
    color: var(--color-gold-shimmer);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Equalizer Wave Bars */
.equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
}

.equalizer-bars .bar {
    width: 2.5px;
    background: var(--color-gold-shimmer);
    border-radius: 1px;
    animation: barBounce 1.2s ease-in-out infinite alternate;
}

.equalizer-bars .bar-1 { height: 6px; animation-delay: 0.1s; }
.equalizer-bars .bar-2 { height: 12px; animation-delay: 0.3s; }
.equalizer-bars .bar-3 { height: 8px; animation-delay: 0.5s; }
.equalizer-bars .bar-4 { height: 14px; animation-delay: 0.2s; }

@keyframes barBounce {
    0% { height: 4px; }
    50% { height: 14px; }
    100% { height: 6px; }
}

/* Paused State */
.paused-note-icon {
    display: none;
}

.music-toggle-btn.is-paused .equalizer-bars {
    display: none;
}

.music-toggle-btn.is-paused .paused-note-icon {
    display: block;
    color: #ffffff;
}

.music-toggle-btn.is-paused .music-icon-wrapper {
    background: #7e7575;
}

.music-toggle-btn.is-paused {
    color: var(--color-text-muted);
    border-color: rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   SECTION 1: MAIN FLORAL INVITATION CARD (HERO)
   ========================================================================== */
.invitation-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 16px 12px 32px 12px;
}

.invitation-card-container {
    width: 100%;
    max-width: 480px;
    container-type: inline-size;
    perspective: 1000px;
}

.invitation-page + .invitation-page {
    margin-top: 14px;
}

.invitation-frame-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 688 / 1504;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 16px 48px rgba(107, 20, 38, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(197, 155, 39, 0.3);
}

.frame-artwork-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Overlay Inside the Floral Frame */
.invitation-inner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 7cqw 6cqw 5cqw 6cqw;
    text-align: center;
    pointer-events: auto;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.12) 100%);
}

.invitation-page-one,
.invitation-page-two {
    inset: 10% 8%;
    height: 80%;
    padding: 3cqw 4cqw;
    justify-content: center;
    gap: 2.2cqw;
    overflow: hidden;
    border: 1px solid rgba(157, 123, 30, 0.55);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 18px rgba(78, 13, 27, 0.16);
}

.invitation-page-one .bismillah-badge,
.invitation-page-one .invitation-subheading-badge,
.invitation-page-one .honorable-families-block,
.invitation-page-one .invitation-cordial-text,
.invitation-page-two .couple-names-showcase,
.invitation-page-two .gold-divider-ornament,
.invitation-page-two .event-date-container,
.invitation-page-two .frame-scroll-hint {
    margin: 0;
}

.invitation-page-one .honorable-families-block {
    width: 100%;
}

.invitation-page-one .family-column {
    padding: 1.5cqw 1cqw;
}

.invitation-page-one .family-name {
    font-size: clamp(16px, 4.6cqw, 22px);
    line-height: 1.12;
}

.invitation-page-one .family-head {
    font-size: clamp(13px, 3.7cqw, 17px);
    line-height: 1.15;
}

.invitation-page-one .honor-prefix,
.invitation-page-one .invitation-cordial-text {
    line-height: 1.18;
}

.invitation-page-one .invitation-cordial-text {
    max-width: 100%;
    padding: 0 1cqw;
}

.invitation-page-two .couple-names-showcase {
    width: 100%;
    padding: 2.5cqw 2cqw;
}

.invitation-page-two .couple-connector {
    margin: 1cqw auto;
}

.invitation-page-two .event-date-container {
    width: 94%;
    padding: 2cqw;
}

.invitation-page-two .frame-scroll-hint {
    margin-left: 0;
}

.invitation-page-two .frame-scroll-hint {
    margin-top: 0;
}

/* 1. Bismillah Badge - shifted left into open white space */
.bismillah-badge {
    margin-top: 1cqw;
    margin-bottom: 1.5cqw;
    padding: 0.5cqw 2cqw;
    /* Safe clearance from top-right roses */
    margin-right: 12cqw;
}

.bismillah-calligraphy {
    font-family: var(--font-calligraphy);
    font-size: clamp(16px, 4.6cqw, 22px);
    font-weight: 700;
    color: var(--color-gold-deep);
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(197, 155, 39, 0.2);
}

/* 2. Invitation Heading Badge - shifted into open white space */
.invitation-subheading-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.8cqw;
    margin-bottom: 2cqw;
    padding: 0.8cqw 3.5cqw;
    background: rgba(107, 20, 38, 0.04);
    border-top: 1px solid var(--color-gold-border);
    border-bottom: 1px solid var(--color-gold-border);
    border-radius: var(--radius-sm);
    /* Safe clearance from top-right roses */
    margin-right: 10cqw;
}

.invitation-type-text {
    font-family: var(--font-kufi);
    font-size: clamp(16px, 4.6cqw, 22px);
    font-weight: 700;
    color: var(--color-burgundy);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.ornamental-leaf {
    color: var(--color-gold);
    font-size: 3cqw;
}

/* 3. Honorable Families */
.honorable-families-block {
    width: 90%;
    margin-bottom: 1.8cqw;
    /* Gentle clearance from top-right */
    margin-right: 6cqw;
}

.honor-prefix {
    font-family: var(--font-calligraphy);
    font-size: clamp(16px, 4.4cqw, 21px);
    color: var(--color-gold-deep);
    margin-bottom: 1.2cqw;
    line-height: 1.2;
}

.families-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5cqw;
    width: 100%;
}

.family-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2cqw 1cqw;
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-sm);
    border: 0.5px solid rgba(197, 155, 39, 0.2);
    box-shadow: 0 2px 8px rgba(107, 20, 38, 0.03);
}

.family-name {
    font-family: var(--font-calligraphy);
    font-size: clamp(16px, 4.6cqw, 22px);
    font-weight: 700;
    color: var(--color-burgundy-deep);
    line-height: 1.15;
}

.family-head {
    font-family: var(--font-sans);
    font-size: clamp(13px, 3.7cqw, 17px);
    font-weight: 600;
    color: var(--color-text-body);
    margin-top: 0.4cqw;
    line-height: 1.15;
}

.family-separator-icon {
    font-family: var(--font-calligraphy);
    font-size: 4.6cqw;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    display: flex;
    align-items: center;
    margin: 0 0.5cqw;
}

/* 4. Cordial Invitation Line */
.invitation-cordial-text {
    font-family: var(--font-calligraphy);
    font-size: clamp(16px, 4.4cqw, 21px);
    color: var(--color-text-body);
    margin-bottom: 2cqw;
    line-height: 1.2;
    padding: 0 2cqw;
    max-width: 86%;
}

/* 5. Couple Centerpiece */
.couple-names-showcase {
    width: 88%;
    margin-bottom: 2cqw;
    padding: 2.2cqw 2cqw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(254, 250, 248, 0.6) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 155, 39, 0.25);
    box-shadow: 0 4px 16px rgba(107, 20, 38, 0.05);
}

.couple-person {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.relation-badge {
    font-family: var(--font-sans);
    font-size: clamp(13px, 3.7cqw, 17px);
    font-weight: 600;
    color: var(--color-gold-deep);
    margin-bottom: 0.6cqw;
    line-height: 1.2;
}

.person-name {
    font-family: var(--font-calligraphy);
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(107, 20, 38, 0.1);
}

.groom-title {
    font-size: clamp(24px, 7.5cqw, 36px);
    font-weight: 700;
    color: var(--color-burgundy-deep);
    letter-spacing: -0.2px;
}

.bride-title {
    font-size: clamp(22px, 6.6cqw, 32px);
    font-weight: 700;
    color: var(--color-burgundy);
}

.couple-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    width: 82%;
    margin: 1.5cqw auto;
}

.connector-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.connector-text {
    font-family: var(--font-sans);
    font-size: clamp(14px, 3.8cqw, 18px);
    font-weight: 600;
    color: var(--color-gold-deep);
    white-space: nowrap;
}

/* 6. Gold Divider Ornament */
.gold-divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    width: 55%;
    margin-bottom: 1.8cqw;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.divider-gem {
    color: var(--color-gold);
    font-size: 3.5cqw;
}

/* 7. Event Date Badge - safe clearance from bottom-left roses */
.event-date-container {
    width: 80%;
    padding: 1.8cqw 2.5cqw;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gold-border);
    margin-bottom: 2cqw;
    /* Safe clearance from bottom-left roses */
    margin-left: 8cqw;
    box-shadow: 0 2px 10px rgba(107, 20, 38, 0.04);
}

.date-header-day {
    font-family: var(--font-sans);
    font-size: clamp(22px, 5.8cqw, 28px);
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1.1;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 2px rgba(107, 20, 38, 0.08);
}

.date-gregorian {
    font-family: var(--font-sans);
    font-size: clamp(15px, 4.2cqw, 20px);
    font-weight: 600;
    color: var(--color-gold-deep);
    margin-top: 0.5cqw;
    line-height: 1.2;
}

.date-venue-mini {
    font-family: var(--font-sans);
    font-size: clamp(13px, 3.7cqw, 17px);
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 0.5cqw;
    line-height: 1.3;
}

/* 8. Scroll Down Hint - safe clearance from bottom-left roses */
.frame-scroll-hint {
    margin-top: auto;
    margin-bottom: 1.5cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4cqw;
    color: var(--color-burgundy-light);
    opacity: 0.9;
    /* Safe clearance from bottom-left roses */
    margin-left: 12cqw;
}

.hint-text {
    font-family: var(--font-sans);
    font-size: clamp(12px, 3.2cqw, 15px);
    font-weight: 500;
    line-height: 1.2;
}

.hint-chevron {
    animation: gentleBounce 1.8s infinite ease-in-out;
}

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

/* ==========================================================================
   SECTIONS SHARED STYLING (CONTACTS & VENUE)
   ========================================================================== */
.details-section {
    width: 100%;
    max-width: 540px;
    padding: 24px 16px;
    display: flex;
    justify-content: center;
}

.section-inner-container {
    width: 100%;
}

.section-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 22px;
}

.section-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-rose-subtle);
    border: 1px solid var(--color-gold-border);
    color: var(--color-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(107, 20, 38, 0.08);
}

.section-title {
    font-family: var(--font-kufi);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    max-width: 380px;
}

.gold-small-separator {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin-top: 12px;
}

/* ==========================================================================
   SECTION 2: CONTACT SECTION SPECIFIC
   ========================================================================== */
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gold-border);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(107, 20, 38, 0.12);
    border-color: var(--color-gold);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-avatar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-accent);
    border: 1px solid var(--color-gold-border);
    color: var(--color-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-calligraphy);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.highlight-groom-card {
    border: 1.5px solid var(--color-gold);
    background: linear-gradient(135deg, #ffffff 0%, #fffcf8 100%);
}

.highlight-groom-card .groom-avatar {
    background: var(--color-burgundy);
    color: var(--color-gold-shimmer);
}

.contact-meta {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.3;
}

.contact-phone {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold-deep);
    direction: ltr;
    text-align: right;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Call Button */
.call-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-light) 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-btn);
    border: 1px solid var(--color-gold-border);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    cursor: pointer;
}

.call-action-btn:hover {
    background: linear-gradient(135deg, var(--color-burgundy-deep) 0%, var(--color-burgundy) 100%);
    box-shadow: var(--shadow-btn-hover);
    transform: scale(1.03);
    color: var(--color-gold-shimmer);
}

.call-action-btn:active {
    transform: scale(0.98);
}

.phone-btn-icon {
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION 3: WEDDING VENUE & GOOGLE MAPS SPECIFIC
   ========================================================================== */
.venue-section {
    padding-top: 12px;
    padding-bottom: 28px;
}

.venue-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-gold-border);
    box-shadow: var(--shadow-card);
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.venue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-burgundy), var(--color-gold));
}

.venue-ornament-top {
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.venue-name-highlight {
    font-family: var(--font-kufi);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-burgundy-deep);
    margin-bottom: 12px;
    line-height: 1.35;
}

.venue-invitation-caption {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.65;
    max-width: 420px;
    margin-bottom: 24px;
}

.venue-action-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Prominent Tasteful Google Maps Button */
.maps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    min-height: 54px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-burgundy-deep) 0%, var(--color-burgundy) 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--color-gold);
    box-shadow: 0 6px 20px rgba(107, 20, 38, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.maps-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: goldShimmer 4s infinite linear;
}

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

.maps-button:hover {
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-light) 100%);
    box-shadow: 0 8px 26px rgba(107, 20, 38, 0.4);
    transform: translateY(-2px);
    color: var(--color-gold-shimmer);
}

.maps-button:active {
    transform: translateY(0);
}

.maps-pin-icon {
    color: var(--color-gold-shimmer);
    flex-shrink: 0;
}

.maps-external-icon {
    color: var(--color-gold-light);
    flex-shrink: 0;
}

.venue-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--color-gold-deep);
    font-size: 0.88rem;
    font-weight: 600;
}

.gold-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* ==========================================================================
   SECTION 4: CLOSING WISHES & BLESSINGS
   ========================================================================== */
.closing-section {
    width: 100%;
    max-width: 540px;
    padding: 16px 16px 36px 16px;
    display: flex;
    justify-content: center;
}

.closing-card {
    width: 100%;
    padding: 28px 20px;
    background: radial-gradient(circle at center, #ffffff 0%, #faf6f0 100%);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-gold-border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.closing-emblem {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.closing-primary-sentence {
    font-family: var(--font-kufi);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-burgundy);
    margin-bottom: 6px;
}

.closing-secondary-sentence {
    font-family: var(--font-calligraphy);
    font-size: 1.15rem;
    color: var(--color-text-body);
    margin-bottom: 16px;
}

.closing-signature {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(197, 155, 39, 0.2);
    padding-top: 12px;
    width: 80%;
}

.closing-signature strong {
    color: var(--color-burgundy-deep);
    font-size: 0.95rem;
}

/* ==========================================================================
   PAGE FOOTER
   ========================================================================== */
.page-footer {
    width: 100%;
    padding: 24px 16px 40px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--color-border-subtle);
    background: #ffffff;
}

.footer-blessing {
    font-family: var(--font-calligraphy);
    font-size: 1.1rem;
    color: var(--color-gold-deep);
    font-weight: 700;
}

.footer-credit {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS & TOUCH TARGETS
   ========================================================================== */
@media (max-width: 480px) {
    .invitation-hero {
        padding: 8px 6px 20px 6px;
    }
    
    .music-toggle-btn {
        bottom: 16px;
        left: 16px;
        padding: 8px 14px 8px 10px;
        font-size: 0.8rem;
    }

    .details-section {
        padding: 16px 12px;
    }

    .contact-card {
        padding: 12px 14px;
    }

    .contact-name {
        font-size: 0.98rem;
    }

    .contact-phone {
        font-size: 0.9rem;
    }

    .call-action-btn {
        min-height: 42px;
        padding: 0 16px;
        font-size: 0.9rem;
    }

    .venue-card {
        padding: 24px 16px;
    }

    .venue-name-highlight {
        font-size: 1.35rem;
    }

    .maps-button {
        font-size: 0.98rem;
        min-height: 50px;
        padding: 10px 18px;
    }
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
