* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B7355;
    --secondary: #D4C4B0;
    --text: #4A4A4A;
    --light: #FAF8F5;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Music Player */
.music-player {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #f8f6f3);
    box-shadow:
        0 8px 20px rgba(139, 115, 85, 0.25),
        0 2px 4px rgba(139, 115, 85, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(139, 115, 85, 0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-player:hover {
    transform: scale(1.1);
    box-shadow:
        0 10px 25px rgba(139, 115, 85, 0.3),
        0 3px 6px rgba(139, 115, 85, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.player-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.music-player audio {
    display: none;
}

/* Flying Airplane */
.flying-airplane {
    position: fixed;
    top: 20%;
    left: 0;
    width: 250px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    transition: left 0.1s linear, opacity 0.3s ease;
    
}

.flying-airplane img {
    width: 100%;
    height: auto;
    transform: scaleX(-1);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

.flying-airplane.hidden {
    opacity: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes airplaneLanding {
    0% {
        opacity: 0;
        transform: translateX(120%) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateX(-5%) scale(1);
    }
    80% {
        transform: translateX(2%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
}

.nav-tabs {
    display: flex;
    gap: 10px;
}

.nav-tab {
    background: transparent;
    border: none;
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tab:hover {
    color: var(--primary);
    background: var(--light);
}

.nav-tab.active {
    color: white;
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 12px;
}
.lang-btn {
    background: none;
    border: 1.5px solid transparent;
    border-radius: 7px;
    padding: 3px 7px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0.55;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1;
}
.lang-btn .lang-flag { font-size: 1.3rem; }
.lang-btn:hover, .lang-btn.active {
    border-color: var(--primary);
    opacity: 1;
    background: rgba(139,115,85,0.07);
    color: var(--primary);
}

/* Tab Content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #FAF8F5 0%, #ffffff 50%, #FAF8F5 100%);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

/* Ocean Waves */
.ocean-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    pointer-events: none;
    z-index: 0;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: 50% 100%;
    will-change: transform;
}

.wave-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,60 C150,90 350,0 600,60 C850,120 1050,30 1200,60 L1200,120 L0,120 Z" fill="%23D4C4B0" fill-opacity="0.15"/></svg>');
    animation: wave-animation 15s linear infinite;
    opacity: 0.6;
}

.wave-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,80 C200,100 400,40 600,80 C800,120 1000,60 1200,80 L1200,120 L0,120 Z" fill="%238B7355" fill-opacity="0.1"/></svg>');
    animation: wave-animation 20s linear infinite reverse;
    opacity: 0.5;
    animation-delay: -5s;
}

.wave-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,40 C250,80 450,20 600,40 C750,60 950,0 1200,40 L1200,120 L0,120 Z" fill="%23D4C4B0" fill-opacity="0.2"/></svg>');
    animation: wave-animation 25s linear infinite;
    opacity: 0.7;
    animation-delay: -2s;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* White Ocean Waves for Footer and Hero Sections */
.ocean-waves-white {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    pointer-events: none;
    z-index: 0;
}

.wave-white {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: 50% 100%;
}

.wave-white-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,60 C150,90 350,0 600,60 C850,120 1050,30 1200,60 L1200,120 L0,120 Z" fill="%23FFFFFF" fill-opacity="0.15"/></svg>');
    animation: wave-animation 15s linear infinite;
    opacity: 0.6;
}

.wave-white-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,80 C200,100 400,40 600,80 C800,120 1000,60 1200,80 L1200,120 L0,120 Z" fill="%23FFFFFF" fill-opacity="0.1"/></svg>');
    animation: wave-animation 20s linear infinite reverse;
    opacity: 0.5;
    animation-delay: -5s;
}

.wave-white-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,40 C250,80 450,20 600,40 C750,60 950,0 1200,40 L1200,120 L0,120 Z" fill="%23FFFFFF" fill-opacity="0.2"/></svg>');
    animation: wave-animation 25s linear infinite;
    opacity: 0.7;
    animation-delay: -2s;
}

/* Blurry Wave Background */
.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(139, 115, 85, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 115, 85, 0.06) 0%, transparent 50%);
    filter: blur(60px);
    animation: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -50%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(139, 115, 85, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    animation: none;
    z-index: 0;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(5%) translateY(3%);
    }
}

/* Wedding Rings */
.wedding-rings {
    position: absolute;
    top: 8%;
    right: 5%;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    animation: rotateRings 10s ease-in-out 2 forwards;
    filter: drop-shadow(0 0 20px rgba(139, 115, 85, 0.2));
}

@keyframes rotateRings {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.05);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    gap: 80px;
}

.hero-text {
    flex: 1;
    text-align: left;
    padding-left: 40px;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: airplaneLanding 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 3/2;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--primary);
    border-radius: 8px;
    z-index: 1;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.15) 0%, rgba(139, 115, 85, 0.05) 100%);
    border-radius: 8px;
    z-index: 0;
}

