/* ============================================================
   FLORAL BHAG — THE ENCHANTED GARDEN
   Complete Design System & Styles
   ============================================================ */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────── */
:root {
    /* Core Colors */
    --bg-sage: #F4F7F4;
    --bg-sage-warm: #F7F5F0;
    --text-forest: #2C3E2D;
    --text-moss: #5A6D5B;
    --text-moss-light: #7A8D7B;
    --blush-pink: #FAD4D8;
    --blush-deep: #F4ACB7;
    --gold-leaf: #C8A97E;
    --gold-light: #DBC9A2;
    --sage-green: #B7C9A8;
    --ivory: #FFF8F0;
    --border-soft: rgba(200, 169, 126, 0.2);

    /* Typography */
    --font-script: 'Alex Brush', cursive;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing */
    --section-pad: clamp(60px, 10vw, 120px);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Animated gradient property for hero breathing effect */
@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --blush-opacity {
    syntax: '<number>';
    initial-value: 0.4;
    inherits: false;
}

/* ─── 2. RESET & BASE ──────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html.lenis,
html.lenis body {
    height: auto;
    width: 100%;
    overflow-x: hidden;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    background-color: var(--bg-sage);
    color: var(--text-forest);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}

a:focus,
button:focus {
    outline: none;
}

button,
a {
    -webkit-user-select: none;
    user-select: none;
}

/* ─── 3. OVERLAY LAYERS ────────────────────────────────── */

/* Three.js WebGL Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

/* 2D Petal Canvas */
#petal-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

/* Watercolor paper texture overlay */
.watercolor-grain {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
    opacity: 0.025;
    pointer-events: none;
    z-index: 9997;
    mix-blend-mode: multiply;
}

/* Hanging Vines */
.hanging-vines {
    position: fixed;
    top: -30px;
    width: clamp(150px, 30vw, 300px);
    height: clamp(200px, 40vw, 400px);
    background-image: url('../images/vines.webp');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 100;
    pointer-events: none;
    transform-origin: top center;
    will-change: transform;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

.left-vine {
    left: -30px;
}

.right-vine {
    right: -30px;
    transform: scaleX(-1);
}

/* ─── 4. NAVIGATION ────────────────────────────────────── */
.floral-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: rgba(244, 247, 244, 0);
    backdrop-filter: blur(0px);
    transition: transform 0.5s var(--ease-out-expo),
        background 0.4s ease,
        backdrop-filter 0.4s ease,
        box-shadow 0.4s ease;
    border: none;
    box-shadow: none;
}

.floral-nav.scrolled {
    background: rgba(244, 247, 244, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.floral-nav.nav-hidden {
    transform: translateY(-100%);
}

.floral-nav a {
    color: var(--text-forest);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.nav-rsvp {
    color: var(--gold-leaf) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 3px;
}

@media (max-width: 768px) {
    .nav-rsvp {
        display: none !important;
    }
}

.nav-rsvp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--gold-leaf);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-rsvp:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ─── 5. HERO SECTION ──────────────────────────────────── */
.hero-floral {
    height: 100dvh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Layered hero background */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(244, 247, 244, 0.3) 0%,
            rgba(244, 247, 244, 0.5) 40%,
            rgba(244, 247, 244, 0.85) 80%,
            rgba(244, 247, 244, 1) 100%);
    z-index: 1;
}

/* Animated watercolor blob */
.hero-watercolor-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 80vw, 700px);
    height: clamp(300px, 80vw, 700px);
    background: radial-gradient(ellipse at center,
            rgba(250, 212, 216, var(--blush-opacity)) 0%,
            rgba(183, 201, 168, 0.15) 50%,
            transparent 70%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    animation: breatheBlob 8s ease-in-out infinite;
}

@keyframes breatheBlob {

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

    50% {
        --blush-opacity: 0.55;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

/* Floral arch frame above names */
.hero-floral-frame {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.hero-arch-svg {
    width: clamp(200px, 60vw, 400px);
    height: auto;
    opacity: 0;
    animation: fadeArchIn 2s ease forwards 0.5s;
}

@keyframes fadeArchIn {
    to {
        opacity: 1;
    }
}

.arch-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawArch 3s ease forwards 0.8s;
}

@keyframes drawArch {
    to {
        stroke-dashoffset: 0;
    }
}

.arch-dot {
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
}

@keyframes fadeIn {
    to {
        opacity: 0.6;
    }
}

/* Names */
.hero-names {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: var(--text-forest);
    line-height: 1;
    display: flex;
    gap: clamp(8px, 2vw, 20px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.9);
}

.hero-name-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-amp {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--gold-leaf);
    opacity: 0;
    transform: scale(0.5);
}

/* Date Pill */
.hero-date-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.date-ornament {
    color: var(--blush-pink);
    font-size: 0.9rem;
    opacity: 0.6;
}

.hero-sub {
    letter-spacing: clamp(2px, 0.5vw, 5px);
    text-transform: uppercase;
    font-size: clamp(0.85rem, 1.5vw, 1.2rem);
    color: var(--text-moss);
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: clamp(25px, 5vh, 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    animation: fadeUpIn 1s ease forwards 3s;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
    }
}

.scroll-leaf {
    color: var(--gold-leaf);
    font-size: 1.2rem;
    animation: floatDown 2.5s ease-in-out infinite;
}

@keyframes floatDown {

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

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

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-moss-light);
    font-weight: 500;
}

/* ─── 6. COUNTDOWN ─────────────────────────────────────── */
.countdown-section {
    padding: 50px 20px;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, var(--bg-sage) 0%, var(--bg-sage-warm) 100%);
}

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

