/* ========================================
   MALIKA & DARIO - HOCHZEITSWEBSITE
   Farben: Rost, Braun, Creme, Gold
   Stil: Bauernhof-klassisch mit Blumen
   ======================================== */

/* CSS Variables */
:root {
    --color-rost: #C4A484;
    --color-rost-dark: #A8845F;
    --color-braun: #8B7355;
    --color-braun-dunkel: #6B5740;
    --color-creme: #F5F0E8;
    --color-creme-dunkel: #EDE5D8;
    --color-gold: #D4A574;
    --color-gold-hell: #E8C9A0;
    --color-Text: #4A3F35;
    --color-Text-hell: #7A6F65;
    --color-weiss: #FFFDF9;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', 'Times New Roman', serif;
    --shadow-soft: 0 4px 20px rgba(139, 115, 85, 0.15);
    --shadow-medium: 0 8px 30px rgba(139, 115, 85, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: #F8F4EE;
    color: var(--color-Text);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    background-image: url('../assets/botanical-bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* ========================================
   ENVELOPE ANIMATION OVERLAY
   ======================================== */

#envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #F8F4EE;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    overflow: hidden;
}

/* Botanical background image */
#envelope-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/botanical-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Soft light overlay */
#envelope-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 253, 249, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

/* Scene Container */
.envelope-scene {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1200px;
}

/* Petals Container */
.petals-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 10;
    pointer-events: none;
}

.petal {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-rost);
    border-radius: 50% 0 50% 0;
    opacity: 0;
    pointer-events: none;
}

.petal.pink { background: #E8B4B8; }
.petal.gold { background: var(--color-gold); }
.petal.cream { background: var(--color-creme-dunkel); }
.petal.rose { background: var(--color-rost); }

/* Overlay Logo */
.overlay-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 2px 8px rgba(107, 87, 64, 0.15));
}

/* ========================================
   3D ENVELOPE - DETAILED
   ======================================== */

.envelope {
    position: relative;
    width: 380px;
    height: 260px;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
    filter: drop-shadow(0 20px 40px rgba(107, 87, 64, 0.25));
}

/* Envelope Body (back) */
.envelope-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    z-index: 1;
    overflow: hidden;
    background:
        linear-gradient(165deg, #C4A882 0%, #B89B7A 25%, var(--color-rost-dark) 55%, #9A7B5B 80%, #8A6B4B 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* Paper grain texture */
.envelope-body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

/* Inner stitching */
.envelope-body::after {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.07);
    border-radius: 3px;
    pointer-events: none;
}

/* ========================================
   SIDE FLAPS
   ======================================== */

.envelope-flap-left,
.envelope-flap-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 70%;
    z-index: 3;
    overflow: hidden;
}

.envelope-flap-left {
    left: 0;
    transform-origin: left center;
    background:
        linear-gradient(135deg, #C4A882 0%, #B89B7A 30%, var(--color-rost-dark) 80%, #8A6B4B 100%);
    clip-path: polygon(0 0, 100% 30%, 60% 100%, 0 80%);
    box-shadow: inset -2px 0 6px rgba(0, 0, 0, 0.08);
}

.envelope-flap-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

.envelope-flap-right {
    right: 0;
    transform-origin: right center;
    background:
        linear-gradient(225deg, #C4A882 0%, #B89B7A 30%, var(--color-rost-dark) 80%, #8A6B4B 100%);
    clip-path: polygon(100% 0, 0 30%, 40% 100%, 100% 80%);
    box-shadow: inset 2px 0 6px rgba(0, 0, 0, 0.08);
}

.envelope-flap-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

/* ========================================
   TOP FLAP
   ======================================== */

.envelope-flap-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    z-index: 6;
    transform-origin: top center;
    transform-style: preserve-3d;
}

.flap-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    border-radius: 4px 4px 0 0;
    backface-visibility: visible;
    overflow: hidden;
    background:
        linear-gradient(180deg, #B89B7A 0%, #A88A6A 40%, var(--color-rost-dark) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flap-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.flap-inner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        linear-gradient(160deg, transparent 45%, rgba(255, 255, 255, 0.06) 50%, transparent 55%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* ========================================
   FRONT POCKET
   ======================================== */

.envelope-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 5;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    background:
        linear-gradient(175deg, #CCA87A 0%, var(--color-rost) 30%, var(--color-rost-dark) 70%, #8A6B4B 100%);
    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.12),
        inset 0 -2px 8px rgba(0, 0, 0, 0.08),
        0 -2px 8px rgba(0, 0, 0, 0.05);
}

.envelope-front::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

.envelope-front::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.15) 70%, transparent 95%);
}

