/* =====================================================
   WEDDING TEMPLATE - LIQUID GLASS STYLE
   ===================================================== */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* ===========================================
       PRIMARY COLOR CONFIGURATION

       Change this single HEX value to update
       the entire color scheme automatically!
       =========================================== */
    --color-base: #d4a5a5;

    /* ===========================================
       AUTO-GENERATED COLORS (from --color-base)
       Uses color-mix() for automatic variants
       =========================================== */
    /* Primary Colors */
    --color-primary: var(--color-base);
    --color-primary-light: color-mix(in srgb, var(--color-base), white 45%);
    --color-primary-dark: color-mix(in srgb, var(--color-base), black 20%);

    /* Secondary & Accent - slightly desaturated variants */
    --color-secondary: color-mix(in srgb, var(--color-base), #d4c4b0 50%);
    --color-accent: color-mix(in srgb, var(--color-base), #a09080 40%);
    --color-gold: color-mix(in srgb, var(--color-base), #c9b896 60%);

    /* Background Tints - very light versions */
    --color-rose: color-mix(in srgb, var(--color-base), white 60%);
    --color-blush: color-mix(in srgb, var(--color-base), white 80%);
    --color-cream: color-mix(in srgb, var(--color-base), white 92%);

    /* Text Colors - dark versions */
    --color-text: color-mix(in srgb, var(--color-base), black 60%);
    --color-text-light: color-mix(in srgb, var(--color-base), black 35%);
    --color-white: #ffffff;

    /* Glass Effect Colors */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-strong: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(200, 180, 180, 0.15);
    --glass-glow: rgba(255, 255, 255, 0.6);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-blush) 0%, var(--color-cream) 50%, var(--color-primary-light) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    --gradient-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 50%);

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Great Vibes', cursive;

    /* Spacing */
    --section-padding: 100px 0;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =====================================================
   ENVELOPE INTRO - SVG Based Realistic Envelope
   ===================================================== */
.envelope-intro {
    position: fixed;
    inset: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.envelope-intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.envelope-wrapper {
    position: relative;
    padding-bottom: 80px;
}

/* Letter container - overlaps with envelope and uses clip-path for opening illusion */
.letter-container {
    position: absolute;
    top: -210px;
    left: 0;
    width: 100%;
    height: 380px;
    overflow: hidden;
    z-index: 6;
    pointer-events: none;
    /* Clip path: full width above envelope, tapers to narrow opening inside envelope */
    clip-path: polygon(
        0% 0%,
        100% 0%,
        100% 55%,
        55% 90%,
        45% 90%,
        0% 55%
    );
}

.envelope {
    position: relative;
    width: min(450px, calc(100vw - 3rem)) !important;
    aspect-ratio: 450 / 330 !important;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s ease;
    overflow: visible;
    z-index: 5;
}

/* Container that clips the letter while inside */
.envelope-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.envelope:not(.open):hover {
    transform: translateY(-5px);
}

/* Envelope shadow */
.envelope-shadow {
    position: absolute;
    bottom: -30px;
    left: -5%;
    width: 110%;
    height: 80px;
    background-image: url('../img/umbra.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.envelope:not(.open):hover .envelope-shadow {
    bottom: -35px;
    opacity: 0.4;
}

/* Envelope back - main body */
.envelope-back {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: 4px;
    overflow: hidden;
}

.envelope-texture {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}

.envelope-back .envelope-texture {
    background-image:
        linear-gradient(135deg, rgba(0,0,0,0.06) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0,0,0,0.06) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0,0,0,0.06) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0,0,0,0.06) 25%, transparent 25%);
    background-size: 24px 24px;
    background-position: 0 0, 12px 0, 12px -12px, 0 12px;
    opacity: 1;
}

/* Interior cover - only covers the sides, not the top opening */
.envelope-interior {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    height: 60%;
    background: var(--color-primary);
    z-index: 2;
}

.envelope-interior .envelope-texture {
    background-image: url('../img/patern-decorativ.png');
}

.envelope-flap-top .envelope-texture {
    display: none;
}

.envelope-flaps-side .envelope-texture {
    background-image: url('../img/envelope-texture.png');
    clip-path: polygon(0 0, 0 100%, 42% 70%, 42% 50%, 0 0, 100% 0, 58% 50%, 58% 70%, 100% 100%, 100% 0);
}