.image-frame img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Floating hearts background */
.hero::before {
    content: '';
    position: absolute;
    font-size: 20px;
    color: rgba(139, 115, 85, 0.1);
    animation: float 6s ease-in-out 3 forwards;
    top: 20%;
    left: 10%;
}

.hero::after {
    content: '';
    position: absolute;
    font-size: 30px;
    color: rgba(139, 115, 85, 0.1);
    animation: float 8s ease-in-out 2 forwards;
    bottom: 30%;
    right: 15%;
}

.hero .subtitle {
    animation: fadeInUp 1s ease-out 0.2s both;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .ornament {
    font-size: 2rem;
    color: var(--secondary);
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .date {
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text);
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Invitation text with star-shine animation */
.invite-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.4rem;
    color: var(--text);
    margin-top: 32px;
    line-height: 1.7;
    width: 100%;
    max-width: 1400px;
    text-align: center;
    opacity: 0;
    animation: inviteFadeIn 1.2s ease-out 1.4s forwards, starShine 2.8s ease-in-out 2.6s 3 forwards;
    background: linear-gradient(
        90deg,
        var(--text) 0%,
        var(--text) 40%,
        #fff8e7 50%,
        #ffe066 54%,
        #fff8e7 58%,
        var(--text) 68%,
        var(--text) 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes inviteFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes starShine {
    0%   { background-position: 200% center; }
    50%  { background-position: -30% center; }
    100% { background-position: 200% center; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out 3 forwards;
    opacity: 0.6;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
}

/* Sections */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 3rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 50px;
    font-weight: 600;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Couple Section */
.couple {
    background: white;
}

.couple-content {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.partner img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--secondary);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.partner img:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

.partner h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.partner:hover h3 {
    color: #6B5344;
}

/* Details Section */
.details {
    background: var(--light);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.detail-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(139, 115, 85, 0.06);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 20px 48px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.12),
        0 8px 16px rgba(139, 115, 85, 0.1),
        0 18px 40px rgba(139, 115, 85, 0.14),
        0 32px 64px rgba(139, 115, 85, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.detail-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out 3 forwards;
}

.detail-card:nth-child(2) .icon {
    animation-delay: 0.5s;
}

.detail-card:nth-child(3) .icon {
    animation-delay: 1s;
}

.detail-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.detail-card p {
    transition: color 0.3s ease;
}

.detail-card:hover p {
    color: #6B5344;
}

/* Calendar Icon */
.calendar-icon {
    background: white;
    border: 3px solid var(--primary);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    font-size: 1rem !important;
}

.calendar-month {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.calendar-day {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0;
}

/* Location Icon */
.location-icon {
    background: white;
    border: 3px solid var(--primary);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    font-size: 1rem !important;
}

/* Dress Code Icon */
.dress-icon {
    background: white;
    border: 3px solid var(--primary);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    font-size: 1rem !important;
}

/* Shared styles for location and dress icons */
.icon-top {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 6px 0;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.icon-symbol {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* RSVP Section */
.rsvp {
    background: white;
    position: relative;
    overflow: hidden;
}

/* Form Background Waves */
.form-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.form-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background-repeat: repeat;
    background-size: 100% 100%;
}

.form-wave-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" preserveAspectRatio="none"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="%238B7355" fill-opacity="0.08"/></svg>');
    animation: formWaveFloat 20s ease-in-out 1 forwards;
}

.form-wave-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" preserveAspectRatio="none"><path d="M0,350 Q300,250 600,350 T1200,350 L1200,600 L0,600 Z" fill="%238B7355" fill-opacity="0.06"/></svg>');
    animation: formWaveFloat 25s ease-in-out 1 forwards;
    animation-delay: -5s;
}

.form-wave-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" preserveAspectRatio="none"><path d="M0,250 Q300,150 600,250 T1200,250 L1200,600 L0,600 Z" fill="%238B7355" fill-opacity="0.05"/></svg>');
    animation: formWaveFloat 30s ease-in-out 1 forwards;
    animation-delay: -10s;
}

@keyframes formWaveFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-48%, -52%) rotate(1deg) scale(1.05);
    }
    50% {
        transform: translate(-52%, -50%) rotate(-1deg) scale(1);
    }
    75% {
        transform: translate(-50%, -48%) rotate(1deg) scale(1.05);
    }
}

