/* ==========================================================================
   AURA WEDDINGS - LUXURY INTERACTIVE WEDDING EXPERIENCE (ENHANCED EDITION)
   Rich Photography, Kinetic Filmstrip, 3D Tilt, Parallax Breaks & Lightbox
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,600&family=Montserrat:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Pinyon+Script&display=swap');

:root {
    --bg-main: #fcfbf8;
    --bg-secondary: #f4efe6;
    --bg-card: #ffffff;
    --text-primary: #232a26;
    --text-secondary: #5a645e;
    --text-muted: #8d9891;
    --accent-gold: #c5a059;
    --accent-gold-light: #dfc285;
    --accent-gold-dark: #9b7a37;
    --accent-sage: #4a5d52;
    --accent-sage-light: #8ba093;
    --accent-sage-dark: #2c3832;
    --accent-terracotta: #b86b53;
    --border-color: rgba(197, 160, 89, 0.28);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-luxury: 0 20px 50px rgba(44, 56, 50, 0.12);
    --shadow-hover: 0 30px 70px rgba(197, 160, 89, 0.25);
    --font-serif-display: 'Playfair Display', Georgia, serif;
    --font-serif-body: 'Cormorant Garamond', Garamond, serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-script: 'Pinyon Script', cursive;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-pill: 9999px;
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--bg-main); color: var(--text-primary); overflow-x: hidden; }
body {
    font-family: var(--font-sans); line-height: 1.6; font-weight: 300;
    background-color: var(--bg-main); color: var(--text-primary); overflow-x: hidden; position: relative;
}

::selection { background: var(--accent-gold); color: #ffffff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* 1. INTRO WAX SEAL ENVELOPE */
#envelope-screen { display: none !important; 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #2e3b34 0%, #17201b 100%);
    z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 1.2s var(--transition-smooth), visibility 1.2s var(--transition-smooth); padding: 20px;
}
#envelope-screen.opened { opacity: 0; visibility: hidden; pointer-events: none; }

.envelope-wrapper {
    position: relative; width: 340px; height: 240px; perspective: 1200px; cursor: pointer;
    transition: transform 0.6s var(--transition-smooth);
}
@media (min-width: 640px) { .envelope-wrapper { width: 440px; height: 300px; } }
.envelope-wrapper:hover { transform: translateY(-8px) scale(1.02); }

.envelope-base {
    position: absolute; inset: 0; background: #fbf9f4; border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); border: 1px solid rgba(197, 160, 89, 0.35);
    overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.envelope-pocket-left, .envelope-pocket-right {
    position: absolute; bottom: 0; width: 50%; height: 100%; background: #f4efe6;
    clip-path: polygon(0 0, 100% 100%, 0 100%); opacity: 0.95;
}
.envelope-pocket-right { right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.envelope-pocket-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: #ede6d8;
    clip-path: polygon(0 100%, 50% 25%, 100% 100%); border-top: 1px solid rgba(197, 160, 89, 0.2);
}
.envelope-flap {
    position: absolute; top: 0; left: 0; width: 100%; height: 55%; background: #f5eedf;
    clip-path: polygon(0 0, 50% 100%, 100% 0); transform-origin: top center;
    transition: transform 0.9s var(--transition-smooth); z-index: 10;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.envelope-wrapper.open-anim .envelope-flap { transform: rotateX(180deg); z-index: 1; }

.wax-seal {
    position: absolute; top: 48%; left: 50%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; background: radial-gradient(circle at 35% 35%, #eecf84 0%, #c5a059 45%, #886523 100%);
    border-radius: 50%; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    z-index: 20; display: flex; align-items: center; justify-content: center; color: #4a340b; cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease; border: 2px dashed rgba(255, 255, 255, 0.3);
}
.wax-seal:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 12px 28px rgba(197, 160, 89, 0.45); }
.wax-monogram { font-family: var(--font-serif-display); font-size: 1.4rem; font-weight: 700; }

.envelope-invite-card {
    position: absolute; width: 88%; height: 85%; background: #ffffff; top: 10%; left: 6%;
    padding: 20px; border-radius: 4px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.4); transition: transform 1s var(--transition-smooth); z-index: 2;
}
.envelope-wrapper.open-anim .envelope-invite-card { transform: translateY(-80px) scale(1.05); z-index: 15; }

.envelope-tagline {
    margin-top: 32px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; letter-spacing: 0.2em;
    text-transform: uppercase; animation: pulseGlow 2.5s infinite ease-in-out;
}
@keyframes pulseGlow { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }

/* 2. FLOATING HEADER */
.floating-header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000;
    display: flex; align-items: center; gap: 12px; padding: 8px 18px;
    background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 160, 89, 0.3); border-radius: var(--radius-pill); box-shadow: var(--shadow-luxury);
}
.floating-nav-links { display: flex; align-items: center; gap: 18px; list-style: none; }
.floating-nav-links a {
    text-decoration: none; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-primary); font-weight: 500; transition: color 0.3s ease;
}
.floating-nav-links a:hover { color: var(--accent-gold); }