.envelope-flap-bottom .envelope-texture {
    background-image: url('../img/envelope-texture-clapa-jos.png');
    clip-path: polygon(0 100%, 0 78%, 44% 10%, 56% 10%, 100% 78%, 100% 100%);
}

/* SVG flap styling */
.flap-main {
    fill: var(--color-primary);
}

.flap-shadow {
    fill: rgba(0,0,0,0.1);
}

.flap-inner {
    stroke: rgba(255,255,255,0.2);
}

/* Top flap - animated */
.envelope-flap-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    transform-origin: top center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    backface-visibility: visible;
    transform-style: preserve-3d;
}

.envelope-flap-top svg {
    width: 100%;
    height: 100%;
}


.envelope.open .envelope-flap-top {
    transform: rotateX(-180deg);
    z-index: 1;
}

.envelope:not(.open):hover .envelope-flap-top {
    transform: rotateX(30deg);
}

/* Side flaps */
.envelope-flaps-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.envelope-flaps-side svg {
    width: 100%;
    height: 100%;
}

/* Bottom flap */
.envelope-flap-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56%;
    z-index: 4;
}

.envelope-flap-bottom svg {
    width: 100%;
    height: 100%;
}

/* Letter/Card */
.letter {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(210px);
    width: 380px;
    height: 210px;
    background: linear-gradient(to bottom, #ffffff 0%, #fdfcfa 50%, #f8f6f3 100%);
    border-radius: 3px;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.1),
        0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

/* Letter peek on envelope hover */
.envelope:not(.open):hover ~ .letter-container .letter {
    transform: translateX(-50%) translateY(80px);
}

.letter::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    pointer-events: none;
}

.letter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary) 30%, var(--color-primary) 70%, transparent);
}

.envelope.open ~ .letter-container .letter {
    transform: translateX(-50%) translateY(-100px);
}

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

.letter-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.letter-names {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.letter-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.letter-divider span {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.letter-divider i {
    color: var(--color-primary);
    font-size: 0.6rem;
}

.letter-date {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-text);
}

/* Wax seal - now outside envelope for z-index control */
.envelope-seal {
    position: absolute;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.seal-inner {
    width: 55px;
    height: 55px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(0,0,0,0.2) 0%, transparent 40%),
        linear-gradient(145deg,
            color-mix(in srgb, var(--color-primary) 70%, white) 0%,
            var(--color-primary) 50%,
            color-mix(in srgb, var(--color-primary) 70%, black) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 3px 8px rgba(0,0,0,0.3),
        0 6px 20px rgba(0,0,0,0.2),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.15);
}

.seal-inner i {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.envelope.open ~ .envelope-seal {
    opacity: 0;
    transform: translateX(-50%) scale(0.5) rotate(45deg);
}

.envelope:not(.open):hover ~ .envelope-seal {
    transform: translateX(-50%) translateY(-5px);
}

/* Hint text */
.envelope-hint {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse-hint 2s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.envelope-hint.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Continue button */
.envelope-continue {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.envelope-wrapper .envelope-continue.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(70px);
}

.envelope-continue:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%) translateY(68px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 500px) {
    .envelope-intro {
        padding: 1.5rem;
    }

    .envelope-wrapper {
        transform: scale(0.75);
    }

    .envelope {
        width: 300px;
        height: 220px;
    }

    .letter-container {
        top: -185px;
        height: 300px;
        z-index: 6;
        clip-path: polygon(
            0% 0%,
            100% 0%,
            100% 62%,
            55% 90%,
            45% 90%,
            0% 62%
        );
        -webkit-clip-path: polygon(
            0% 0%,
            100% 0%,
            100% 62%,
            55% 90%,
            45% 90%,
            0% 62%
        );
        will-change: clip-path;
    }

    .letter {
        width: 255px;
        height: 185px;
        transform: translateX(-50%) translateY(185px);
        will-change: transform;
        -webkit-transform: translateX(-50%) translateY(185px);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .envelope:not(.open):hover ~ .letter-container .letter {
        transform: translateX(-50%) translateY(85px);
    }

    .envelope.open ~ .letter-container .letter {
        transform: translateX(-50%) translateY(-45px);
    }

    .envelope-seal {
        top: 85px;
    }

    .letter-names {
        font-size: 1.8rem;
    }

    .letter-content {
        padding: 1.2rem 0.8rem;
    }

    .letter-subtitle {
        font-size: 0.7rem;
    }

    .letter-date {
        font-size: 0.9rem;
    }

    .seal-inner {
        width: 42px;
        height: 42px;
    }

    .seal-inner i {
        font-size: 1rem;
    }

    .welcome-monogram {
        margin-bottom: 1.5rem;
    }

    .monogram-outer {
        width: 100px;
        height: 100px;
    }

    .monogram-outer::before {
        width: 118px;
        height: 118px;
    }

    .monogram-outer::after {
        width: 82px;
        height: 82px;
    }

    .monogram-initial {
        font-size: 2rem;
    }

    .monogram-ampersand {
        font-size: 1.1rem;
        top: 0.2rem;
    }

    .monogram-flourish {
        display: none;
    }
}

/* =====================================================
   BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--gradient-primary);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
}

/* =====================================================
   SPLIT LAYOUT
   ===================================================== */
body.split-layout {
    overflow: hidden;
    --left-panel-width: clamp(380px, 38vw, 480px);
}

/* Fix scroll in iframe preview - only for mobile width */
@media (max-width: 900px) {
    body.split-layout.in-iframe {
        overflow: auto !important;
        height: auto !important;
    }

    body.split-layout.in-iframe .split-container {
        height: auto;
    }

    body.split-layout.in-iframe .left-panel {
        position: relative;
        height: auto;
    }

    body.split-layout.in-iframe .right-panel {
        overflow: visible;
        height: auto;
    }
}

.split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Panel - Fixed */
.left-panel {
    width: var(--left-panel-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--color-primary) 12%, var(--color-cream)) 0%,
        color-mix(in srgb, var(--color-primary) 6%, var(--color-cream)) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow-y: auto;
}

/* Separator line between panels */
.left-panel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--color-primary-light) 20%,
        var(--color-primary) 50%,
        var(--color-primary-light) 80%,
        transparent 100%
    );
    opacity: 0.5;
}

