/* ----------------------------------------------------
   Luxury Wedding Landing - Design System & Variables
   ---------------------------------------------------- */

:root {
    /* Color Palette */
    --color-bg: #FCFBFA;          /* Luxurious warm off-white (Ivory) */
    --color-bg-dark: #F6F4F0;     /* Soft contrast ivory/beige */
    --color-text: #2D2A26;        /* Deep warm charcoal */
    --color-text-muted: #726E69;  /* Muted charcoal */
    --color-gold-light: #EBDCB9;  /* Soft champagne gold */
    --color-gold: #C5A059;        /* Premium balanced gold */
    --color-gold-dark: #9F7E3B;   /* Deep gold accent */
    --color-glass-bg: rgba(252, 251, 250, 0.88);
    --color-glass-border: rgba(197, 160, 89, 0.3);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', Helvetica, sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.3s ease;
    --shadow-soft: 0 15px 35px rgba(44, 42, 41, 0.05);
    --shadow-gold: 0 12px 30px rgba(197, 160, 89, 0.15);
    --shadow-glass: 0 20px 45px rgba(0, 0, 0, 0.05);
    
    /* Layout */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;

    /* Local Image Path overrides (Put your photos in 'images/' folder) */
    --img-hero: url('images/hero_bg.jpg');
    --img-parallax-1: url('images/photo_1.jpg');
    --img-parallax-2: url('images/photo_2.jpg');
    --img-parallax-3: url('images/photo_3.jpg');
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: 0.03em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    text-align: center;
}

.font-serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
}

/* ----------------------------------------------------
   Luxury Decorations & Ornaments
   ---------------------------------------------------- */

.divider-gold {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 25px auto 45px;
    position: relative;
}

.divider-gold::after {
    content: '♦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-gold);
    font-size: 0.7rem;
    background: var(--color-bg);
    padding: 0 8px;
}

.timeline-section .divider-gold::after {
    background: var(--color-bg-dark);
}

.rsvp-section .divider-gold::after {
    background: var(--color-bg-dark);
}

/* Monogram Badge Wrapper */
.monogram-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.monogram-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    font-weight: 300;
}

.decor-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold));
}

.right-line {
    background: linear-gradient(to left, transparent, var(--color-gold));
}

/* Floral Divider SVGs */
.floral-divider {
    width: 140px;
    height: 40px;
    margin: 0 auto 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30" fill="none" stroke="%23C5A059" stroke-width="1"><path d="M10,15 Q30,5 50,15 Q70,5 90,15 M50,5 L50,25 M40,10 Q50,20 60,10" /></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.bottom-divider {
    margin-top: 30px;
    margin-bottom: 0;
    transform: scaleY(-1);
}

/* Corner frames for Luxury Layout */
.luxury-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    pointer-events: none;
    z-index: 10;
}

.top-left {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.top-left::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-gold);
    border-left: 2px solid var(--color-gold);
}

.top-right {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
}

.top-right::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-gold);
    border-right: 2px solid var(--color-gold);
}

.bottom-left {
    bottom: 40px;
    left: 40px;
    border-right: none;
    border-top: none;
}

.bottom-left::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--color-gold);
    border-left: 2px solid var(--color-gold);
}

.bottom-right {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

.bottom-right::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--color-gold);
    border-right: 2px solid var(--color-gold);
}