.audio-btn, .rsvp-quick-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill);
    border: none; font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}
.audio-btn { background: rgba(197, 160, 89, 0.12); color: var(--accent-gold-dark); border: 1px solid var(--border-color); }
.audio-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.audio-bar { width: 2px; height: 100%; background: var(--accent-gold); border-radius: 2px; animation: barBounce 1s infinite alternate ease-in-out; }
.audio-bar:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; height: 80%; }
.audio-btn.muted .audio-bar { animation: none; height: 3px; }
@keyframes barBounce { 0% { height: 20%; } 100% { height: 100%; } }
.rsvp-quick-btn { background: var(--accent-sage-dark); color: #ffffff; box-shadow: 0 4px 12px rgba(44, 56, 50, 0.25); }
.rsvp-quick-btn:hover { background: var(--accent-gold-dark); transform: translateY(-2px); }

/* 3. HERO & COUNTDOWN */
.hero-section {
    position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; padding: 110px 20px 60px;
    background: radial-gradient(circle at 50% 30%, rgba(244, 239, 230, 0.8) 0%, rgba(252, 251, 248, 1) 75%);
    z-index: 2; overflow: hidden;
}
.hero-names {
    font-family: var(--font-serif-display); font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 400;
    line-height: 1.05; color: var(--accent-sage-dark); letter-spacing: -0.02em; margin-bottom: 12px;
}
.hero-names span.ampersand { font-family: var(--font-script); font-size: 1.2em; color: var(--accent-gold); padding: 0 8px; }
.hero-date-location {
    font-family: var(--font-serif-body); font-size: clamp(1.2rem, 3vw, 1.8rem); font-style: italic;
    color: var(--text-secondary); margin-bottom: 40px;
}

.hero-image-frame {
    position: relative; width: 290px; height: 390px; margin: 0 auto 40px;
    border-radius: 180px 180px 24px 24px; overflow: hidden; box-shadow: var(--shadow-luxury);
    border: 8px solid #ffffff; outline: 1px solid var(--border-color); cursor: pointer;
    transition: transform 0.6s var(--transition-smooth), box-shadow 0.6s ease;
}
@media (min-width: 768px) { .hero-image-frame { width: 360px; height: 490px; } }
.hero-image-frame:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-hover); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--transition-smooth); }
.hero-image-frame:hover img { transform: scale(1.06); }