.left-panel-content {
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 100%;
    margin: auto;
}

/* Hero Info in Sidebar */
.hero-info {
    margin-bottom: 2.5rem;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.hero-names {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.hero-divider span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.hero-divider i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.hero-venue {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 1px;
}

.hero-venue i {
    margin-right: 0.3rem;
}

/* Sidebar Countdown */
.sidebar-countdown {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--color-primary-light);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.sidebar-countdown .countdown-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

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

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1;
}

.countdown-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.countdown-sep {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Side Navigation */
.side-nav {
    margin-bottom: 2rem;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    margin: 0.5rem 0;
}

.side-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.side-nav .nav-link:hover,
.side-nav .nav-link.active {
    color: var(--color-text);
    background: var(--glass-bg);
}

.nav-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.side-nav .nav-link:hover .nav-dot,
.side-nav .nav-link.active .nav-dot {
    background: var(--color-primary);
    transform: scale(1.3);
}

/* Sidebar Decoration */
.sidebar-decoration {
    margin-top: 2rem;
    opacity: 0.15;
}

.sidebar-decoration svg {
    width: 80px;
    height: auto;
    fill: var(--color-primary);
    stroke: var(--color-primary);
}

/* Right Panel - Scrollable */
.right-panel {
    flex: 1;
    margin-left: var(--left-panel-width);
    height: 100vh;
    overflow-y: scroll;
    background: var(--color-cream);
}

/* Content Sections */
.content-section {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    position: relative;
}

.content-section:first-child {
    padding-top: 4rem;
}

/* Separator între secțiuni */
.content-section:not(.welcome-section):not(.thanks-section)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
}

.section-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

/* Welcome Section */
.welcome-section {
    min-height: 100vh;
    padding-top: 0;
}

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

.welcome-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.welcome-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.welcome-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.welcome-divider i {
    color: var(--color-primary);
    font-size: 0.6rem;
}

.welcome-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* Welcome Monogram */
.welcome-monogram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.monogram-outer {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.monogram-outer::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(166, 124, 82, 0.3);
}

.monogram-outer::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(166, 124, 82, 0.5);
}

.monogram-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.monogram-initial {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--color-primary);
    line-height: 1;
}

.monogram-ampersand {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0.7;
    margin: 0 0.1rem;
    position: relative;
    top: 0.3rem;
}