.rsvp-form {
    position: relative;
    z-index: 1;
}

.rsvp-form {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff, #f8f6f3);
    padding: 40px;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 24px 56px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 115, 85, 0.06);
    position: relative;
}

/* Larger form for desktop/laptop screens */
@media (min-width: 1024px) {
    .rsvp-form {
        max-width: 700px;
        padding: 50px 60px;
    }

    .rsvp-form .form-group label {
        font-size: 1.1rem;
    }

    .rsvp-form .form-group input,
    .rsvp-form .form-group select,
    .rsvp-form .form-group textarea {
        font-size: 1.1rem;
        padding: 14px 18px;
    }

    .rsvp-form .submit-btn {
        font-size: 1.1rem;
        padding: 18px 60px;
    }

    .rsvp h2 {
        font-size: 3.5rem;
    }
}

.rsvp-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.2), transparent);
    border-radius: 12px 12px 0 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: linear-gradient(145deg, #fafafa, #ffffff);
    box-shadow:
        inset 0 2px 4px rgba(139, 115, 85, 0.08),
        0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow:
        inset 0 2px 6px rgba(139, 115, 85, 0.1),
        0 0 0 3px rgba(139, 115, 85, 0.15),
        0 2px 4px rgba(139, 115, 85, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: linear-gradient(145deg, var(--primary), #6B5344);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(139, 115, 85, 0.3),
        0 2px 4px rgba(139, 115, 85, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    background: linear-gradient(145deg, #6B5344, #5A4536);
    transform: translateY(-3px);
    box-shadow:
        0 6px 16px rgba(139, 115, 85, 0.35),
        0 3px 6px rgba(139, 115, 85, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow:
        0 2px 8px rgba(139, 115, 85, 0.3),
        0 1px 3px rgba(139, 115, 85, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Information Page Styles */
.info-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(139, 115, 85, 0.82) 0%, rgba(107, 83, 68, 0.82) 100%),
        url('images/Waterfront-Ship-Restaurant.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.1);
}

.info-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.info-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.info-section {
    padding: 80px 20px;
}

.info-section.alternate {
    background: white;
}

.story-section {
    background: linear-gradient(to bottom, #FAF8F5 0%, #ffffff 50%, #FAF8F5 100%);
}

.story-ornament {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary);
    margin: 20px 0 40px;
    animation: pulse 2s ease-in-out 3 forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.08) 0%, rgba(139, 115, 85, 0.03) 100%);
    padding: 60px 50px;
    border-radius: 16px;
    border: 1px solid rgba(139, 115, 85, 0.08);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 12px 28px rgba(139, 115, 85, 0.1),
        0 24px 56px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.story-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(139, 115, 85, 0.08);
    line-height: 1;
}

.story-content::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 30px;
    font-size: 120px;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(139, 115, 85, 0.08);
    line-height: 1;
}

.story-content p {
    font-size: 1.35rem;
    line-height: 2.1;
    margin-bottom: 30px;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    position: relative;
    z-index: 1;
    animation: fadeInText 1.2s ease-out;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(139, 115, 85, 0.06);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 20px 48px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.12),
        0 8px 16px rgba(139, 115, 85, 0.1),
        0 18px 40px rgba(139, 115, 85, 0.14),
        0 32px 64px rgba(139, 115, 85, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.info-card strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.registry-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.registry-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.registry-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.registry-link {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.registry-link:hover {
    background: #6B5344;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.photo-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(139, 115, 85, 0.06);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 20px 48px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #FAF8F5 0%, #f0ebe5 100%);
}

.photo-gallery .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.2) 0%, transparent 50%, rgba(139, 115, 85, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-gallery .gallery-item:hover::before {
    opacity: 1;
}

.photo-gallery .gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.12),
        0 8px 16px rgba(139, 115, 85, 0.1),
        0 18px 40px rgba(139, 115, 85, 0.14),
        0 32px 64px rgba(139, 115, 85, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-gallery .gallery-item:hover img {
    transform: scale(1.15);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 25px 30px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(139, 115, 85, 0.06);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 20px 48px rgba(139, 115, 85, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px) translateY(-6px);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.12),
        0 8px 16px rgba(139, 115, 85, 0.1),
        0 18px 40px rgba(139, 115, 85, 0.14),
        0 32px 64px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Venue Gallery */
.venue-gallery-section {
    background: linear-gradient(to bottom, #ffffff 0%, #FAF8F5 50%, #ffffff 100%);
}

.venue-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(139, 115, 85, 0.08);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.08),
        0 4px 12px rgba(139, 115, 85, 0.07),
        0 12px 32px rgba(139, 115, 85, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1) 0%, transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.1),
        0 8px 20px rgba(139, 115, 85, 0.1),
        0 22px 48px rgba(139, 115, 85, 0.16);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Schedule Page Styles */
.schedule-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(107, 83, 68, 0.95) 0%, rgba(139, 115, 85, 0.95) 100%),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.1);
}

.schedule-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.schedule-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.schedule-section {
    padding: 60px 20px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-time {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding-top: 5px;
}

.timeline-time::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 10px;
    width: 13px;
    height: 13px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--secondary);
}