/* Monogram on front */
.envelope-monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.monogram-amp {
    font-style: italic;
    font-size: 0.8em;
    margin: 0 3px;
}

/* ========================================
   WAX SEAL - DETAILED
   ======================================== */

.wax-seal {
    position: absolute;
    bottom: 28%;
    left: 50%;
    transform: translateX(-50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background:
        radial-gradient(circle at 30% 30%, #D4725F 0%, #C45C4A 20%, #A04030 50%, #7A2E20 75%, #5A1E10 100%);
    box-shadow:
        0 4px 12px rgba(90, 30, 16, 0.5),
        0 2px 4px rgba(90, 30, 16, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 3px 6px rgba(212, 114, 95, 0.2),
        inset 2px 0 4px rgba(0, 0, 0, 0.1),
        inset -2px 0 4px rgba(0, 0, 0, 0.1);
}

.wax-seal::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 2px solid rgba(255, 200, 180, 0.2);
    border-radius: 50%;
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.15),
        0 1px 1px rgba(255, 200, 180, 0.1);
}

.wax-seal::after {
    content: '';
    position: absolute;
    top: 9px; left: 9px; right: 9px; bottom: 9px;
    border: 1px solid rgba(255, 200, 180, 0.15);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255, 220, 200, 0.12) 0%, transparent 60%);
}

.wax-seal-drip {
    position: absolute;
    background: radial-gradient(circle at 40% 40%, #C45C4A, #7A2E20);
    border-radius: 50%;
    z-index: -1;
}

.seal-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2px;
}

.seal-letter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(255, 215, 195, 0.9);
    font-weight: 700;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 -1px 1px rgba(212, 114, 95, 0.3);
}

.seal-amp {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.7em;
    color: rgba(255, 215, 195, 0.8);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 -1px 1px rgba(212, 114, 95, 0.3);
}

/* ========================================
   LETTER (inside envelope)
   ======================================== */

.envelope-letter {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 210px;
    z-index: 2;
    opacity: 0;
}

.letter-paper {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    padding: 22px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #FFFEF9 0%, #FFF9F0 40%, #FFF5E8 100%);
    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.06),
        inset 0 0 40px rgba(212, 165, 116, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 180, 150, 0.2);
}

.letter-paper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

.letter-paper::after {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px solid rgba(212, 165, 116, 0.12);
    border-radius: 2px;
    pointer-events: none;
}

.letter-ornament-top,
.letter-ornament-bottom {
    font-size: 0.65rem;
    color: var(--color-gold);
    letter-spacing: 5px;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.letter-invite-text {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--color-Text-hell);
    margin: 6px 0;
    font-style: italic;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.letter-couple-names {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-braun-dunkel);
    font-weight: 700;
    margin: 4px 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.letter-divider {
    color: var(--color-gold);
    font-size: 1rem;
    margin: 4px 0;
    position: relative;
    z-index: 1;
}

.letter-date-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-rost-dark);
    letter-spacing: 3px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ========================================
   HINT TEXT
   ======================================== */

.envelope-hint-new {
    margin-top: 40px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-Text-hell);
    letter-spacing: 1px;
    animation: hintPulse 2.5s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 0.9; transform: translateY(-3px); }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 244, 238, 0.92);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 20px rgba(139, 115, 85, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-braun);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-braun-dunkel);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, rgba(248, 244, 238, 0.85) 0%, rgba(245, 240, 232, 0.9) 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    z-index: 1;
}