.monogram-flourish {
    position: absolute;
    width: 70px;
    height: 20px;
    color: var(--color-primary);
    opacity: 0.5;
    top: 50%;
    transform: translateY(-50%);
}

.monogram-flourish.left {
    right: calc(50% + 85px);
}

.monogram-flourish.right {
    left: calc(50% + 85px);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-hint-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.8;
}

.scroll-hint-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce-down 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-hint-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes bounce-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.welcome-section .section-inner {
    position: relative;
    height: calc(100vh - 4rem);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 15vh;
}

/* Couple Layout for Split */
.couple-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.couple-image-wrapper {
    position: relative;
}

.couple-image-wrapper .image-frame {
    padding: 0.75rem;
}

.couple-image-wrapper .couple-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
}

.couple-text-wrapper {
    padding: 0;
}

/* Locations Grid */
.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.locations-grid .location-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
}

.locations-grid .location-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
}

.locations-grid .location-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.locations-grid .location-card:hover .location-image {
    transform: scale(1.1);
}

.locations-grid .location-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90, 74, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.locations-grid .location-card:hover .location-overlay {
    opacity: 1;
}

.locations-grid .location-overlay i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.locations-grid .location-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.locations-grid .location-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.locations-grid .location-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.locations-grid .location-date i {
    margin-right: 0.4rem;
    color: var(--color-primary);
}

.locations-grid .location-address {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.locations-grid .btn-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
}

.locations-grid .btn-glass:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--color-primary-dark);
    color: var(--color-text);
}

@media (max-width: 600px) {
    .locations-grid .location-card {
        grid-template-columns: 1fr;
        grid-template-rows: 150px auto;
    }

    .locations-grid .location-image-wrapper {
        grid-row: 1;
    }
}

/* Content Footer */
.content-footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--glass-border);
}

