/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════ */
:root {
    /* ── Palette ── */
    --ivory: #FAF7F0;
    --ivory-warm: #F5EFE3;
    --cream: #FFF8EE;
    --gold: #C5A55A;
    --gold-light: #E8D5A3;
    --gold-dark: #9B7E3A;
    --green: #3D6B4F;
    --green-light: #6A9B7A;
    --green-lighter: #B8D4C4;
    --green-dark: #2A4D38;
    --green-deep: #1E3829;
    --text-dark: #2C3E2D;
    --text-body: #4A5E4B;
    --text-muted: #7A8D7B;
    --white: #FFFFFF;
    --shadow: rgba(45, 60, 45, 0.08);
    --shadow-gold: rgba(197, 165, 90, 0.25);

    /* ── Typography ── */
    --font-display: 'Great Vibes', 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Josefin Sans', 'Segoe UI', sans-serif;

    /* ── Sizing ── */
    --container-max: 1140px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
    /* smooth scrolling is handled in JS (with nav-offset); keeping it off the
       root avoids the double-animation jolt some browsers produce */
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════
   FLOATING LEAF PARTICLES
   ═══════════════════════════════════════════════════ */
#leaf-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.leaf-particle {
    position: absolute;
    width: 10px;
    height: 14px;
    opacity: 0;
    animation: leafFall linear infinite;
    background: var(--green-lighter);
    border-radius: 0 70% 0 70%;
    pointer-events: none;
}

.leaf-particle:nth-child(even) {
    background: var(--gold-light);
    width: 8px;
    height: 11px;
}

@keyframes leafFall {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotate(0deg);
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.55) 0%, rgba(250, 247, 240, 0) 100%);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#navbar.scrolled {
    background: rgba(250, 247, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px var(--shadow);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-m,
.logo-j {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green);
    transition: color 0.3s;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.7);
}

#navbar.scrolled .logo-m,
#navbar.scrolled .logo-j,
#navbar.scrolled .logo-ampersand {
    text-shadow: none;
}

.logo-ampersand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    font-style: italic;
    margin: 0 2px;
}

#navbar.scrolled .logo-m,
#navbar.scrolled .logo-j {
    color: var(--green-dark);
}

/* Nav links */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-menu li a {
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-dark);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

#navbar.scrolled .nav-menu li a {
    text-shadow: none;
}

/* Active section highlight (scroll-spy) */
.nav-menu li a.active {
    color: var(--gold-dark);
}

.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--green-light));
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px;
}

.nav-menu li a:hover {
    color: var(--gold-dark);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px;
}