.floral-svg-center {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 100px;
    opacity: 0.05;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60" fill="none" stroke="%23C5A059" stroke-width="1.5"><path d="M10,30 C60,0 140,0 190,30 C150,5 50,5 10,30 Z" /><circle cx="100" cy="18" r="4" fill="%23C5A059"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-glass), var(--shadow-gold);
    border-radius: var(--border-radius-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #EAD6B3 0%, #C5A059 50%, #9F7E3B 100%);
    color: #FFF;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.06);
    color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

/* ----------------------------------------------------
   Parallax Background Sections
   ---------------------------------------------------- */

.parallax-container {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Prevent image truncation in Safari/iOS by scaling the viewport attachment */
    min-height: 100%; 
}

/* Parallax Premium Images with Local Overrides */
.parallax-1 {
    background-image: var(--img-parallax-1, url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=1920&auto=format&fit=crop'));
}

.parallax-2 {
    background-image: var(--img-parallax-2, url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?q=80&w=1920&auto=format&fit=crop'));
}

.parallax-3 {
    background-image: var(--img-parallax-3, url('https://images.unsplash.com/photo-1507504038482-7621c37b3f7e?q=80&w=1920&auto=format&fit=crop'));
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(252, 251, 250, 0.4) 0%, rgba(20, 19, 18, 0.55) 100%);
    z-index: 1;
}

.parallax-quote {
    position: relative;
    z-index: 2;
    color: #FFF;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    padding: 0 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
    max-width: 750px;
}

/* Disable absolute fixed background-attachment on mobile devices to prevent cutoff/black spaces */
@media (max-width: 1024px) {
    .parallax-bg {
        background-attachment: scroll !important;
        background-position: center center;
    }
}

/* ----------------------------------------------------
   Floating elements
   ---------------------------------------------------- */

.audio-control {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-quick);
}

.audio-control:hover {
    transform: scale(1.1);
    border-color: var(--color-gold);
}

.audio-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.audio-waves span {
    width: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
    animation: bounce 1.2s ease infinite alternate;
    height: 4px;
    transform-origin: bottom;
}

.audio-waves span:nth-child(2) { animation-delay: 0.2s; }
.audio-waves span:nth-child(3) { animation-delay: 0.4s; }
.audio-waves span:nth-child(4) { animation-delay: 0.6s; }

.audio-control.paused .audio-waves span {
    animation-play-state: paused;
    height: 4px !important;
}

@keyframes bounce {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* Floating Language Switcher */
.lang-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    padding: 5px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 18px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.lang-btn.active {
    background: linear-gradient(135deg, #EAD6B3, #C5A059);
    color: #FFF;
}

/* ----------------------------------------------------
   Hero Section
   ---------------------------------------------------- */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    background: radial-gradient(circle at center, #FCFBFA 0%, #F5F3EF 100%);
}

.decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.ring-decor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    border: 1px solid rgba(197, 160, 89, 0.08);
    border-radius: 50%;
}

.ring-decor::before {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px dashed rgba(197, 160, 89, 0.05);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.names {
    font-size: 4.8rem;
    line-height: 1.15;
    margin-bottom: 30px;
    color: var(--color-text);
    word-spacing: 0.1em;
}

.names .ampersand {
    font-style: italic;
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
    line-height: 1.9;
    text-align: center;
}

/* Countdown */
.countdown-container {
    margin-bottom: 50px;
    text-align: center;
}

.countdown-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

.countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    padding: 24px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-val {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1;
}

.time-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.time-separator {
    width: 1px;
    height: 40px;
    background: rgba(197, 160, 89, 0.3);
    margin: 0 5px;
}

.scroll-down-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    z-index: 2;
}

.arrow-down {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--color-gold);
    border-right: 2px solid var(--color-gold);
    transform: rotate(45deg);
    animation: bounceDown 2.2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-8px) rotate(45deg); }
    60% { transform: translateY(-4px) rotate(45deg); }
}

/* ----------------------------------------------------
   Invitation Section
   ---------------------------------------------------- */

.invitation-section {
    padding: 140px 20px;
    text-align: center;
    background-color: var(--color-bg);
    position: relative;
}

.decor-bg-leaves {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.02"><path fill="%23C5A059" d="M10,90 Q30,70 60,65 Q70,30 90,10 C70,30 65,60 10,90 Z"/></svg>');
    background-repeat: space;
    background-size: 150px;
    pointer-events: none;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.8rem;
    color: var(--color-text);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-align: center;
}

.invitation-text {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    max-width: 680px;
    margin: 0 auto;
    font-style: italic;
    text-align: center;
}

/* ----------------------------------------------------
   Timeline Section
   ---------------------------------------------------- */

.timeline-section {
    padding: 140px 20px;
    background-color: var(--color-bg-dark);
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--color-gold) 15%, var(--color-gold) 85%, transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(even) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(odd) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: var(--shadow-soft);
}

.timeline-dot svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold-dark);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: -18px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: -18px;
}

.timeline-content {
    background: var(--color-bg);
    padding: 30px 35px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 160, 89, 0.12);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--color-gold);
}

.timeline-content .time {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-text);
    text-align: inherit;
}

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

/* ----------------------------------------------------
   Venue Section
   ---------------------------------------------------- */

.venue-section {
    padding: 140px 20px;
    background-color: var(--color-bg);
}

.venue-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    max-width: 1000px;
    margin: 50px auto 0;
    align-items: center;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
}

.venue-info {
    padding-right: 20px;
    text-align: left;
}

.venue-hall-name {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: left;
}

.venue-address {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 35px;
}

.map-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.map-btn {
    padding: 14px 28px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.map-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 160, 89, 0.15);
    height: 350px;
}