.countdown-label {
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-forest);
    margin-bottom: 25px;
    opacity: 0;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 3vw, 25px);
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
}

.countdown-number {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-leaf);
    line-height: 1;
    min-width: 60px;
}

.countdown-word {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-moss-light);
    font-weight: 600;
    margin-top: 5px;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--blush-pink);
    font-weight: 300;
    opacity: 0;
}

/* ─── 7. ITINERARY SECTION ─────────────────────────────── */
.floral-section {
    padding: var(--section-pad) 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 7vw, 5rem);
    text-align: center;
    color: var(--text-forest);
    margin-bottom: 5px;
    font-weight: 400;
}

/* Floral Divider */
.floral-divider {
    display: flex;
    justify-content: center;
    margin: 15px auto 50px;
    opacity: 0;
}

.divider-vine-svg {
    width: clamp(100px, 30vw, 200px);
    height: auto;
}

.divider-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

/* Vine Timeline Track */
.vine-timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: none;
    /* Hidden on mobile, shown on desktop */
}

/* Timeline List */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: clamp(50px, 8vw, 100px);
    position: relative;
    z-index: 5;
}

.timeline-item {
    opacity: 1;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: clamp(25px, 4vw, 40px);
    display: flex;
    gap: clamp(20px, 4vw, 50px);
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s var(--ease-out-expo),
        box-shadow 0.5s ease;
    /* Clip-path for reveal animation */
    clip-path: circle(0% at 50% 50%);
    will-change: clip-path;
}

.timeline-card.revealed {
    clip-path: circle(150% at 50% 50%);
}

/* Alternating layout on desktop */
.timeline-item:nth-child(even) .timeline-card {
    flex-direction: row-reverse;
}

/* Timeline Icon */
.timeline-icon {
    width: clamp(200px, 40vw, 350px) !important;
    height: clamp(220px, 42vw, 400px) !important;
    object-fit: contain;
    flex-shrink: 0;
    padding: clamp(15px, 3vw, 30px);
    animation: morphFloat 8s ease-in-out infinite;
    pointer-events: none;
}

/* Unique colors per event */
.timeline-item:nth-child(1) .timeline-icon {
    background-color: rgba(250, 212, 216, 0.4);
}

.timeline-item:nth-child(2) .timeline-icon {
    background-color: rgba(232, 244, 236, 0.5);
}

.timeline-item:nth-child(3) .timeline-icon {
    background-color: rgba(255, 240, 229, 0.5);
}

.timeline-item:nth-child(4) .timeline-icon {
    background-color: rgba(230, 230, 250, 0.4);
}

@keyframes morphFloat {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translateY(0);
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: translateY(-6px);
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: translateY(3px);
    }
}

/* Timeline Info */
.timeline-info {
    text-align: left;
    flex-grow: 1;
}

.timeline-info h3 {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--gold-leaf);
    margin-bottom: 12px;
    line-height: 1;
}