.timeline-content {
    flex: 1;
    padding: 24px 28px 24px 30px;
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(139, 115, 85, 0.06);
    box-shadow:
        0 1px 2px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(139, 115, 85, 0.08),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 20px 48px rgba(139, 115, 85, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.12),
        0 8px 16px rgba(139, 115, 85, 0.1),
        0 18px 40px rgba(139, 115, 85, 0.14),
        0 32px 64px rgba(139, 115, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
}

.timeline-location {
    color: var(--secondary);
    font-weight: 500;
    margin-top: 8px;
    font-style: italic;
}

.ceremony-timeline {
    margin-top: 16px;
    border-left: 2px solid var(--secondary);
    padding: 16px 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(139, 115, 85, 0.03);
    border-radius: 0 10px 10px 0;
    box-shadow:
        inset 0 1px 3px rgba(139, 115, 85, 0.05),
        0 2px 8px rgba(139, 115, 85, 0.04);
}

.ceremony-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: #555;
}

.ceremony-item.highlight {
    color: var(--primary);
    font-weight: 600;
}

.ceremony-time {
    min-width: 42px;
    font-weight: 600;
    color: var(--secondary);
    flex-shrink: 0;
}

.ceremony-item.highlight .ceremony-time {
    color: var(--primary);
}

.schedule-note {
    text-align: center;
    padding: 40px 20px;
    background: white;
}