.countdown-box { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.countdown-unit {
    background: #ffffff; border: 1px solid var(--border-color); padding: 14px 18px;
    border-radius: var(--radius-md); min-width: 74px; box-shadow: var(--shadow-soft); text-align: center;
}
.countdown-num { font-family: var(--font-serif-display); font-size: 1.8rem; font-weight: 600; color: var(--accent-sage-dark); line-height: 1; }
.countdown-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* 4. KINETIC FILMSTRIP CAROUSEL (NEW CINEMATIC FEATURE) */
.filmstrip-section {
    padding: 60px 0; overflow: hidden; position: relative; z-index: 2;
    background: #f4efe6; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.filmstrip-title {
    text-align: center; font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--accent-gold-dark); margin-bottom: 24px; font-weight: 600;
}
.marquee-track {
    display: flex; gap: 20px; width: max-content;
    animation: marqueeScroll 35s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.film-item {
    width: 220px; height: 280px; flex-shrink: 0; border-radius: var(--radius-md);
    overflow: hidden; background: #ffffff; padding: 6px 6px 28px 6px; box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 160, 89, 0.3); transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer; position: relative;
}
.film-item:hover { transform: translateY(-8px) scale(1.04); box-shadow: var(--shadow-luxury); }
.film-item img { width: 100%; height: 210px; object-fit: cover; border-radius: 4px; }
.film-caption {
    position: absolute; bottom: 8px; left: 12px; font-family: var(--font-script);
    font-size: 1.15rem; color: var(--accent-sage-dark);
}

/* 5. DIRECTIONAL ANIMATIONS & 3D TILT CARDS */
.reveal {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
    will-change: transform, opacity;
}
.reveal[data-anim="slide-left"] { opacity: 0; transform: translateX(-40px); }
.reveal[data-anim="slide-right"] { opacity: 0; transform: translateX(40px); }
.reveal[data-anim="slide-up"] { opacity: 0; transform: translateY(30px); }
.reveal[data-anim="scale-up"] { opacity: 0; transform: scale(0.96) translateY(20px); }

.reveal.is-visible,
.reveal.active {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

.story-section { padding: 100px 0; position: relative; z-index: 2; }
.story-grid { display: flex; flex-direction: column; gap: 80px; }
.story-item { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 860px) {
    .story-item { grid-template-columns: 1fr 1fr; gap: 60px; }
    .story-item:nth-child(even) .story-image-wrap { order: 2; }
}
.story-polaroid {
    background: #ffffff; padding: 14px 14px 44px 14px; border-radius: 4px;
    box-shadow: var(--shadow-luxury); border: 1px solid rgba(197, 160, 89, 0.25);
    position: relative; cursor: pointer; transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s ease;
}
.story-polaroid:hover { transform: rotate(0) scale(1.03) !important; box-shadow: var(--shadow-hover); }
.story-polaroid img { width: 100%; height: 340px; object-fit: cover; border-radius: 2px; }
.polaroid-caption { position: absolute; bottom: 12px; left: 20px; font-family: var(--font-script); font-size: 1.4rem; color: var(--accent-sage-dark); }

/* 6. MASONRY PHOTO GALLERY (NEW LUXURY MOSAIC) */
.gallery-section { padding: 100px 0; position: relative; z-index: 2; background: #faf8f3; }
.mosaic-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
@media (min-width: 768px) { .mosaic-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.mosaic-card {
    position: relative; border-radius: var(--radius-md); overflow: hidden; height: 260px;
    box-shadow: var(--shadow-soft); cursor: pointer; border: 1px solid var(--border-color);
    transition: transform 0.6s var(--transition-smooth), box-shadow 0.6s ease;
}
.mosaic-card.tall { height: 380px; grid-row: span 2; }
.mosaic-card.wide { grid-column: span 2; }
.mosaic-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-luxury); }
.mosaic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--transition-smooth); }
.mosaic-card:hover img { transform: scale(1.08); }
.mosaic-overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(44, 56, 50, 0.8) 100%);
    opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: flex-end; padding: 20px;
    color: #ffffff;
}
.mosaic-card:hover .mosaic-overlay { opacity: 1; }
.mosaic-tag { font-family: var(--font-script); font-size: 1.5rem; color: var(--accent-gold-light); }

/* 7. FULL BLEED PARALLAX PHOTO BREAK */
.parallax-break {
    position: relative; height: 420px; background-attachment: fixed; background-position: center;
    background-repeat: no-repeat; background-size: cover; display: flex; align-items: center;
    justify-content: center; text-align: center; color: #ffffff; z-index: 2;
}
.parallax-overlay {
    position: absolute; inset: 0; background: rgba(35, 42, 38, 0.55); backdrop-filter: blur(2px);
}
.parallax-content { position: relative; z-index: 3; padding: 20px; max-width: 720px; }
.parallax-quote { font-family: var(--font-serif-display); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; }