.hero-logo {
    display: block;
    max-width: 220px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-rost-dark);
    font-style: italic;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-names {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-braun-dunkel);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-names .amp {
    font-style: italic;
    color: var(--color-gold);
    font-weight: 400;
    margin: 0 0.3em;
}

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

.hero-divider::before,
.hero-divider::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-rost), transparent);
}

.divider-flower {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-rost-dark);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-Text-hell);
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   COUNTDOWN
   ======================================== */

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 253, 249, 0.6);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(139, 115, 85, 0.08);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-braun-dunkel);
    line-height: 1;
    letter-spacing: 1px;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-Text-hell);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 300;
    opacity: 0.6;
    margin-top: -1rem;
}

/* Hero Flowers */
.hero-flower {
    position: absolute;
    font-size: 4rem;
    opacity: 0.15;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-flower-1 { top: 20%; left: 10%; animation-delay: 0s; }
.hero-flower-2 { top: 30%; right: 10%; animation-delay: 2s; }
.hero-flower-3 { bottom: 20%; left: 15%; animation-delay: 4s; }

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

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-braun-dunkel);
    font-weight: 600;
}

.section-flower {
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* ========================================
   DETAILS SECTION
   ======================================== */

.details-section {
    padding: 6rem 2rem;
    background: rgba(255, 253, 249, 0.88);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.detail-card {
    background: rgba(245, 240, 232, 0.85);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    backdrop-filter: blur(5px);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-gold-hell);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-braun-dunkel);
    margin-bottom: 0.5rem;
}

.detail-time {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.detail-place {
    font-size: 1rem;
    color: var(--color-braun);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.detail-address {
    font-size: 0.9rem;
    color: var(--color-Text-hell);
    font-style: italic;
}

/* Venue Info Cards */
.venue-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.venue-card {
    background: rgba(245, 240, 232, 0.8);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.venue-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.venue-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-braun-dunkel);
    margin-bottom: 0.6rem;
}

.venue-card p {
    font-size: 0.95rem;
    color: var(--color-Text-hell);
    line-height: 1.7;
}

.venue-card strong {
    color: var(--color-braun-dunkel);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(245, 240, 232, 0.88) 0%, rgba(255, 253, 249, 0.9) 100%);
}

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

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(237, 229, 216, 0.3);
    backdrop-filter: blur(5px);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-braun-dunkel);
    text-align: left;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: var(--color-creme);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-Text-hell);
    line-height: 1.8;
}

/* ========================================
   RSVP SECTION
   ======================================== */

.rsvp-section {
    padding: 6rem 2rem;
    background: rgba(255, 253, 249, 0.88);
}

.rsvp-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-Text-hell);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(245, 240, 232, 0.85);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(5px);
}

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

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

.label-hint {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-Text-hell);
    font-style: italic;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(237, 229, 216, 0.5);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-Text);
    background: rgba(255, 253, 249, 0.7);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-Text-hell);
    opacity: 0.6;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-Text);
    padding: 0.3rem 0;
}

.radio-label input[type="radio"] {
    display: none;
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--color-rost);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

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

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-braun) 0%, var(--color-braun-dunkel) 100%);
    color: var(--color-weiss);
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--color-rost-dark) 0%, var(--color-braun) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-flower {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-flower {
    transform: rotate(180deg);
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-creme);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.form-success.hidden {
    display: none;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-braun-dunkel);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-Text-hell);
    font-size: 1.1rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(245, 240, 232, 0.88) 0%, rgba(237, 229, 216, 0.9) 100%);
    border-top: 1px solid rgba(237, 229, 216, 0.5);
}

.footer-flowers {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5rem;
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-braun-dunkel);
    margin-bottom: 0.5rem;
}

.footer-date {
    font-size: 1rem;
    color: var(--color-rost-dark);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-Text-hell);
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 111, 101, 0.3);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-braun-dunkel);
    border-bottom-color: var(--color-braun-dunkel);
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--color-Text-hell);
    opacity: 0.6;
    letter-spacing: 1px;
}

/* ========================================
   BEFORE / AFTER SLIDER
   ======================================== */