.timeline-info p {
    color: var(--text-moss);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-info p i {
    color: var(--gold-leaf);
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.map-btn {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-forest);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s;
}

.map-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--gold-leaf);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.map-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.map-btn:hover {
    color: var(--gold-leaf);
}

/* ─── 8. CAROUSELS ─────────────────────────────────────── */
.date-header-row {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.date-pill {
    background: var(--blush-pink);
    color: var(--text-forest);
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    padding: 10px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(250, 212, 216, 0.4);
}

.carousel-section {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 30px 0;
}

.carousel-container {
    position: relative;
    height: 330px;
    width: 100%;
}

.carousel-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(260px, 45vw, 320px);
    height: 290px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 35px 25px;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.6s var(--ease-out-expo),
        opacity 0.6s ease,
        box-shadow 0.6s ease;
    cursor: pointer;
}

.carousel-card h4 {
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-forest);
    margin-bottom: 8px;
}

.carousel-card i {
    color: var(--blush-pink);
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.carousel-card p {
    color: var(--text-moss);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.card-highlight {
    background: var(--bg-sage);
    color: var(--text-forest);
    border-radius: 20px;
    font-weight: 600;
    padding: 5px 15px;
    margin-top: auto;
    font-size: 0.9rem;
}

.card-link {
    color: var(--gold-leaf);
    font-weight: 700;
    margin-top: auto;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 2px;
}

.card-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-leaf);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out-expo);
}

.card-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Carousel Positions */
.pos-center {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(200, 169, 126, 0.12);
    border-color: var(--gold-light);
    cursor: default;
}

.pos-left {
    transform: translate(calc(-50% - 200px), -50%) scale(0.85);
    opacity: 0.4;
    z-index: 1;
}

.pos-right {
    transform: translate(calc(-50% + 200px), -50%) scale(0.85);
    opacity: 0.4;
    z-index: 1;
}

.pos-hidden {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* ─── 9. CTA SECTION ──────────────────────────────────── */
.botanical-cta {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.cta-watercolor-mask {
    background: linear-gradient(135deg, var(--blush-pink) 0%, rgba(250, 212, 216, 0.6) 100%);
    padding: clamp(50px, 8vw, 80px) clamp(30px, 5vw, 50px);
    text-align: center;
    animation: morphBlob 10s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(250, 212, 216, 0.4);
    width: 100%;
    max-width: 550px;
}

@keyframes morphBlob {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

.rsvp-cta-text {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text-forest);
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Buttons */
.btn.primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--text-forest);
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out-expo);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(44, 62, 45, 0.2);
}

.btn.primary:hover {
    background: var(--gold-leaf);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(200, 169, 126, 0.35);
}

.btn.primary:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
}

.btn.primary i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn.primary:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* ─── 10. FOOTER ───────────────────────────────────────── */
.floral-footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg-sage) 0%, rgba(44, 62, 45, 0.08) 100%);
    padding: 60px 20px 40px;
    text-align: center;
    overflow: hidden;
    z-index: 10;
}