/* 8. LIGHTBOX MODAL */
#lightbox-modal {
    position: fixed; inset: 0; background: rgba(15, 20, 18, 0.94); z-index: 999999;
    display: none; align-items: center; justify-content: center; padding: 30px;
    backdrop-filter: blur(12px); animation: fadeIn 0.4s ease;
}
#lightbox-modal.active { display: flex; }
.lightbox-img-wrap {
    position: relative; max-width: 900px; max-height: 85vh; border-radius: var(--radius-md);
    overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); border: 2px solid var(--accent-gold);
}
.lightbox-img-wrap img { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; }
.lightbox-close {
    position: absolute; top: 20px; right: 25px; color: #ffffff; font-size: 2rem; cursor: pointer;
    background: rgba(255, 255, 255, 0.15); width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: none;
}
.lightbox-caption {
    position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.75);
    color: var(--accent-gold-light); padding: 14px 24px; text-align: center; font-family: var(--font-serif-body);
    font-size: 1.2rem; font-style: italic;
}

/* 9. ITINERARIO, DRESS CODE & RSVP STYLES */
.itinerary-section { padding: 100px 0; background: #fdfbf7; position: relative; z-index: 2; }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .events-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.event-card {
    background: #ffffff; border-radius: var(--radius-lg); padding: 36px 30px;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-luxury); text-align: center;
    position: relative; overflow: hidden; transition: transform 0.4s var(--transition-smooth);
}
.event-card:hover { transform: translateY(-8px); border-color: var(--accent-gold); }
.btn-map, .btn-calendar {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius-pill);
    text-decoration: none; font-size: 0.82rem; font-weight: 500; transition: all 0.3s ease;
}
.btn-map { background: var(--accent-sage); color: #ffffff; }
.btn-calendar { background: #ffffff; color: var(--accent-gold-dark); border: 1px solid var(--border-color); }

.dress-card { background: #ffffff; border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--border-color); box-shadow: var(--shadow-luxury); text-align: center; }
.swatches-grid { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.swatch-circle { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 6px; border: 2px solid #ffffff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); }

.rsvp-section { padding: 110px 0; background: radial-gradient(circle at center, #2f3e36 0%, #1a231e 100%); color: #ffffff; position: relative; z-index: 2; }
.rsvp-card-wrapper {
    max-width: 640px; margin: 0 auto; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 160, 89, 0.35); border-radius: var(--radius-lg); padding: 40px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.form-input, .form-select { 
    width: 100%; 
    background: #ffffff !important; 
    border: 1.5px solid rgba(217, 119, 6, 0.4) !important; 
    border-radius: 10px !important; 
    padding: 12px 16px; 
    color: #0f172a !important; 
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px; 
    outline: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.form-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}
.form-select option {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    padding: 10px;
}
.form-select option:disabled {
    color: #94a3b8 !important;
}

/* HIGH-END FLOATING TOAST NOTIFICATION */
.aura-toast {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid #d97706;
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.aura-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Radio Cards for Menu Selection in RSVP */
.menu-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 8px;
    margin-bottom: 22px;
}
@media (min-width: 540px) {
    .menu-options-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.menu-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}
.menu-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold-light);
    transform: translateY(-3px);
}
.menu-card.selected {
    border: 1.5px solid var(--accent-gold);
    background: rgba(197, 160, 89, 0.18);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.35), inset 0 0 12px rgba(197, 160, 89, 0.15);
    transform: translateY(-2px);
}
.menu-card-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
    display: block;
}
.menu-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}
.menu-card-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
}

/* INDIVIDUAL GUEST RSVP BLOCKS */
.guest-section-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 16px;
    padding: 22px 20px 14px 20px;
    margin-bottom: 22px;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
}
.guest-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.3);
}
.guest-section-badge {
    background: linear-gradient(135deg, #d4af37 0%, #aa8022 100%);
    color: #1a231e;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 3px 12px;
    border-radius: 20px;
}
.guest-section-title {
    font-family: var(--font-serif-display);
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 600;
}

.guest-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 18px;
}
@media (max-width: 620px) {
    .guest-menu-grid {
        grid-template-columns: 1fr;
    }
}
.guest-menu-option {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}
.guest-menu-option:hover {
    background: rgba(197, 160, 89, 0.14);
    border-color: rgba(197, 160, 89, 0.45);
    transform: translateY(-2px);
}
.guest-menu-option.selected {
    background: rgba(212, 175, 55, 0.24) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px);
}
.guest-menu-option-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 4px;
}
.guest-menu-option-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.guest-menu-option-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}
.form-label-gold {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-align: left;
}