/* Photo Tiles */
.photo-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.photo-tile {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(139, 115, 85, 0.07);
    box-shadow:
        0 1px 3px rgba(139, 115, 85, 0.08),
        0 6px 16px rgba(139, 115, 85, 0.07),
        0 14px 36px rgba(139, 115, 85, 0.1);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.photo-tile:hover {
    transform: translateY(-6px);
    box-shadow:
        0 2px 4px rgba(139, 115, 85, 0.1),
        0 10px 24px rgba(139, 115, 85, 0.1),
        0 24px 52px rgba(139, 115, 85, 0.16);
}

.photo-tile-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.photo-tile h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.photo-tile p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.photo-tile-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    white-space: nowrap;
    min-width: 130px;
    text-align: center;
}

.photo-tile-btn:hover {
    background: #6B5344;
    transform: translateY(-2px);
}

.photo-tile-btn-secondary {
    background: #999;
}

.photo-tile-btn-secondary:hover {
    background: #777;
}

@media (max-width: 480px) {
    .photo-tile-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 1rem;
    }

    .photo-tiles {
        grid-template-columns: 1fr;
    }

    .photo-tile {
        padding: 30px 20px;
    }
}

.schedule-note p {
    color: #888;
    font-style: italic;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 40px 20px;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

footer:hover {
    background: #6B5344;
}

footer p {
    font-size: 1.1rem;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        height: auto;
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-tabs {
        width: 100%;
        justify-content: center;
        gap: 4px;
    }

    .nav-tab {
        padding: 6px 10px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
        padding-left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .invite-text {
        font-size: 1.15rem;
        padding: 0 10px;
    }

    .image-frame {
        max-width: 400px;
    }

    .wedding-rings {
        font-size: 3.5rem;
        top: 5%;
        right: 3%;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .couple-content {
        gap: 40px;
    }

    .timeline::before {
        left: 50px;
    }

    .timeline-time {
        width: 50px;
        font-size: 1rem;
        padding-right: 15px;
    }

    .timeline-time::after {
        right: -8px;
        width: 11px;
        height: 11px;
    }

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

    .info-hero h1,
    .schedule-hero h1 {
        font-size: 2.5rem;
    }

    .registry-links {
        flex-direction: column;
        gap: 15px;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .photo-gallery .gallery-item {
        aspect-ratio: 4 / 3;
    }
}

/* Transport Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=800');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(139, 115, 85, 0.1);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 20px 56px rgba(0, 0, 0, 0.18);
    animation: slideDown 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal:hover {
    color: #6B5344;
    transform: scale(1.2);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
}

.modal-body {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary);
    color: white;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.modal-btn.secondary {
    background: #6B5344;
}

.modal-btn.secondary:hover {
    background: #5A4536;
}


@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    /* Ensure RSVP section displays normally in flow */
    .rsvp {
        position: relative;
        display: block;
    }

    .rsvp-form {
        position: relative;
        max-width: 100%;
        padding: 30px 20px;
        margin: 20px;
    }

    /* Make couple photos side by side on mobile */
    .couple-content {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .partner {
        flex: 0 0 40%;
        max-width: 150px;
    }

    .partner img {
        width: 100%;
        height: auto;
    }

    .partner h3 {
        font-size: 1.1rem;
    }

    .partner p {
        font-size: 0.85rem;
    }

    /* Make music player smaller on mobile */
    .music-player {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }

    .player-icon {
        font-size: 1.2rem;
    }

    /* Smaller airplane on mobile */
    .flying-airplane {
        width: 150px;
        top: 15%;
    }

    /* Adjust form title size on mobile */
    .rsvp h2 {
        font-size: 2rem;
    }

    /* Ensure form background waves work on mobile */
    .form-waves {
        width: 150%;
    }
}

/* =============================================
   SECTION SEPARATORS
   ============================================= */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 20px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-divider .div-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.section-divider .div-ornament {
    font-size: 1.2rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-divider .div-ornament::before,
.section-divider .div-ornament::after {
    content: '◆';
    font-size: 0.5rem;
    color: var(--secondary);
    opacity: 0.6;
}

/* Full-width block divider */
.block-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: white;
}

.block-divider svg {
    display: block;
    width: 100%;
}

/* =============================================
   SCHEDULE ANIMATIONS
   ============================================= */
.timeline-item {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    transform: translateX(40px);
}

.timeline-item:nth-child(even).animate-in {
    transform: translateX(0);
}

/* Schedule sparkle particles */
.schedule-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #C9A96E, #f0d090);
    opacity: 0;
    animation: sparklePop 3s ease-in-out 3 forwards;
}

@keyframes sparklePop {
    0%   { opacity: 0; transform: scale(0) translateY(0); }
    20%  { opacity: 0.9; transform: scale(1.2) translateY(-10px); }
    60%  { opacity: 0.5; transform: scale(0.8) translateY(-40px); }
    100% { opacity: 0; transform: scale(0) translateY(-70px); }
}

.sparkle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,100,0.6), transparent);
}