.hamburger .bar {
    width: 26px;
    height: 2.5px;
    background: var(--green-dark);
    border-radius: 4px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        /* soft edge fades — dissolve the deckled paper borders into the page */
        linear-gradient(90deg,
            var(--ivory) 0%,
            rgba(250, 247, 240, 0) 8%,
            rgba(250, 247, 240, 0) 92%,
            var(--ivory) 100%),
        /* bottom fade into the next section */
        linear-gradient(180deg,
            rgba(250, 247, 240, 0) 80%,
            var(--ivory) 100%),
        /* center scrim for text legibility */
        radial-gradient(ellipse 60% 55% at center 48%,
            rgba(250, 247, 240, 0.82) 0%,
            rgba(250, 247, 240, 0.5) 45%,
            rgba(250, 247, 240, 0.15) 100%),
        url('images/hero_background_v5_4k.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 100px 24px 40px;
}

/* Hero inner content */
.hero-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Unity badge */
.unity-badge {
    margin: 0 auto 1.5rem;
    width: clamp(180px, 35vw, 340px);
    /* animation: float 4s ease-in-out infinite; */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.unity-img {
    width: 100%;
    filter: drop-shadow(0 4px 12px var(--shadow-gold));
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--green-dark);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

/* Names */
.hero-names {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    margin: 1.2rem 0;
}

.name-groom,
.name-bride {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 10vw, 6rem);
    font-weight: 400;
    color: var(--green-dark);
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

.name-and {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 4rem);
    color: var(--gold-dark);
    margin: 0 0.15em;
    font-style: normal;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    vertical-align: 0.02em;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 500;
    color: var(--green-dark);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

.hero-divider {
    width: clamp(160px, 40vw, 320px);
    margin: 0 auto 1.5rem;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.hero-date-text {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Countdown */
.countdown-wrapper {
    margin-bottom: 2.5rem;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.count-block {
    background: var(--cream);
    border: 1px solid rgba(197, 165, 90, 0.4);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    min-width: 72px;
    text-align: center;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.count-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-gold);
}

.count-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--green-dark);
    line-height: 1;
}

/* Gentle flip when a countdown value changes (rolls over) */
.count-block.flip .count-number {
    animation: countFlip 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes countFlip {
    0% {
        transform: translateY(-40%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .count-block.flip .count-number {
        animation: none;
    }
}

.count-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    font-weight: 400;
    margin-top: 4px;
    display: block;
}

.count-sep {
    color: var(--gold);
    font-size: 1.2rem;
    user-select: none;
}

/* Scroll hint */
.scroll-hint {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    animation: bounceDown 2s infinite;
    color: var(--gold);
    font-size: 1rem;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ═══════════════════════════════════════════════════
   SECTION HEADERS (SHARED)
   ═══════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold-dark);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.5;
}

.section-header.light .section-eyebrow,
.section-header.light .section-title {
    color: var(--ivory);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--green-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-divider {
    width: clamp(120px, 30vw, 260px);
    margin: 0 auto;
    opacity: 0.6;
    mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════════════════
   ENGAGEMENT SECTION
   ═══════════════════════════════════════════════════ */
.engagement-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.engagement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/engagement_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.engagement-section>* {
    position: relative;
    z-index: 2;
}

.engagement-container {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.engagement-card {
    background: var(--cream);
    border: 1px solid rgba(197, 165, 90, 0.3);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    width: 100%;
    box-shadow: 0 16px 48px var(--shadow);
    position: relative;
    overflow: hidden;
    align-items: center;
}

/* Engagement is a one-of-a-kind invitation panel — it sits still and dignified */

.engagement-card .card-leaf-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-lighter) 0%, transparent 70%);
    opacity: 0.25;
}

.engagement-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid rgba(197, 165, 90, 0.2);
    box-shadow: 0 8px 24px var(--shadow);
}

.eng-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}


.engagement-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.engagement-date {
    text-align: center;
}

.eng-day-name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.eng-day-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 4.5rem;
    color: var(--green-dark);
    line-height: 1.1;
}

.eng-month-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--green);
}

.engagement-divider-horizontal {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.engagement-location {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.eng-venue {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-top: 0.5rem;
    margin-bottom: 2px;
}

.eng-state {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   WEDDING SCHEDULE SECTION
   ═══════════════════════════════════════════════════ */
.wedding-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 100%);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.wedding-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/wedding_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.wedding-section>* {
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

/* Timeline central line — sits behind everything (z-index 0) */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-light), var(--green-light), var(--gold-light));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

/* Timeline items — explicit stacking context above the line */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    box-sizing: border-box;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Timeline badge nodes */
.timeline-badge {
    position: absolute;
    top: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: var(--gold-dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px var(--shadow-gold);
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s;
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.15);
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
}

/* Center every badge exactly on the spine (badge is 50px → offset = half = 25px) */
.timeline-item.left .timeline-badge {
    right: -25px;
}

.timeline-item.right .timeline-badge {
    left: -25px;
}

/* Timeline card content */
.timeline-card {
    background: var(--white);
    border: 1px solid rgba(197, 165, 90, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow), 0 4px 12px var(--shadow-gold);
    border-color: var(--gold);
}

.timeline-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(197, 165, 90, 0.15);
    box-shadow: 0 4px 12px var(--shadow);
    aspect-ratio: 16/10;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.timeline-card:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 0.8rem;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   VENUE / DATE SECTION
   ═══════════════════════════════════════════════════ */
.venue-section {
    padding: 6rem 0 5rem;
    background:
        linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 50%, var(--ivory) 100%);
    position: relative;
}