.ba-section {
    padding: 5rem 2rem;
    text-align: center;
}

.ba-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--color-Text-hell);
    margin-bottom: 2rem;
}

.ba-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(107, 87, 64, 0.2);
    cursor: ew-resize;
    user-select: none;
}

.ba-img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.ba-handle-line {
    flex: 1;
    width: 3px;
    background: white;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.7rem;
    color: var(--color-braun-dunkel);
    letter-spacing: 2px;
    pointer-events: auto;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-section {
    padding: 5rem 2rem;
    text-align: center;
}

.gallery-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--color-Text-hell);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 2001;
    transition: background 0.3s;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   SCRATCH-TO-REVEAL
   ======================================== */

.scratch-section {
    padding: 5rem 2rem;
    text-align: center;
}

.scratch-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--color-Text-hell);
    margin-bottom: 2rem;
}

.scratch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.scratch-card {
    position: relative;
    width: 320px;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(107, 87, 64, 0.25);
}

.scratch-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFF9F0, #FFFEF9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 14px;
}

.scratch-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-braun-dunkel);
    margin-bottom: 0.3rem;
}

.scratch-msg {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-rost-dark);
    font-style: italic;
}

.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    border-radius: 14px;
    touch-action: none;
}

.scratch-reset {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-braun);
    background: none;
    border: 1px solid var(--color-rost);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scratch-reset:hover {
    background: var(--color-creme);
}

/* ========================================
   FOTO-GALERIE (Cloudinary)
   ======================================== */

.foto-galerie-section {
    padding: 5rem 2rem;
    text-align: center;
}

.foto-galerie-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--color-Text-hell);
    margin-bottom: 2rem;
}

.foto-galerie-upload {
    margin-bottom: 2.5rem;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--color-rost) 0%, var(--color-braun) 100%);
    color: var(--color-weiss);
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
    transition: var(--transition-smooth);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
    background: linear-gradient(135deg, var(--color-braun) 0%, var(--color-rost-dark) 100%);
}

.upload-btn .btn-flower {
    font-size: 1.1rem;
}

.foto-galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.foto-galerie-empty {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    color: var(--color-Text-hell);
    font-style: italic;
}

.foto-galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

.foto-galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.foto-galerie-item:hover img {
    transform: scale(1.08);
}

.foto-galerie-item .foto-galerie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: white;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foto-galerie-item:hover .foto-galerie-overlay {
    opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-logo-img {
        height: 40px;
    }

    .hero-logo {
        max-width: 160px;
    }

    .overlay-logo {
        width: 140px;
    }

    .hero-names {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

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

    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .countdown {
        gap: 0.3rem;
        padding: 1rem 1.2rem;
    }

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

    .countdown-label {
        font-size: 0.6rem;
    }

    .countdown-item {
        min-width: 45px;
    }

    .envelope {
        width: 280px;
        height: 200px;
    }

    .envelope-letter {
        width: 245px;
        height: 165px;
    }

    .letter-couple-names {
        font-size: 1.3rem;
    }

    .wax-seal {
        width: 46px;
        height: 46px;
        bottom: 30%;
    }

    .seal-inner {
        font-size: 0.7rem;
    }

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

    .foto-galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }

    .details-section,
    .faq-section,
    .rsvp-section {
        padding: 4rem 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .envelope {
        width: 240px;
        height: 170px;
    }

    .envelope-letter {
        width: 210px;
        height: 145px;
    }

    .letter-invite-text {
        font-size: 0.7rem;
    }

    .letter-couple-names {
        font-size: 1.15rem;
    }

    .letter-date-text {
        font-size: 0.8rem;
    }

    .foto-galerie-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DECORATIVE BACKGROUND PATTERN
   ======================================== */

.details-section::before,
.rsvp-section::before {
    content: '✿ ❁ ✾';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1rem;
    color: var(--color-gold);
    opacity: 0.2;
    letter-spacing: 0.5rem;
}

.details-section,
.rsvp-section {
    position: relative;
    overflow: hidden;
}

/* ========================================
   SCROLL ANIMATIONS (GSAP targets)
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
}