/* CALENDAR SYNC */
.calendar-btn-group {
    display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap;
}
.btn-calendar {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
    border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--accent-gold); color: var(--accent-sage-dark);
    font-size: 0.8rem; font-weight: 600; text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
}
.btn-calendar:hover { background: var(--accent-gold); color: #fff; transform: translateY(-2px); }

/* GIFT EXPERIENCES GRID */
.gift-experiences-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto;
}
@media (min-width: 640px) { .gift-experiences-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .gift-experiences-grid { grid-template-columns: repeat(4, 1fr); } }
.gift-exp-card {
    background: #ffffff; border: 1px solid #e8e3d9; border-radius: 16px; padding: 24px 16px;
    text-align: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04); display: flex; flex-direction: column; justify-content: space-between;
}
.gift-exp-card:hover {
    transform: translateY(-5px); border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.2);
}
.gift-exp-icon { font-size: 2.2rem; margin-bottom: 8px; display: block; }
.gift-exp-title { font-family: var(--font-serif-display); font-size: 1.15rem; color: var(--accent-sage-dark); margin-bottom: 6px; }
.gift-exp-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 12px; flex-grow: 1; }
.gift-exp-price { font-size: 1.1rem; font-weight: 700; color: var(--accent-gold-dark); margin-bottom: 12px; }
.btn-gift-exp {
    background: var(--bg-secondary); color: var(--accent-sage-dark); border: 1px solid var(--accent-gold-light);
    padding: 7px 14px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; cursor: pointer;
    transition: all 0.25s ease;
}
.gift-exp-card:hover .btn-gift-exp { background: var(--accent-gold); color: #fff; }

.btn-store-link {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
    border-radius: var(--radius-pill); background: #f7f3ec; border: 1px solid #dcd3c5;
    color: var(--accent-sage-dark); font-size: 0.8rem; font-weight: 600; text-decoration: none;
    transition: all 0.3s ease;
}
.btn-store-link:hover { background: var(--accent-sage-dark); color: #fff; }

/* RSVP DEADLINE BADGE */
.rsvp-deadline-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px;
    background: rgba(197, 160, 89, 0.2); border: 1px solid var(--accent-gold);
    color: var(--accent-gold-light); border-radius: var(--radius-pill); font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}

/* ATTENDANCE TOGGLE */
.attendance-toggle-group {
    display: flex; gap: 12px; margin-bottom: 24px; justify-content: center;
}
.btn-att-toggle {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06); color: #ffffff; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
}
.btn-att-toggle.active {
    background: var(--accent-gold); color: #2a3830; border-color: var(--accent-gold-light);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

/* HIGH-END LUXURY RSVP SUBMIT BUTTON */
.btn-rsvp-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 16px 28px !important;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
    color: #17201b !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: var(--radius-pill, 50px) !important;
    font-family: var(--font-sans, 'Montserrat', sans-serif) !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-top: 15px !important;
}