.content-footer .footer-text {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.content-footer .footer-copyright {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1.25rem;
    width: 50px;
    height: 50px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.3rem;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Responsive Split Layout */
@media (max-width: 1100px) {
    body.split-layout {
        --left-panel-width: clamp(320px, 35vw, 400px);
    }

    .section-inner {
        padding: 0 2rem;
    }
}

@media (max-width: 900px) {
    body.split-layout {
        overflow: auto;
    }

    .split-container {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
        min-width: unset;
        max-width: unset;
        height: auto;
        min-height: 85vh;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .left-panel-content {
        padding: 4rem 1.5rem 2rem;
    }

    .hero-info {
        margin-bottom: 3.5rem;
    }

    .hero-label {
        font-size: 1.1rem;
        letter-spacing: 4px;
        margin-bottom: 1rem;
    }

    .hero-names {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }

    .hero-date {
        font-size: 1.3rem;
    }

    .hero-venue {
        font-size: 0.9rem;
    }

    .sidebar-countdown {
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .side-nav {
        display: none;
    }

    .sidebar-decoration {
        display: none;
    }

    .right-panel {
        margin-left: 0;
        overflow: visible;
    }

    .content-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .welcome-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .welcome-monogram {
        margin-bottom: 2rem;
    }

    .monogram-outer {
        width: 120px;
        height: 120px;
    }

    .monogram-outer::before {
        width: 140px;
        height: 140px;
    }

    .monogram-outer::after {
        width: 100px;
        height: 100px;
    }

    .monogram-initial {
        font-size: 2.4rem;
    }

    .monogram-ampersand {
        font-size: 1.3rem;
    }

    .monogram-flourish {
        width: 50px;
    }

    .monogram-flourish.left {
        right: calc(50% + 75px);
    }

    .monogram-flourish.right {
        left: calc(50% + 75px);
    }

    .welcome-section .section-inner {
        height: auto;
        min-height: auto;
        padding-top: 2rem;
    }

    .scroll-hint {
        display: none;
    }

    .section-inner {
        padding: 0 2.5rem;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile menu overlay */
    .left-panel.mobile-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        z-index: 999;
        overflow-y: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(
            160deg,
            color-mix(in srgb, var(--color-primary) 12%, var(--color-cream)) 0%,
            color-mix(in srgb, var(--color-primary) 6%, var(--color-cream)) 100%
        );
    }

    .left-panel.mobile-open .hero-info,
    .left-panel.mobile-open .sidebar-countdown,
    .left-panel.mobile-open .sidebar-decoration {
        display: none;
    }

    .left-panel.mobile-open .side-nav {
        display: block;
    }

    .timeline-locations {
        padding-left: 80px;
    }

    .timeline-locations::before {
        left: 35px;
    }

    .timeline-marker {
        left: -80px;
        width: 70px;
    }

    .timeline-time {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .left-panel-content {
        padding: 1.5rem 1rem;
    }

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

    .countdown-value {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .section-inner {
        padding: 0 2rem;
    }

    .timeline-locations {
        padding-left: 0;
    }

    .timeline-locations::before {
        display: none;
    }

    .timeline-marker {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: auto;
        text-align: left;
        margin-bottom: 0.75rem;
    }

    .timeline-content::before {
        display: none;
    }
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-text);
}

.script-font {
    font-family: var(--font-script);
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 2rem;
}

/* =====================================================
   GLASS EFFECT - LIQUID GLASS STYLE
   ===================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 var(--glass-glow),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--gradient-shine);
    border-radius: 24px 24px 50% 50%;
    pointer-events: none;
    opacity: 0.5;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px var(--glass-shadow);
}

.navbar-brand {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-primary-dark) !important;
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--color-primary-dark) !important;
    background: var(--glass-bg);
}

.navbar-toggler {
    border: 1px solid var(--glass-border);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: var(--glass-bg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235a4a4a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1920') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(248, 240, 240, 0.85) 0%,
        rgba(255, 250, 250, 0.7) 50%,
        rgba(248, 240, 240, 0.85) 100%
    );
}

/* Floating Elements - Liquid Glass Effect */
.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-delay: -5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-card {
    padding: 3rem 4rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: var(--color-primary);
}

.hero-divider i {
    margin: 0 1rem;
    color: var(--color-primary);
    font-size: 0.8rem;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.hero-location {
    font-size: 1rem;
    color: var(--color-text-light);
    letter-spacing: 2px;
}

.hero-location i {
    margin-right: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.scroll-indicator a:hover {
    background: var(--glass-bg-strong);
    transform: scale(1.1);
}

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

/* Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* =====================================================
   SECTION PADDING
   ===================================================== */
.section-padding {
    padding: var(--section-padding);
    position: relative;
}

/* =====================================================
   DIAGONAL & OVERLAPPING SECTIONS
   ===================================================== */

/* Diagonal section - slants down to right */
.section-diagonal {
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 calc(100% - 60px));
    padding-top: calc(100px + 60px);
    padding-bottom: calc(100px + 60px);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

/* Diagonal section - slants down to left */
.section-diagonal-reverse {
    clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
    padding-top: calc(100px + 60px);
    padding-bottom: calc(100px + 60px);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

/* Diagonal with background */
.section-diagonal-bg {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--color-primary) 8%, var(--color-cream)) 0%,
        color-mix(in srgb, var(--color-primary) 12%, var(--color-cream)) 100%
    );
}

/* Overlapping card - pulls up into previous section */
.overlap-up {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.overlap-up-lg {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

/* Section that allows next section to overlap into it */
.section-overlap-next {
    padding-bottom: 150px;
}

/* Angled edge using pseudo-element (alternative method) */
.section-angled::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: -1;
}

.section-angled::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: bottom right;
    z-index: -1;
}

/* Responsive for diagonal sections */
@media (max-width: 767px) {
    .section-diagonal {
        clip-path: polygon(0 0, 100% 35px, 100% 100%, 0 calc(100% - 35px));
        padding-top: calc(60px + 35px);
        padding-bottom: calc(60px + 35px);
        margin-top: -35px;
    }

    .section-diagonal-reverse {
        clip-path: polygon(0 35px, 100% 0, 100% calc(100% - 35px), 0 100%);
        padding-top: calc(60px + 35px);
        padding-bottom: calc(60px + 35px);
        margin-top: -35px;
    }

    .overlap-up {
        margin-top: -40px;
    }

    .section-overlap-next {
        padding-bottom: 100px;
    }
}

/* =====================================================
   FAMILY SECTION
   ===================================================== */
.family-section {
    background: transparent;
}

/* Family Cards Vertical Layout */
.family-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.family-card {
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.family-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.45);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glass);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

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

.card-icon .icon-svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary-dark);
}

.family-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.elegant-divider {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.elegant-divider span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.elegant-divider.left {
    justify-content: flex-start;
}

.elegant-divider.center {
    justify-content: center;
}

.family-names {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 0;
}

/* Section Decoration */
.section-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-rose) 0%, transparent 70%);
    opacity: 0.3;
}