/* Grid: Date · Illustration · Venue */
.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Cards */
.venue-card {
    background: var(--cream);
    border: 1px solid rgba(197, 165, 90, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px var(--shadow);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.venue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--shadow), 0 4px 16px var(--shadow-gold);
}

/* Leaf accent in corner of card */
.card-leaf-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-lighter) 0%, transparent 70%);
    opacity: 0.3;
    transition: transform 0.4s;
}

.venue-card:hover .card-leaf-accent {
    transform: scale(1.2) rotate(10deg);
}

/* Card Icon */
.card-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    color: var(--green);
}

.card-icon-svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

/* Date display */
.card-date-display {
    margin-bottom: 1.2rem;
}

.card-day-name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.card-day-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 4rem;
    color: var(--green-dark);
    line-height: 1.1;
}

.card-month-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--green);
    margin-top: 2px;
}

.card-time {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 0.5rem;
}

.card-time i {
    color: var(--gold);
    margin-right: 4px;
}

.card-detail-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Venue details */
.card-venue-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 0.8rem;
}

.card-venue-address {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.card-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.6rem;
    background: transparent;
    color: var(--gold-dark);
    text-decoration: none;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.card-map-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--shadow-gold);
}

/* Venue illustration */
.venue-illustration {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 48px var(--shadow), 0 4px 12px var(--shadow-gold);
    border: 3px double rgba(197, 165, 90, 0.6);
    transition: transform 0.4s;
    aspect-ratio: 1;
    max-width: 380px;
    margin: 0 auto;
}

.venue-illustration:hover {
    transform: scale(1.02);
}

.venue-hero-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.venue-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--green-dark);
    white-space: nowrap;
}

/* Journey Strip (Groom <-> Bride) */
.journey-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--cream);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 165, 90, 0.25);
    box-shadow: 0 8px 28px var(--shadow);
    margin-bottom: 3rem;
}

.journey-from {
    text-align: center;
    flex: 0 0 auto;
}

.journey-place-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.8rem;
    border: 2.5px solid var(--gold-light);
    box-shadow: 0 4px 16px var(--shadow-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-place-img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px var(--shadow-gold);
}

.place-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journey-from h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 2px;
}

.journey-from p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.journey-connector {
    flex: 1;
    max-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-svg {
    width: 100%;
    height: 30px;
    color: var(--gold);
}

.connector-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 1rem;
    background: var(--ivory-warm);
    padding: 4px 6px;
    border-radius: 50%;
    animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Info Cards Row (Dress, Travel, Stay) */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--cream);
    border: 1px solid rgba(197, 165, 90, 0.25);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px var(--shadow);
    transition: transform 0.35s, box-shadow 0.35s;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow);
    border-color: var(--gold-light);
}

.info-card-icon {
    font-size: 1.6rem;
    color: var(--green);
    margin-bottom: 0.8rem;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
}

.info-card em {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════
   RSVP SECTION
   ═══════════════════════════════════════════════════ */
.rsvp-section {
    padding: 6rem 0;
    background:
        linear-gradient(135deg,
            var(--green-dark) 0%,
            var(--green) 40%,
            var(--green-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
.rsvp-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero_background.png');
    background-size: cover;
    opacity: 0.06;
    pointer-events: none;
}

.rsvp-desc {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--green-lighter);
    margin-top: 1rem;
    font-style: italic;
}

/* RSVP Card */
.rsvp-card {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 3rem 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.15),
        0 4px 16px var(--shadow-gold);
}

/* Corner botanicals on RSVP card */
.rsvp-corner {
    position: absolute;
    width: 130px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.rsvp-corner-tl {
    top: -15px;
    left: -15px;
}

.rsvp-corner-br {
    bottom: -15px;
    right: -15px;
    transform: rotate(180deg);
}

/* Google Login Styles */
.google-login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--ivory-warm);
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 165, 90, 0.35);
    text-align: center;
    position: relative;
    z-index: 1;
}