/* Firework burst */
@keyframes burstOut {
    0%   { transform: scale(0); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.firework-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #C9A96E;
    border-radius: 50%;
    opacity: 0;
    animation: burstOut 1.2s ease-out 3 forwards;
}

/* =============================================
   COUPLE SECTION DECORATIONS
   ============================================= */
.partner {
    position: relative;
}

.partner-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
    z-index: 0;
}

.partner-ring-1 {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 2px solid rgba(139, 115, 85, 0.28);
    border-radius: 50%;
    top: -15px;
    left: -15px;
    animation: spinRing 10s linear 3 forwards;
}

.partner-ring-1::after {
    content: '💍';
    position: absolute;
    font-size: 0.9rem;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.partner-ring-2 {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1.5px dashed rgba(201, 169, 110, 0.22);
    border-radius: 50%;
    top: -30px;
    left: -30px;
    animation: spinRing 16s linear 2 forwards;
}

.partner-ring-3 {
    position: absolute;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(212, 196, 176, 0.18);
    border-radius: 50%;
    top: -45px;
    left: -45px;
    animation: spinRing 22s linear 1 forwards;
}

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

.partner img {
    position: relative;
    z-index: 1;
}

/* Floating petals background */
.couple-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.couple-petal {
    position: absolute;
    font-size: 1rem;
    opacity: 0.12;
    animation: floatPetal linear 2 forwards;
}

@keyframes floatPetal {
    0%   { transform: translateY(100%) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.12; }
    90%  { opacity: 0.08; }
    100% { transform: translateY(-120%) rotate(360deg); opacity: 0; }
}

.couple {
    position: relative;
    overflow: hidden;
}

.couple-content {
    position: relative;
    z-index: 1;
}

.couple-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 115, 85, 0.12) 15%,
        rgba(201, 169, 110, 0.18) 35%,
        rgba(201, 169, 110, 0.25) 50%,
        rgba(201, 169, 110, 0.18) 65%,
        rgba(139, 115, 85, 0.12) 85%,
        transparent 100%
    );
    box-shadow: 0 0 20px 4px rgba(201, 169, 110, 0.06);
    z-index: 0;
    pointer-events: none;
}

/* =============================================
   PHOTO GALLERY LIGHTBOX
   ============================================= */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: lbZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes lbZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 2001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s, color 0.2s;
    border: none;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 2001;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s, color 0.2s;
    border: none;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: inherit;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        font-size: 1.8rem;
        width: 38px;
        height: 38px;
    }

    .lightbox-img {
        max-width: 95vw;
        max-height: 80vh;
    }
}