.deco-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.deco-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

/* =====================================================
   COUNTDOWN SECTION
   ===================================================== */
.countdown-section {
    background: transparent;
}

.countdown-section.section-diagonal-bg {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--color-primary) 6%, var(--color-cream)) 0%,
        color-mix(in srgb, var(--color-primary) 10%, var(--color-cream)) 100%
    );
}

.countdown-container {
    padding: 3rem;
    margin-top: 2rem;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.countdown-glass {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 var(--glass-glow);
}

.countdown-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 20px 20px 50% 50%;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    padding: 0 0.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .countdown-glass {
        width: 70px;
        height: 70px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-separator {
        display: none;
    }

    .countdown-item {
        padding: 0 0.5rem;
    }
}

/* =====================================================
   COUPLE SECTION
   ===================================================== */
.couple-section {
    background: transparent;
    overflow: visible;
}

.couple-section .container {
    overflow: visible;
}

.couple-section .row {
    overflow: visible;
}

.couple-image-wrapper {
    position: relative;
}

.image-frame {
    padding: 1rem;
    position: relative;
    z-index: 2;
    transform: translateX(-30px);
}

.couple-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 24px;
    z-index: 1;
}

.couple-content {
    padding: 3rem;
    margin-left: -40px;
    position: relative;
    z-index: 3;
}

.couple-content.overlap-card {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .image-frame {
        transform: none;
    }

    .couple-content {
        margin-left: 0;
        margin-top: -30px;
        padding-left: 2.5rem;
        padding-right: 1.5rem;
    }

    .couple-text {
        text-align: left;
    }
}

.couple-title {
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.couple-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.couple-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.couple-signature {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-top: 1.5rem;
}

/* =====================================================
   LOCATIONS SECTION
   ===================================================== */
.locations-section {
    background: transparent;
}

.locations-section.section-diagonal-bg {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--color-primary) 6%, var(--color-cream)) 0%,
        color-mix(in srgb, var(--color-primary) 10%, var(--color-cream)) 100%
    );
}

.location-card {
    padding: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--glass-shadow);
}

.location-card.featured {
    transform: scale(1.02);
}

.location-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.location-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90, 74, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.location-card:hover .location-overlay {
    opacity: 1;
}

.location-overlay i {
    font-size: 2rem;
    color: var(--color-white);
}

.location-content {
    padding: 1.5rem;
    text-align: center;
}

.location-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.location-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.location-date i {
    margin-right: 0.5rem;
    color: var(--color-primary);
}

.location-address {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* Glass Button */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-glass:hover {
    background: var(--glass-bg-strong);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glass-shadow);
}

/* =====================================================
   RSVP SECTION
   ===================================================== */
.rsvp-section {
    background: transparent;
}

.rsvp-card {
    padding: 3rem;
}

.rsvp-form .row {
    margin-bottom: 1.25rem;
}

.rsvp-form .row:last-child {
    margin-bottom: 0;
}

/* Hide row margin when personName/partnerName fields are both hidden */
.rsvp-form .row:has(> .personName[style*="none"]):has(> .partnerName[style*="none"]) {
    margin-bottom: 0;
}

.rsvp-form label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    display: block;
}

.rsvp-form .confirmation_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.rsvp-form .alert {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.rsvp-form br {
    display: none;
}

.rsvp-form .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #a94442;
}

/* Glass Input */
.glass-input {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary-light) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text) !important;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 168, 0.15) !important;
    outline: none !important;
}

.glass-input::placeholder {
    color: var(--color-text-light);
    opacity: 0.7;
}

/* RSVP Buttons */
.rsvp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-decline,
.btn-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-decline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary-light);
    color: var(--color-text);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-confirm {
    background: var(--color-primary-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-confirm:hover {
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   THANKS SECTION
   ===================================================== */
.thanks-section {
    background: transparent;
}

.thanks-section.section-diagonal-bg {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--color-primary) 6%, var(--color-cream)) 0%,
        color-mix(in srgb, var(--color-primary) 10%, var(--color-cream)) 100%
    );
}

.thanks-section {
    min-height: auto;
    padding: 3rem 0;
}

.thanks-section .section-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    text-align: center;
}