/* ----------------------------------------------------
   Gold Glow Orbs & Light Effects
   ---------------------------------------------------- */

.gold-glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    top: 15%;
    left: 10%;
}

.orb-2 {
    bottom: 10%;
    right: 15%;
}

.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
}

/* Shimmer animation for headers */
.shimmer-text {
    background: linear-gradient(90deg, var(--color-text) 0%, var(--color-gold) 50%, var(--color-text) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Glass Wrapper for Invitation text to give visual volume */
.invitation-card {
    max-width: 720px;
    margin: 40px auto;
    padding: 60px 45px;
    background: var(--color-glass-bg);
    border: 1px solid rgba(197, 160, 89, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-glass), var(--shadow-gold);
    border-radius: var(--border-radius-lg);
}

/* ----------------------------------------------------
   Dear Guests Section
   ---------------------------------------------------- */

.guests-section {
    padding: 140px 20px;
    text-align: center;
    background-color: var(--color-bg-dark);
}

.guests-text {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    max-width: 720px;
    margin: 0 auto;
    font-style: italic;
    text-align: center;
}

/* RSVP Section
   ---------------------------------------------------- */

.rsvp-section {
    padding: 140px 20px;
    background-color: var(--color-bg-dark);
}

.rsvp-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: -25px;
    margin-bottom: 50px;
}

.rsvp-card {
    max-width: 550px;
    margin: 0 auto;
    background: var(--color-bg);
    border: 1px solid var(--color-glass-border);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-align: left;
}

.form-group input[type="text"] {
    padding: 16px 20px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    background-color: var(--color-bg);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    outline: none;
    transition: var(--transition-quick);
}

.form-group input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Radio Button Options */
.presence-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 16px 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg);
    transition: var(--transition-quick);
    justify-content: center;
}

.radio-option:hover {
    border-color: var(--color-gold);
}

.radio-option input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .custom-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #EAD6B3, #C5A059);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option input[type="radio"]:checked + .custom-radio + span {
    color: var(--color-gold-dark);
}

.btn-submit {
    margin-top: 15px;
    width: 100%;
}

/* ----------------------------------------------------
   Final Section
   ---------------------------------------------------- */

.final-section {
    padding: 160px 20px;
    text-align: center;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.final-text-title {
    font-size: 3.6rem;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
}

.final-text-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 50px;
    font-weight: 300;
    text-align: center;
}

.signature {
    margin-top: 20px;
}

.signature .love {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.7rem;
    color: var(--color-gold-dark);
    margin-bottom: 8px;
}