.google-login-container p {
    font-family: var(--font-heading);
    color: var(--green-dark);
    font-size: 1.15rem;
    margin: 0;
    font-weight: 500;
}

.google-status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(197, 165, 90, 0.1);
    border: 1px solid rgba(197, 165, 90, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.status-user-email {
    color: var(--green-dark);
    font-weight: 500;
}

.google-logout-btn {
    background: transparent;
    border: none;
    color: var(--gold-dark);
    text-decoration: underline;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0;
    transition: color 0.3s;
}

.google-logout-btn:hover {
    color: var(--green);
}

.rsvp-form-inputs {
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.rsvp-form-inputs.disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: blur(1px);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--green-lighter);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #d4524f;
    box-shadow: 0 0 0 3px rgba(212, 82, 79, 0.12);
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.4rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(139, 119, 75, 0.2);
    background: var(--white);
    transition: all 0.3s ease;
    flex: 1;
}

.radio-option:hover {
    border-color: var(--gold-light);
    background: rgba(139, 119, 75, 0.04);
}

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

.radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(139, 119, 75, 0.35);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.radio-option input[type="radio"]:checked+.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-option input[type="radio"]:checked~.radio-label {
    color: var(--green-dark);
    font-weight: 500;
}

.radio-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

/* Submit button */
.rsvp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

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

.rsvp-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(61, 107, 79, 0.35);
}

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

.btn-icon {
    transition: transform 0.3s;
}

.rsvp-submit:hover .btn-icon {
    transform: translateX(4px);
}

/* Success overlay */
.rsvp-success {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    border-radius: var(--radius-xl);
}

.rsvp-success.visible {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-flourish {
    width: 200px;
    margin: 0 auto 1.2rem;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.success-content h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--green-dark);
    margin-bottom: 0.8rem;
}

.success-content p {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-close {
    padding: 0.7rem 2rem;
    border: 2px solid var(--green);
    border-radius: 50px;
    background: transparent;
    color: var(--green);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.success-close:hover {
    background: var(--green);
    color: var(--white);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    background: var(--green-deep);
    color: var(--green-lighter);
    text-align: center;
    padding: 3rem 0 2rem;
}

.footer-divider {
    width: 180px;
    margin: 0 auto 1.5rem;
    opacity: 0.3;
    filter: brightness(2);
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
}

.footer-date {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--green-lighter);
    margin-bottom: 1.2rem;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--green-light);
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .venue-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .venue-illustration {
        order: -1;
    }

    .info-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .journey-strip {
        flex-direction: column;
        gap: 1.5rem;
    }

    .journey-connector {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        background: rgba(250, 247, 240, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -8px 0 32px var(--shadow);
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        padding: 2rem;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        font-size: 1.1rem;
    }

    .hero-section {
        padding-top: 80px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .rsvp-card {
        padding: 2rem 1.5rem;
    }

    .rsvp-corner {
        width: 90px;
    }

    .count-block {
        min-width: 60px;
        padding: 0.7rem 0.8rem;
    }

    .count-number {
        font-size: 1.5rem;
    }

    /* Engagement and Wedding Timeline Mobile Viewports */
    .engagement-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
        gap: 2rem;
    }

    .timeline::after {
        left: 30px;
    }

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

    .timeline-item.left {
        left: 0;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-badge,
    .timeline-item.right .timeline-badge {
        left: 8px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-names .name-groom,
    .hero-names .name-bride {
        font-size: 3.2rem;
    }

    .hero-names .name-and {
        font-size: 2rem;
    }

    .venue-card {
        padding: 2rem 1.2rem;
    }

    .countdown {
        gap: 0.3rem;
    }

    .count-sep {
        font-size: 0.8rem;
    }
}