.thanks-content::before {
    content: '♥';
    display: block;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.thanks-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.thanks-names {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.thanks-content::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0 auto;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.footer-text {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.toast.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
}

.toast-header {
    background: transparent;
    border-bottom: 1px solid var(--glass-border);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 991px) {
    .hero-card {
        padding: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: 16px;
        margin-top: 1rem;
        border: 1px solid var(--glass-border);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

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

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

    .couple-image {
        height: 300px;
    }

    .image-decoration {
        display: none;
    }

    .couple-content {
        padding: 2rem;
    }

    .couple-title {
        font-size: 2.5rem;
    }

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

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

    .btn-decline,
    .btn-confirm {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .family-names {
        font-size: 1.5rem;
    }
}

/* =====================================================
   SECTION SEPARATORS
   ===================================================== */
.section-separator {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.separator-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.separator-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.separator-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--glass-shadow);
}

/* Wavy Separator */
.separator-wave {
    width: 100%;
    height: 60px;
    position: relative;
}

.separator-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.separator-wave path {
    fill: none;
    stroke: var(--color-primary-light);
    stroke-width: 1;
}

/* Elegant Flourish Separator */
.separator-flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.flourish-curl {
    width: 60px;
    height: 20px;
    position: relative;
}

.flourish-curl::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-primary);
    border-radius: 0 0 50% 50%;
    border-top: none;
}

.flourish-curl.left::before {
    border-radius: 0 0 0 50%;
    border-right: none;
}

.flourish-curl.right::before {
    border-radius: 0 0 50% 0;
    border-left: none;
}

.flourish-diamond {
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    transform: rotate(45deg);
    opacity: 0.6;
}

.flourish-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.4;
}

/* Leaves Separator */
.separator-leaves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.leaf {
    width: 30px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: 50% 0;
    opacity: 0.5;
    transform-origin: center;
}

.leaf:nth-child(1) { transform: rotate(-45deg) scale(0.7); }
.leaf:nth-child(2) { transform: rotate(-25deg) scale(0.85); }
.leaf:nth-child(3) { transform: rotate(0deg); opacity: 0.7; }
.leaf:nth-child(4) { transform: rotate(25deg) scale(0.85); }
.leaf:nth-child(5) { transform: rotate(45deg) scale(0.7); }

.leaf-center {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    margin: 0 0.5rem;
}

/* Hearts Separator */
.separator-hearts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.mini-heart {
    color: var(--color-primary);
    font-size: 0.6rem;
    opacity: 0.4;
}

.mini-heart.center {
    font-size: 1rem;
    opacity: 0.7;
}

/* Animated Separator */
.separator-animated .separator-icon {
    animation: float-gentle 3s ease-in-out infinite;
}

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

/* =====================================================
   DECORATIVE SVG ELEMENTS
   ===================================================== */
.deco-svg {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
}

.deco-svg svg {
    width: 100%;
    height: 100%;
}

.deco-svg path,
.deco-svg circle,
.deco-svg ellipse {
    fill: var(--color-primary);
}

.deco-svg.stroke-only path {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.5;
}

/* Positioning variants */
.deco-top-left {
    top: 0;
    left: 0;
}

.deco-top-right {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.deco-bottom-left {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.deco-bottom-right {
    bottom: 0;
    right: 0;
    transform: scale(-1);
}

.deco-center-left {
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
}

.deco-center-right {
    top: 50%;
    right: -50px;
    transform: translateY(-50%) scaleX(-1);
}

/* Size variants */
.deco-sm {
    width: 120px;
    height: 120px;
}

.deco-md {
    width: 180px;
    height: 180px;
}

.deco-lg {
    width: 250px;
    height: 250px;
}

.deco-xl {
    width: 350px;
    height: 350px;
}

/* Opacity variants */
.deco-subtle {
    opacity: 0.08;
}

.deco-light {
    opacity: 0.12;
}

.deco-medium {
    opacity: 0.18;
}

/* Animation */
.deco-float {
    animation: deco-float 8s ease-in-out infinite;
}

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

.deco-float.deco-top-right {
    animation: deco-float-mirror 8s ease-in-out infinite;
}

@keyframes deco-float-mirror {
    0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
    50% { transform: scaleX(-1) translateY(-10px) rotate(-2deg); }
}

/* Rings decoration */
.deco-rings {
    opacity: 0.1;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for children */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