.signature .names-sign {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.signature .organizers {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------
   Success Modal
   ---------------------------------------------------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background-color: rgba(44, 42, 41, 0.45);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-quick);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 450px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.modal-icon svg {
    width: 36px;
    height: 36px;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

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

/* ----------------------------------------------------
   Scroll triggered entry animations
   ---------------------------------------------------- */

.scroll-anim {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.animated {
    opacity: 1;
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    transform: translateX(-60px);
}

.slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    transform: translateX(60px);
}

.slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* ----------------------------------------------------
   Responsive Layout (Mobile First adjustments)
   ---------------------------------------------------- */

@media (max-width: 990px) {
    .venue-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .venue-info {
        padding-right: 0;
        text-align: center;
    }
    
    .venue-hall-name {
        text-align: center;
    }
    
    .map-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* ── Global section spacing ── */
    .hero-section {
        padding: 60px 16px 40px;
    }

    .invitation-section,
    .timeline-section,
    .venue-section,
    .guests-section,
    .rsvp-section {
        padding: 80px 16px;
    }

    .final-section {
        padding: 80px 16px;
    }

    /* ── Section container ── */
    .section-container {
        max-width: 100%;
        padding: 0;
    }

    /* ── Section title ── */
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        padding: 0 4px;
    }

    /* ── Divider gold ── */
    .divider-gold {
        margin: 18px auto 30px;
    }

    /* ── Hero: Names ── */
    .names {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        margin-bottom: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .names .ampersand {
        font-size: 0.7em;
        line-height: 1;
    }

    /* ── Hero: Tagline & Subtitle ── */
    .hero-tagline {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin: 0 auto 28px;
        padding: 0 8px;
        max-width: 100%;
    }

    /* ── Hero: Monogram ── */
    .monogram-wrapper {
        gap: 14px;
        margin-bottom: 18px;
    }

    .monogram-text {
        font-size: 1.4rem;
    }

    .decor-line {
        width: 35px;
    }

    /* ── Countdown ── */
    .countdown-container {
        margin-bottom: 28px;
    }

    .countdown-title {
        font-size: 0.7rem;
        margin-bottom: 16px;
        padding: 0 8px;
    }

    .countdown {
        padding: 14px 16px;
        gap: 8px;
        border-radius: var(--border-radius-md);
    }

    .time-block {
        min-width: 48px;
    }

    .time-val {
        font-size: 1.6rem;
    }

    .time-label {
        font-size: 0.55rem;
        margin-top: 5px;
    }

    .time-separator {
        height: 30px;
        margin: 0 2px;
    }

    /* ── Hero: CTA Button ── */
    .hero-actions .btn {
        padding: 14px 28px;
        font-size: 0.7rem;
    }

    /* ── Scroll hint ── */
    .scroll-down-hint {
        bottom: 16px;
    }

    /* ── Lang switcher & Audio ── */
    .lang-switcher {
        top: 12px;
        right: 12px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    .audio-control {
        bottom: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
    }

    /* ── Invitation section ── */
    .invitation-card {
        padding: 35px 20px;
        margin: 25px auto;
    }

    .invitation-text,
    .guests-text {
        font-size: clamp(1.1rem, 4vw, 1.35rem);
        padding: 0 4px;
    }

    .floral-divider {
        width: 100px;
        height: 30px;
    }

    /* ── Parallax ── */
    .parallax-container {
        height: 250px;
    }

    .parallax-quote {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        padding: 0 20px;
    }

    /* ── Timeline ── */
    .timeline {
        margin: 35px auto 0;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 30px;
        padding-left: 52px !important;
        padding-right: 0 !important;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-dot {
        left: 2px !important;
        right: auto !important;
        width: 30px;
        height: 30px;
    }

    .timeline-dot svg {
        width: 14px;
        height: 14px;
    }

    .timeline-content {
        padding: 20px 18px;
    }

    .timeline-content .time {
        font-size: 1.2rem;
    }

    .timeline-content h3 {
        font-size: 1.15rem;
    }

    .timeline-content p {
        font-size: 0.82rem;
    }

    /* ── Venue ── */
    .venue-card {
        padding: 24px 16px;
        gap: 24px;
        margin-top: 30px;
    }

    .venue-hall-name {
        font-size: 1.8rem;
    }

    .venue-address {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .map-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .map-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .map-wrapper {
        height: 250px;
    }

    /* ── RSVP ── */
    .rsvp-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
        margin-bottom: 30px;
        padding: 0 8px;
    }

    .rsvp-card {
        padding: 28px 18px;
    }

    .rsvp-form {
        gap: 18px;
    }

    .form-group input[type="text"] {
        padding: 13px 14px;
        font-size: 0.9rem;
    }

    .presence-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .radio-option {
        padding: 13px 14px;
        font-size: 0.8rem;
    }

    /* ── Final section ── */
    .final-text-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        padding: 0 8px;
    }

    .final-text-desc {
        font-size: 0.95rem;
        padding: 0 8px;
        margin-bottom: 35px;
    }

    .signature .love {
        font-size: 1.3rem;
    }

    .signature .names-sign {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .signature .organizers {
        font-size: 0.65rem;
    }

    /* ── Decorative corners ── */
    .luxury-corner {
        width: 35px;
        height: 35px;
    }

    .top-left { top: 16px; left: 16px; }
    .top-right { top: 16px; right: 16px; }
    .bottom-left { bottom: 16px; left: 16px; }
    .bottom-right { bottom: 16px; right: 16px; }

    /* ── Gold orbs — shrink on mobile ── */
    .gold-glow-orb {
        width: 200px;
        height: 200px;
    }

    .ring-decor {
        width: 350px;
        height: 350px;
    }

    /* ── Modal ── */
    .modal-content {
        padding: 35px 24px;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-desc {
        font-size: 0.85rem;
    }
}

/* ── Extra small phones (≤ 380px) ── */
@media (max-width: 380px) {
    .names {
        font-size: 2rem;
    }

    .countdown {
        padding: 12px 10px;
        gap: 6px;
    }

    .time-block {
        min-width: 42px;
    }

    .time-val {
        font-size: 1.4rem;
    }

    .time-label {
        font-size: 0.5rem;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .invitation-text,
    .guests-text {
        font-size: 1rem;
    }

    .venue-hall-name {
        font-size: 1.5rem;
    }

    .final-text-title {
        font-size: 1.6rem;
    }

    .signature .names-sign {
        font-size: 1.6rem;
    }
}