.btn-rsvp-submit:hover {
    transform: translateY(-3px) scale(1.02) !important;
    background: linear-gradient(135deg, #e5c158 0%, #c99718 100%) !important;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

.btn-rsvp-submit:active {
    transform: translateY(1px) scale(0.98) !important;
}

.btn-rsvp-submit.decline-mode {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    color: #1e293b !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

.btn-rsvp-submit.decline-mode:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

/* QR CODE WRAPPER */
.qrcode-wrapper {
    display: flex; justify-content: center; align-items: center; margin: 14px auto 8px;
    background: #ffffff; padding: 12px; border-radius: 12px; width: 144px; height: 144px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* ==========================================================================
   AURA BOTANICAL POLAROID SCRAPBOOK STYLES
   ========================================================================== */
.scrapbook-section {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(138, 154, 91, 0.05) 0%, transparent 60%),
                var(--color-bg);
    position: relative;
    overflow: hidden;
}
.scrapbook-header {
    text-align: center;
    margin-bottom: 60px;
}
.scrapbook-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--accent-gold-dark, #a38139);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}
.scrapbook-title {
    font-family: var(--font-serif-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--color-primary);
    margin-bottom: 12px;
}
.scrapbook-desc {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}
.scrapbook-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 40px;
    padding: 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}
.polaroid-card {
    background: #ffffff;
    padding: 14px 14px 22px 14px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    position: relative;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.45s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.polaroid-1 { transform: rotate(-3.5deg) translateY(0); }
.polaroid-2 { transform: rotate(2.8deg) translateY(10px); }
.polaroid-3 { transform: rotate(-2.2deg) translateY(-8px); }
.polaroid-4 { transform: rotate(4.2deg) translateY(6px); }

.polaroid-card:hover {
    transform: rotate(0deg) translateY(-14px) scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(74, 85, 59, 0.18), 0 8px 16px rgba(0,0,0,0.06);
    z-index: 10;
}
.polaroid-img-wrap {
    width: 100%;
    aspect-ratio: 4/4.5;
    overflow: hidden;
    border-radius: 2px;
    background: #e8e6e1;
}
.polaroid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: sepia(10%) contrast(102%);
}
.polaroid-card:hover .polaroid-img-wrap img {
    transform: scale(1.08);
    filter: sepia(0%) contrast(106%);
}
.polaroid-caption {
    padding-top: 14px;
    text-align: center;
}
.polaroid-date {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--accent-gold-dark, #a38139);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
.polaroid-note {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 6px;
}
.polaroid-location {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}
/* Washi Tape Decorator */
.washi-tape {
    position: absolute;
    width: 85px;
    height: 24px;
    background: rgba(240, 235, 220, 0.75);
    backdrop-filter: blur(2px);
    border: 1px dashed rgba(212, 175, 55, 0.35);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 5;
}
.tape-top-center {
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
}
.tape-top-left {
    top: -10px;
    left: 10px;
    transform: rotate(-12deg);
}
.tape-top-right {
    top: -10px;
    right: 10px;
    transform: rotate(14deg);
}
/* Wax Seal Badge */
.wax-seal-badge {
    position: absolute;
    bottom: 40px;
    right: -14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d4af37 0%, #8f6c18 100%);
    box-shadow: 0 4px 12px rgba(143, 108, 24, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f6e6b4;
    z-index: 6;
    transition: transform 0.4s ease;
}
.wax-seal-badge span {
    font-family: var(--font-serif-display);
    font-weight: 700;
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.polaroid-card:hover .wax-seal-badge {
    transform: scale(1.15) rotate(10deg);
}


/* ==========================================================================
   AURA WEDDINGS LUXURY FLOATING NAVBAR & HERO SPACING
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

#envelope-screen {
    display: none !important;
}

.hero-section {
    padding-top: 130px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
                var(--color-bg, #fbf9f5);
}

.aura-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1050px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(74, 85, 59, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.aura-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.aura-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-monogram {
    font-family: var(--font-script, 'Playfair Display', cursive);
    font-size: 2.1rem;
    color: var(--accent-gold-dark, #a38139);
    line-height: 1;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.aura-brand:hover .brand-monogram {
    transform: scale(1.06);
}

.aura-nav-menu {
    display: flex;
    align-items: center;
}

.aura-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aura-nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aura-nav-links a.nav-link {
    text-decoration: none !important;
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-primary, #2d3748);
    letter-spacing: 0.04em;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.aura-nav-links a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gold-dark, #a38139);
    transition: width 0.3s ease;
}

.aura-nav-links a.nav-link:hover,
.aura-nav-links a.nav-link.active {
    color: var(--accent-gold-dark, #a38139);
}

.aura-nav-links a.nav-link:hover::after {
    width: 100%;
}

.nav-rsvp-btn {
    background: linear-gradient(135deg, #d4af37, #a38139);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(163, 129, 57, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-rsvp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(163, 129, 57, 0.45);
}

/* MUSIC BUTTON */
.aura-music-btn {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--color-primary, #2d3748);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.aura-music-btn:hover {
    background: #fdfaf4;
    border-color: var(--accent-gold, #d4af37);
    transform: scale(1.05);
}

.aura-music-btn.playing {
    background: #fefce8;
    border-color: #d4af37;
    color: #a38139;
}

/* HAMBURGER FOR MOBILE */
.aura-hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.aura-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--color-primary, #2d3748);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 860px) {
    .aura-nav-links {
        display: none;
    }
    .aura-hamburger {
        display: flex;
    }
    .aura-nav-menu.mobile-open .aura-nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
        border: 1px solid rgba(197, 160, 89, 0.3);
        gap: 16px;
    }
}


/* ==========================================================================
   AURA HAUTE EDITORIAL ARCHED HERO PORTRAIT
   ========================================================================== */
.hero-portrait-wrapper {
    margin: 35px auto 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
}

.hero-portrait-arch {
    width: 100%;
    aspect-ratio: 4 / 5.2;
    border-radius: 220px 220px 24px 24px;
    overflow: hidden;
    position: relative;
    background: #e8e6df;
    box-shadow: 0 25px 60px rgba(74, 85, 59, 0.18), 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 3px solid rgba(255, 255, 255, 0.9);
    outline: 1px solid rgba(197, 160, 89, 0.45);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.hero-portrait-arch:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 75px rgba(74, 85, 59, 0.24), 0 12px 30px rgba(197, 160, 89, 0.2);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    filter: sepia(6%) contrast(104%) brightness(0.98);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.hero-portrait-arch:hover .hero-main-img {
    transform: scale(1.06);
    filter: sepia(0%) contrast(108%) brightness(1.02);
}

.arch-gold-trim {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 210px 210px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 2;
}

.portrait-corner-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.5);
    color: var(--accent-gold-dark, #a38139);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ==========================================================================
   PASSES SPLIT & DYNAMIC ATTENDEES (ADULTS & KIDS WITH KIDS MENU) - AURA
   ========================================================================== */
.passes-split-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 22px;
    text-align: left;
}

.passes-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 12px;
}

@media (max-width: 540px) {
    .passes-split-grid {
        grid-template-columns: 1fr;
    }
}

.passes-summary-badge {
    background: rgba(212, 175, 55, 0.12);
    border: 1px dashed rgba(212, 175, 55, 0.45);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    color: var(--accent-gold-light, #f1dfa8);
    text-align: center;
    font-weight: 700;
}

.guest-person-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

.guest-person-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: var(--font-serif-display);
    color: var(--accent-gold-light, #f1dfa8);
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.3);
    padding-bottom: 8px;
}

.kid-card {
    border-left: 4px solid var(--accent-gold, #c5a059) !important;
    background: rgba(197, 160, 89, 0.08) !important;
}

.menu-choice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 540px) {
    .menu-choice-row {
        grid-template-columns: 1fr;
    }
}

.menu-choice-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
    user-select: none;
}

.menu-choice-pill:hover {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(212, 175, 55, 0.12);
}

.menu-choice-pill.active {
    border: 2px solid #d4af37;
    background: rgba(212, 175, 55, 0.25);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

/* POLICY PILL & ADULTS ONLY MODE - AURA */
.btn-policy-pill {
    background: transparent;
    border: none;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-policy-pill.active {
    background: rgba(212, 175, 55, 0.35);
    color: #ffffff;
    border: 1px solid #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}
.passes-split-grid.adults-only {
    grid-template-columns: 1fr !important;
}