.footer-vines {
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer-vines svg {
    width: clamp(200px, 50vw, 400px);
    height: auto;
}

.floral-footer p {
    color: var(--text-moss);
    font-size: 1rem;
    font-weight: 500;
}

/* ─── 11. RSVP PAGE OVERRIDES ──────────────────────────── */
body.floral-rsvp-bg {
    background-color: var(--bg-sage);
    background-image: none;
}

.floral-rsvp-header {
    height: 55vh;
    background-image: url('../images/rsvp.jpg');
    background-size: cover;
    background-position: center;
}

.floral-rsvp-header .overlay {
    background: linear-gradient(180deg,
            rgba(244, 247, 244, 0.2) 0%,
            rgba(244, 247, 244, 0.6) 70%,
            rgba(244, 247, 244, 0.95) 100%);
}

.header-content h1.rsvp-main-title {
    font-family: var(--font-script) !important;
    font-size: clamp(4rem, 10vw, 7rem) !important;
    color: var(--text-forest) !important;
    letter-spacing: 3px !important;
    text-shadow: 0 4px 25px rgba(255, 255, 255, 0.95);
}

.floral-form-card {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.floral-form-title {
    font-family: var(--font-script) !important;
    font-size: clamp(3rem, 7vw, 4.5rem) !important;
    color: var(--gold-leaf) !important;
    letter-spacing: 2px !important;
    line-height: 1;
}

.custom-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px auto 40px;
    width: 100%;
}

.divider-icon-center {
    color: var(--gold-leaf);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.custom-divider::before {
    content: '';
    height: 60px;
    width: 1.5px;
    background: linear-gradient(to bottom, var(--gold-leaf), transparent);
    opacity: 0.5;
}

/* RSVP Form Inputs */
.input-styled {
    border-radius: 16px !important;
    font-family: var(--font-body) !important;
    border: 1.5px solid #E8E4DE !important;
    transition: all 0.3s ease !important;
}

.input-styled:focus {
    border-color: var(--blush-pink) !important;
    box-shadow: 0 0 0 4px rgba(250, 212, 216, 0.25) !important;
}

/* Event Cards in RSVP */
.floral-event-card {
    border-radius: 18px !important;
    border: 1.5px solid #E8E4DE !important;
    transition: all 0.3s ease !important;
}

.floral-event-card:hover {
    border-color: var(--blush-pink) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(250, 212, 216, 0.2);
}

.floral-event-card:has(input:checked) {
    border-color: var(--gold-leaf) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(200, 169, 126, 0.15);
}

.floral-event-card input:checked~.check-container .check-icon {
    background: var(--blush-pink) !important;
    border-color: var(--blush-pink) !important;
    color: #FFF !important;
}

/* RSVP Buttons */
.floral-btn {
    background: var(--text-forest) !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out-expo) !important;
}

.floral-btn:hover {
    background: var(--gold-leaf) !important;
    box-shadow: 0 10px 25px rgba(200, 169, 126, 0.3) !important;
    transform: translateY(-2px);
}

.floral-btn-cancel {
    border-color: var(--text-forest) !important;
    color: var(--text-forest) !important;
    border-radius: 50px !important;
}

.floral-btn-cancel:hover {
    background: var(--blush-pink) !important;
    border-color: var(--blush-pink) !important;
}

/* ─── 12. RESPONSIVE ───────────────────────────────────── */
@media (min-width: 769px) {
    .vine-timeline-track {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-names {
        font-size: clamp(3rem, 10vw, 4.5rem);
    }

    /* Stack timeline cards vertically */
    .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }

    .timeline-info {
        text-align: center;
    }

    .timeline-info p {
        justify-content: center;
    }

    .timeline-icon {
        width: 140px;
        height: 160px;
    }

    /* Carousel adjustments */
    .carousel-card {
        width: 260px;
        height: 270px;
    }

    .pos-left {
        transform: translate(calc(-50% - 120px), -50%) scale(0.8);
        opacity: 0.3;
    }

    .pos-right {
        transform: translate(calc(-50% + 120px), -50%) scale(0.8);
        opacity: 0.3;
    }

    .header-content h1.rsvp-main-title {
        font-size: clamp(3.5rem, 10vw, 5rem) !important;
    }

    .hanging-vines {
        width: 130px;
        height: 180px;
    }
}

@media (max-width: 400px) {
    .hero-names {
        font-size: 3rem;
    }

    .countdown-grid {
        gap: 8px;
    }

    .countdown-number {
        font-size: 1.8rem;
        min-width: 45px;
    }

    .timeline-icon {
        width: 110px;
        height: 130px;
    }
}

/* ─── 13. MICRO-INTERACTIONS ───────────────────────────── */
.btn:active,
.date-pill:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease !important;
}

/* Smooth text reveal class for GSAP */
.reveal-text {
    opacity: 0;
    transform: translateY(25px);
}

/* Desktop hover enhancements */
@media (hover: hover) and (pointer: fine) {
    .timeline-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 45px rgba(200, 169, 126, 0.12);
    }

    .carousel-card.pos-left:hover,
    .carousel-card.pos-right:hover {
        opacity: 0.6;
    }
}

/* ─── 14. FOOTER ADJUSTMENTS ───────────────────────────── */
.floral-footer {
    background: transparent !important;
    position: relative;
    color: var(--text-forest) !important;
    padding: 60px 20px 40px;
    text-align: center;
    border-top: none !important;
    z-index: 5;
    overflow: hidden;
}

.floral-footer::before {
    content: '🌸 🌿 🌸';
    display: block;
    font-size: 1.2rem;
    letter-spacing: 15px;
    margin-bottom: 25px;
    color: var(--blush-pink);
    opacity: 0.8;
}

.floral-footer p {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
}