/* ==========================================================================
   NUR & BERKAY — VİNTAGE DİJİTAL DAVETİYE
   ========================================================================== */
:root {
    --olive: #5f5d43;
    --olive-dark: #4a4833;
    --cream: #f3ecdf;
    --paper: #efe6d6;
    --ink: #6e1f26;
    --ink-soft: #8a4a4f;
    --text: #4a3a36;
    --muted: #7a6a62;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-script: 'Pinyon Script', 'Alex Brush', cursive;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --col: min(100vw, 520px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
    min-height: 100vh;
    background: var(--olive);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* 4. ✉️ VİNTAGE MEKTUP / KAPAKLI DAVETİYE GİRİŞ EKRANI */
.letter-intro {
    --paper: #EFE5D3;
    --paper-light: #F8F1E4;
    --paper-dark: #DCCDB2;
    --emboss-hi: rgba(255, 255, 255, 0.85);
    --emboss-lo: rgba(140, 112, 70, 0.32);
    --seal: #6e1f26;
    position: fixed; inset: 0;
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: var(--olive);
    overflow: hidden;
    transition: opacity 0.9s ease, visibility 0s linear 0.9s, background-color 1.1s ease;
}
.letter-intro.opening { background-color: transparent; }
.letter-intro.opening::before { opacity: 0; }
.letter-intro::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(90,65,40,0.22) 100%);
    pointer-events: none; transition: opacity 1.1s ease;
}
.letter-intro.opened { opacity: 0; visibility: hidden; pointer-events: none; }


/* Kart: telefonda tam ekran, masaüstünde dikey davetiye */
.gate-card {
    position: relative;
    height: 100vh; height: 100dvh;
    width: min(100vw, calc(100dvh * 0.58));
    perspective: 2200px;
    cursor: pointer;
    outline: none;
    animation: gateCardIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes gateCardIn {
    from { transform: translateY(14px) scale(0.985); }
    to { transform: none; }
}

/* Kapaklar */
.gate-panel {
    position: absolute; top: 0; width: 50%; height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.6s cubic-bezier(0.65, 0, 0.25, 1);
    z-index: 2;
}
.gate-left { left: 0; transform-origin: left center; z-index: 3; }
.gate-right { right: 0; transform-origin: right center; }
.letter-intro.opening .gate-left { transform: rotateY(-112deg); }
.letter-intro.opening .gate-right { transform: rotateY(112deg); transition-delay: 0.08s; }

.gate-face {
    position: absolute; inset: 0;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    overflow: hidden;
}
.gate-front {
    background-color: var(--paper);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 30% 25%, var(--paper-light) 0%, rgba(0,0,0,0) 60%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.08));
}
.gate-left .gate-front { box-shadow: inset -6px 0 12px -6px rgba(110,85,50,0.35); }
.gate-right .gate-front { box-shadow: inset 6px 0 12px -6px rgba(110,85,50,0.28); }
.gate-back {
    transform: rotateY(180deg);
    background: linear-gradient(90deg, #D3C3A6, var(--paper-dark));
}

/* Kabartma çerçeve: köşeleri içe kavisli ince hat */
.gate-frame {
    position: absolute; inset: 14px 10px 14px 14px;
    border: 1px solid var(--emboss-lo);
    box-shadow: 1px 1px 0 var(--emboss-hi), inset 1px 1px 0 var(--emboss-hi);
    border-radius: 2px;
    pointer-events: none;
}
.gate-right .gate-frame { inset: 14px 14px 14px 10px; }
.gate-frame::before {
    content: ''; position: absolute; inset: 6px;
    border: 1px solid var(--emboss-lo);
    box-shadow: 1px 1px 0 var(--emboss-hi);
    opacity: 0.6;
}

/* Kabartma çiçek dalları */
.gate-floral {
    position: absolute;
    color: var(--paper-light);
    filter: drop-shadow(1px 1.2px 0 var(--emboss-lo)) drop-shadow(-0.6px -0.6px 0 var(--emboss-hi));
    pointer-events: none;
}
.gate-floral path, .gate-floral circle, .gate-floral ellipse { vector-effect: non-scaling-stroke; }
.gate-left .gate-floral { left: 4%; bottom: 2%; width: 94%; height: 60%; }
.gate-right .gate-floral { right: 3%; top: 2%; width: 95%; height: 62%; }
.gate-corner {
    position: absolute; width: 34px; height: 34px;
    color: var(--paper-light);
    filter: drop-shadow(1px 1px 0 var(--emboss-lo));
}
.gate-left .gate-corner { top: 22px; left: 22px; }
.gate-right .gate-corner { bottom: 22px; right: 22px; transform: rotate(180deg); }

/* Mum mühür */
.wax-seal {
    position: absolute; top: 50%; right: 0;
    width: clamp(78px, 21vw, 104px); aspect-ratio: 1 / 0.94;
    transform: translate(50%, -50%) translateZ(2px);
    border-radius: 47% 53% 49% 51% / 52% 46% 54% 48%;
    background:
        radial-gradient(circle at 34% 30%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 32%),
        radial-gradient(circle at 50% 50%, #84303a 0%, var(--seal) 55%, #4f141a 100%);
    box-shadow:
        0 6px 14px rgba(0,0,0,0.45),
        inset 0 -4px 8px rgba(0,0,0,0.35),
        inset 0 3px 6px rgba(255,255,255,0.12);
    display: grid; place-items: center;
    z-index: 5;
    transition: transform 0.4s ease;
}
.wax-seal::before {
    content: ''; position: absolute; inset: 13%;
    border-radius: 50%;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.45), inset -1px -1px 2px rgba(255,255,255,0.15);
}
.wax-seal-mark {
    position: relative;
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 6vw, 2rem);
    color: #5a161c;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.35), 1px 1px 0 rgba(255,255,255,0.18);
    line-height: 1;
}
.gate-card:hover .wax-seal,
.gate-card:focus-visible .wax-seal { transform: translate(50%, -50%) translateZ(2px) scale(1.05); }

/* Aç ipucu */
.gate-hint {
    position: absolute; left: 50%; bottom: 5%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(110, 84, 52, 0.85);
    font-family: var(--font-heading); font-size: 0.78rem; letter-spacing: 4px;
    text-transform: uppercase; white-space: nowrap;
    z-index: 4; pointer-events: none;
    transition: opacity 0.4s ease;
}
.gate-hint-circle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(140, 112, 70, 0.5);
    display: grid; place-items: center;
    animation: gateHintPulse 2.4s ease-in-out infinite;
}
@keyframes gateHintPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(181,143,40,0.25); }
    50% { transform: translateY(-4px); box-shadow: 0 0 0 8px rgba(181,143,40,0); }
}
.letter-intro.opening .gate-hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .gate-panel { transition-duration: 0.01s; }
    .gate-hint-circle, .gate-card { animation: none; }
}


/* ─── Program bölümü: dantelli tül duvak ─── */
.veil-wrap { position: relative; max-width: 860px; margin: 0 auto; padding-top: 10px; }
.veil {
    --veil: rgba(238, 230, 220, 0.86);
    --ink: #6e1f26;
    position: relative;
    /* üst kenar iki kurdele arasında hafifçe sarkar */
    clip-path: polygon(0 0, 12% 14px, 30% 26px, 50% 30px, 70% 26px, 88% 14px, 100% 0, 100% 100%, 0 100%);
    filter: drop-shadow(0 24px 40px rgba(0,0,0,0.35));
}
.veil-body {
    position: absolute; top: 0; left: 26px; right: 26px; bottom: 26px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0) 60%),
        linear-gradient(100deg, rgba(255,255,255,0) 10%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0) 26%, rgba(120,100,90,0.05) 40%, rgba(255,255,255,0.10) 58%, rgba(255,255,255,0) 66%, rgba(120,100,90,0.05) 80%, rgba(255,255,255,0.10) 90%),
        var(--veil);
}
/* Dantel kenar: fistolu, delikli ve minik çiçekli desen */
.veil-lace { position: absolute; }
.veil-lace-left, .veil-lace-right {
    top: 0; bottom: 26px; width: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='24'%3E%3Cpath d='M26 0H11Q0 6 11 12Q0 18 11 24H26Z' fill='rgba(238,230,220,.86)'/%3E%3Cpath d='M11 0Q0 6 11 12Q0 18 11 24' fill='none' stroke='%23fffaf0' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='6' r='1.4' fill='none' stroke='%23fffaf0' stroke-width='.8'/%3E%3Ccircle cx='8' cy='18' r='1.4' fill='none' stroke='%23fffaf0' stroke-width='.8'/%3E%3Cg fill='%23fffaf0' opacity='.85'%3E%3Ccircle cx='18' cy='9.6' r='1.5'/%3E%3Ccircle cx='18' cy='14.4' r='1.5'/%3E%3Ccircle cx='15.6' cy='12' r='1.5'/%3E%3Ccircle cx='20.4' cy='12' r='1.5'/%3E%3C/g%3E%3Ccircle cx='18' cy='12' r='.9' fill='%23c9b89c'/%3E%3Cpath d='M23.5 0V24' stroke='%23fffaf0' stroke-width='.7' stroke-dasharray='1.5 1.5' opacity='.8'/%3E%3C/svg%3E") repeat-y;
}
.veil-lace-left { left: 0; }
.veil-lace-right { right: 0; transform: scaleX(-1); }
.veil-lace-bottom {
    left: 0; right: 0; bottom: 0; height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='26'%3E%3Cpath d='M0 0V15Q6 26 12 15Q18 26 24 15V0Z' fill='rgba(238,230,220,.86)'/%3E%3Cpath d='M0 15Q6 26 12 15Q18 26 24 15' fill='none' stroke='%23fffaf0' stroke-width='1.2'/%3E%3Ccircle cx='6' cy='18' r='1.4' fill='none' stroke='%23fffaf0' stroke-width='.8'/%3E%3Ccircle cx='18' cy='18' r='1.4' fill='none' stroke='%23fffaf0' stroke-width='.8'/%3E%3Cg fill='%23fffaf0' opacity='.85'%3E%3Ccircle cx='12' cy='5.6' r='1.5'/%3E%3Ccircle cx='12' cy='10.4' r='1.5'/%3E%3Ccircle cx='9.6' cy='8' r='1.5'/%3E%3Ccircle cx='14.4' cy='8' r='1.5'/%3E%3C/g%3E%3Ccircle cx='12' cy='8' r='.9' fill='%23c9b89c'/%3E%3Cpath d='M0 2.5H24' stroke='%23fffaf0' stroke-width='.7' stroke-dasharray='1.5 1.5' opacity='.8'/%3E%3C/svg%3E") repeat-x;
}
.veil-folds {
    position: absolute; inset: 0 26px 26px; width: calc(100% - 52px); height: calc(100% - 26px);
    pointer-events: none; opacity: .55; filter: blur(3px);
}
.veil-folds path { stroke-width: 7px; vector-effect: non-scaling-stroke; opacity: .6; }
.veil-sprig {
    position: absolute; bottom: 30px; width: 150px; height: 225px;
    color: rgba(255, 250, 240, 0.85); pointer-events: none;
    filter: drop-shadow(0 1px 0 rgba(150,130,100,0.35));
}
.veil-sprig-left { left: 26px; }
.veil-sprig-right { right: 26px; transform: scaleX(-1); }

.veil-content {
    position: relative; z-index: 2;
    padding: 70px 70px 90px; text-align: center; color: #4a3a36;
    display: flex; flex-direction: column; align-items: center;
}
.veil-badge {
    font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
    color: var(--ink); border: 1px solid rgba(110,31,38,.35); border-radius: 999px; padding: 6px 18px;
}
.veil-names {
    font-family: var(--font-script); font-weight: 400; color: var(--ink);
    display: flex; flex-direction: column; align-items: center; line-height: 1; margin: 26px 0 10px;
}
.veil-names span { font-size: clamp(3.4rem, 9vw, 5rem); }
.veil-names small { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: #8a6a60; margin: 6px 0; }
.veil-divider { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; }
.veil-divider::before, .veil-divider::after { content: ''; width: 70px; height: 1px; background: rgba(110,31,38,.35); }
.veil-divider span { width: 8px; height: 8px; border: 1px solid rgba(110,31,38,.6); transform: rotate(45deg); }
.veil-date {
    font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: 6px; text-transform: uppercase;
    color: #6b4a44; margin: 0 0 16px;
}
.veil-desc { max-width: 480px; font-size: .98rem; color: #5c4a45; margin: 0 0 22px; }
.veil-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 24px; font-size: .9rem; color: #5c4a45; }
.veil-info i { color: var(--ink); margin-right: 4px; }

/* Duvak üstündeki konum kartı ve butonlar açık zemine göre */
.veil .venue-card { width: 100%; text-align: left; background: rgba(255,252,247,.55); border-color: rgba(110,31,38,.2); }
.veil .venue-label { color: var(--ink); }
.veil .venue-name { color: #3e2a28; }
.veil .venue-address { color: #5c4a45; }
.veil .venue-map { border-color: rgba(110,31,38,.25); }
.veil .single-event-actions { justify-content: center; }
.veil .btn-outline { color: var(--ink); border-color: var(--ink); }
.veil .btn-outline:hover { color: #fff; background: var(--ink); border-color: var(--ink); }

/* Kurdeleler */
.veil-ribbon { position: absolute; top: -18px; width: 58px; height: 215px; z-index: 3; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.35)); }
.veil-ribbon-left { left: 2px; }
.veil-ribbon-right { right: 2px; transform: scaleX(-1); }

/* ─── Sabit arka plan ─── */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop-fabric {
    position: absolute; inset: -5%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),
        radial-gradient(120% 70% at 25% 10%, rgba(255,255,240,0.10), rgba(0,0,0,0) 60%),
        repeating-linear-gradient(118deg,
            rgba(0,0,0,0) 0px, rgba(0,0,0,0.10) 70px, rgba(255,255,235,0.06) 120px,
            rgba(0,0,0,0.04) 170px, rgba(0,0,0,0) 230px),
        linear-gradient(180deg, #6a684b 0%, #5c5a40 55%, #4f4d36 100%);
    background-size: 220px 220px, auto, auto, auto;
}
.backdrop-fabric.has-photo { background-size: cover; background-position: center; }
.backdrop-fabric.has-photo::after {
    content: ''; position: absolute; inset: 0; background: rgba(60, 58, 40, 0.25);
}
.backdrop-tulle {
    position: absolute; top: 0; bottom: 0; width: 70px;
    background: repeating-linear-gradient(90deg,
        rgba(255,248,236,0.02) 0 6px, rgba(255,248,236,0.20) 6px 11px, rgba(255,248,236,0.04) 11px 18px);
    filter: blur(0.6px);
}
.backdrop-tulle-left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.backdrop-tulle-right { right: 0; -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent); }

.corner-floral {
    position: absolute; width: clamp(130px, 30vw, 260px); aspect-ratio: 220 / 260;
    background-size: contain; background-repeat: no-repeat;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35));
}
.corner-floral .floral-fallback { width: 100%; height: 100%; }
.corner-floral.has-photo .floral-fallback { display: none; }
.corner-tl { top: -30px; left: -34px; background-position: top left; }
.corner-br { bottom: -30px; right: -34px; transform: rotate(180deg); background-position: top left; }

/* ─── Sahneler ─── */
.scenes { position: relative; z-index: 1; }
.scene {
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    padding: 72px 22px 96px;
    scroll-snap-align: start;
}
.scene > * { width: min(calc(var(--col) - 44px), 100%); }
.scene[hidden] { display: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* Ortak tipografi */
.eyebrow {
    display: block; text-align: center;
    font-family: var(--font-heading); font-weight: 600;
    font-size: .8rem; letter-spacing: 5px; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow-sm { font-size: .72rem; letter-spacing: 4px; }
.eyebrow-light { color: rgba(250, 244, 230, 0.85); }
.script-lg { font-family: var(--font-script); font-size: clamp(3rem, 13vw, 4rem); line-height: 1; color: var(--ink); text-align: center; }
.script-light { color: #f5ecd9; }
.script-xl { font-family: var(--font-script); font-size: clamp(3.4rem, 15vw, 4.6rem); line-height: 1.05; color: #f5ecd9; text-align: center; }
.caps-text {
    font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
    letter-spacing: 2.5px; font-size: .86rem; line-height: 1.9; text-align: center; color: var(--ink-soft);
}
.ornament-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px auto; }
.ornament-divider::before, .ornament-divider::after { content: ''; width: 64px; height: 1px; background: rgba(110,31,38,.35); }
.ornament-divider span { width: 7px; height: 7px; border: 1px solid rgba(110,31,38,.6); transform: rotate(45deg); }
.ornament-light::before, .ornament-light::after { background: rgba(245,236,217,.45); }
.ornament-light span { border-color: rgba(245,236,217,.7); }

/* Butonlar */
.btn-vintage {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    margin: 22px auto 0; padding: 12px 26px;
    font-family: var(--font-heading); font-weight: 700; font-size: .82rem;
    letter-spacing: 3px; text-transform: uppercase;
    color: #f8f1e4; background: var(--ink);
    border: 1px solid var(--ink); border-radius: 999px; cursor: pointer;
    box-shadow: 0 6px 16px rgba(110,31,38,.25);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn-vintage:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(110,31,38,.35); }
.btn-vintage-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn-vintage-ghost:hover { background: rgba(110,31,38,.08); }
.btn-vintage-light { background: rgba(245,236,217,.12); color: #f5ecd9; border-color: rgba(245,236,217,.6); box-shadow: none; }

/* ─── 1 · Duvak ─── */
.scene .veil-wrap { width: min(calc(var(--col) - 28px), 100%); }
.veil-content { padding: 90px 40px 170px; }
.scene .veil-sprig { width: 100px; height: 150px; }
.veil-names { margin: 0; }
.veil-names span { font-family: var(--font-script); font-size: clamp(4rem, 19vw, 5.6rem); }
.veil-names small { margin: 2px 0 8px; }
.veil-date { margin: 0; }

/* ─── 2 · Gümüş süslü çerçeve ─── */
.ornate-frame {
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, #f5f5f2, #a3a39d 22%, #ecece6 42%, #85857f 62%, #dcdcd6 82%, #96968f);
    border-radius: 18px;
    box-shadow: 0 26px 50px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.6), inset 0 0 0 3px #7c7c76;
}
.ornate-inner {
    position: relative;
    min-height: 58vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 70px 28px;
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 50% 40%, #f7f2e8 0%, #ebe3d4 75%, #ddd2bf 100%);
    box-shadow: inset 0 0 0 2px #b8b8b2, inset 0 0 0 8px #eee8dc, inset 0 0 0 9px #a8a8a2, inset 0 6px 18px rgba(0,0,0,0.18);
}
.ornate-inner .script-lg { margin: 14px 0 0; }
.frame-crest { position: absolute; left: 50%; width: 150px; height: 56px; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.35)); }
.frame-crest-top { top: -26px; }
.frame-crest-bottom { bottom: -26px; transform: translateX(-50%) rotate(180deg); }
.frame-corner { position: absolute; width: 50px; height: 50px; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); }
.c-tl { top: -8px; left: -8px; }
.c-tr { top: -8px; right: -8px; transform: scaleX(-1); }
.c-bl { bottom: -8px; left: -8px; transform: scaleY(-1); }
.c-br { bottom: -8px; right: -8px; transform: scale(-1, -1); }

/* ─── 3 & 8 · Dantel kenarlı kâğıt ─── */
.lace-card {
    position: relative;
    min-height: 56vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 54px 30px;
    border: 22px solid transparent;
    border-image: url("images/vintage/dantel-kenar.svg") 22 round;
    background: var(--cream) padding-box;
    background-image: radial-gradient(ellipse at 50% 35%, #fbf7ef, #efe6d6 80%);
    background-clip: padding-box;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
    text-align: center;
}
.lace-card::before {
    content: ''; position: absolute; inset: 10px;
    border: 1px solid rgba(160,135,100,.35);
    pointer-events: none;
}
.families { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.family { display: flex; flex-direction: column; align-items: center; }
.family-name { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 600; letter-spacing: 6px; text-transform: uppercase; color: var(--text); }
.family-label { font-family: var(--font-heading); font-size: .8rem; letter-spacing: 6px; text-transform: uppercase; color: var(--muted); }
.family-amp { font-family: var(--font-script); font-size: 2.6rem; color: var(--ink); line-height: 1; }
.lace-sprig { position: absolute; right: 4px; bottom: 2px; width: 56px; height: 84px; color: #d6c8ad; opacity: .9; transform: scaleX(-1); }

/* ─── Kâğıt kart (tarih, mekân, akış, kıyafet, hediye) ─── */
.paper-card {
    position: relative;
    padding: 44px 28px 40px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 30%, #fbf7ef, #efe6d6 85%);
    border-radius: 4px;
    box-shadow: 0 22px 40px rgba(0,0,0,0.38), inset 0 0 0 1px rgba(255,255,255,0.7);
}
.paper-card::before {
    content: ''; position: absolute; inset: 10px;
    border: 1px solid rgba(160,135,100,.4); outline: 1px solid rgba(160,135,100,.2); outline-offset: 3px;
    pointer-events: none;
}
.date-block { display: flex; flex-direction: column; align-items: center; margin: 20px 0 6px; }
.date-month, .date-year { font-family: var(--font-heading); font-size: 1rem; letter-spacing: 7px; text-transform: uppercase; color: var(--muted); }
.date-day { font-family: var(--font-heading); font-size: 5.6rem; line-height: 1; font-weight: 500; color: var(--ink); margin: 4px 0; }
.date-meta { display: flex; justify-content: center; gap: 10px; font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text); }
.date-meta .dot { color: var(--ink); }
.kina-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(160,135,100,.35); }
.kina-date { font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: 1.5px; margin-top: 8px; color: var(--text); }
.kina-block .btn-vintage { margin-top: 14px; padding: 10px 20px; font-size: .74rem; }

.venue-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.9rem; line-height: 1.2; color: var(--text); margin: 18px 0 8px; }
.venue-addr { font-size: .92rem; color: var(--muted); }
.venue-map { margin-top: 20px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(160,135,100,.45); height: 210px; }
.venue-map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }

/* ─── 6 · Geri sayım ─── */
.countdown-wrap { text-align: center; color: #f5ecd9; }
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 22px 0 26px; }
.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.cd-cell span { font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; font-weight: 500; }
.cd-cell small { font-size: .62rem; letter-spacing: 2.5px; text-transform: uppercase; opacity: .75; margin-top: 6px; }
.cd-star, .cd-sep { font-family: var(--font-heading); font-size: 1.6rem; opacity: .7; padding-top: 6px; }
.cd-star { font-size: 1rem; padding-top: 14px; color: #e3c98f; }
.script-quote { font-family: var(--font-script); font-size: 2rem; line-height: 1.25; color: #f5ecd9; max-width: 380px; margin: 0 auto; }

/* ─── 7 · Günün akışı ─── */
.timeline { list-style: none; margin-top: 22px; text-align: left; position: relative; }
.timeline::before { content: ''; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 1px; background: rgba(110,31,38,.3); }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 12px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 58px; top: 20px; width: 9px; height: 9px; background: var(--cream); border: 1px solid var(--ink); transform: rotate(45deg); }
.timeline time { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--ink); padding-top: 2px; }
.timeline strong { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; color: var(--text); }
.timeline p { font-size: .86rem; color: var(--muted); margin-top: 2px; }

/* ─── 8 · Menü ─── */
.lace-card-menu { min-height: 0; }
.menu-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.menu-list strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--text); }
.menu-list span { font-size: .86rem; color: var(--muted); }
.menu-sep { color: var(--ink); font-size: .8rem; opacity: .7; }

/* ─── 9 · Kıyafet ─── */
.dress-group { margin-top: 22px; }
.dress-group h3 { font-family: var(--font-heading); font-size: 1rem; letter-spacing: 5px; text-transform: uppercase; color: var(--text); }
.dress-note { font-family: var(--font-script); font-size: 1.7rem; color: var(--ink); line-height: 1.2; }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.swatches span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); letter-spacing: 1px; }
.swatches span::before { content: ''; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 3px 6px rgba(0,0,0,.15); }
.dress-avoid .swatches span::before { background: linear-gradient(135deg, transparent 46%, var(--ink) 47% 53%, transparent 54%), var(--c); }
.dress-footnote { margin-top: 24px; font-family: var(--font-heading); font-style: italic; font-size: 1rem; color: var(--muted); }

/* ─── 10 · Galeri ─── */
.gallery-wrap { text-align: center; }
.gallery-sub { font-family: var(--font-heading); font-size: 1rem; letter-spacing: 1px; color: rgba(245,236,217,.8); margin-top: 6px; }
.polaroids { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 28px; }
.polaroid {
    background: #f7f1e5; padding: 8px 8px 26px; transform: rotate(var(--r));
    box-shadow: 0 12px 24px rgba(0,0,0,.4); cursor: zoom-in; transition: transform .35s ease;
}
.polaroid:hover { transform: rotate(0) scale(1.03); }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ─── 11 · Hediye ─── */
.gift-label { margin-top: 20px; font-family: var(--font-heading); font-size: .78rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
.gift-value { font-family: var(--font-heading); font-size: 1.35rem; color: var(--text); font-weight: 600; }
.gift-iban { font-size: 1.05rem; letter-spacing: 1px; word-break: break-all; }

/* ─── 12 · Kapanış ─── */
.closing { text-align: center; }
.closing-text { margin: 16px auto 0; max-width: 360px; font-family: var(--font-heading); font-size: 1.2rem; color: rgba(245,236,217,.9); }
.closing-date { font-family: var(--font-heading); letter-spacing: 6px; text-transform: uppercase; color: #f5ecd9; }

/* ─── Sabit butonlar ─── */
.music-fab, .scroll-pill {
    position: fixed; z-index: 50;
    background: rgba(243, 236, 223, 0.92); color: var(--ink);
    border: 1px solid rgba(110,31,38,.25);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: opacity .5s ease, transform .3s ease;
}
.music-fab { right: 18px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; font-size: 1.05rem; }
.music-fab.playing { background: var(--ink); color: #f5ecd9; }
.music-fab.playing i { animation: pulseIcon 1.6s ease-in-out infinite; }
@keyframes pulseIcon { 50% { transform: scale(1.15); } }
.scroll-pill {
    left: 50%; bottom: 24px; transform: translateX(-50%);
    padding: 11px 22px; border-radius: 999px;
    font-family: var(--font-body); font-size: .86rem; font-weight: 500;
    display: inline-flex; align-items: center; gap: 10px;
}
.scroll-pill i { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.scroll-pill.hide { opacity: 0; pointer-events: none; }

/* Giriş ekranı açıkken site gizli */
#main-content, .music-fab, .scroll-pill, .backdrop { transition: opacity .75s ease; }
body.intro-active { overflow: hidden; }
body.intro-active #main-content,
body.intro-active .music-fab,
body.intro-active .scroll-pill { opacity: 0; pointer-events: none; }
body.intro-leaving #main-content,
body.intro-leaving .music-fab,
body.intro-leaving .scroll-pill { opacity: 1; }

/* Lightbox & bildirim */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(30,28,20,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border: 8px solid #f7f1e5; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #f5ecd9; font-size: 2.6rem; cursor: pointer; line-height: 1; }
.toast {
    position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 2100;
    background: var(--ink); color: #f8f1e4; padding: 10px 18px; border-radius: 999px; font-size: .86rem;
    opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 768px) {
    .backdrop-tulle { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   GÖRSEL TEMA (images/tema) — fotoğraf tabanlı süslemeler
   ========================================================================== */
/* Arka plan fotoğrafı köşe çiçeklerini ve tülleri zaten içeriyor */
.backdrop-fabric { inset: 0; }
.backdrop-fabric.has-photo { background-size: cover; background-position: center top; }
.backdrop-fabric.has-photo::after { background: rgba(60, 58, 40, 0.08); }
.backdrop-fabric.has-photo ~ .backdrop-tulle,
.backdrop-fabric.has-photo ~ .corner-floral { display: none; }

/* 1 · Duvak fotoğrafı */
.scene .veil-wrap { width: min(calc(var(--col) - 28px), 100%, 60svh); padding-top: 0; }
.veil {
    clip-path: none;
    aspect-ratio: 815 / 1489;
    background: url("images/tema/duvak.webp") center / 100% 100% no-repeat;
    filter: drop-shadow(0 22px 34px rgba(0,0,0,0.35));
    display: flex; align-items: center; justify-content: center;
}
.veil-content { padding: 0 14% 12%; }
.veil-names span { font-size: clamp(3.4rem, 15vw, 5rem); color: var(--ink); }

/* 2 · Oval gümüş çerçeve */
.ornate-frame {
    width: min(calc(var(--col) - 60px), 100%, 62svh);
    aspect-ratio: 480 / 828;
    padding: 0; border-radius: 0; box-shadow: none;
    background: none;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.45));
}
.ornate-frame::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: url("images/tema/oval-cerceve.webp") center / 100% 100% no-repeat;
}
.ornate-frame::before {
    content: ''; position: absolute; z-index: 0;
    left: 10%; right: 10%; top: 16%; bottom: 16%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, #fbf7ef 0%, #efe6d6 70%, #ddd2bf 100%);
}
.ornate-inner {
    position: absolute; left: 19%; right: 19%; top: 21%; bottom: 21%;
    min-height: 0; padding: 0; gap: 4px; z-index: 2;
    background: none; box-shadow: none; border-radius: 50%;
}
.celebrate-img { width: 88%; margin: 10px auto 0; }
.ornate-inner .caps-text { font-size: clamp(.62rem, 2.6vw, .8rem); letter-spacing: 2px; line-height: 1.8; }
.ornate-inner .ornament-divider { margin: 8px auto; }

/* 3 & 8 · Dantel kâğıt fotoğrafı */
.lace-card {
    min-height: 0;
    aspect-ratio: 634 / 1150;
    padding: 16% 15% 18% 11%;
    border: 0; border-image: none;
    background: url("images/tema/dantel-kart.webp") center / 100% 100% no-repeat;
    filter: none;
}
.lace-card::before { display: none; }
.lace-card-menu { aspect-ratio: auto; min-height: 60vh; padding: 20% 21% 22% 18%; }
.lace-card-menu .menu-list span { display: block; font-size: .8rem; line-height: 1.5; }
.scene > .lace-card { width: min(calc(var(--col) - 44px), 100%, 56svh); }

/* 4 · Gümüş dikdörtgen çerçeve (tarih) */
.paper-card.silver-card {
    padding: 30% 18% 30% 16%;
    background: url("images/tema/gumus-cerceve.webp") center / 100% 100% no-repeat;
    box-shadow: none; border-radius: 0;
}
.paper-card.silver-card::before { display: none; }
.silver-card .date-day { font-size: 4rem; }
.silver-card .date-block { margin-top: 10px; }
.silver-card .btn-vintage { margin-top: 16px; }
.silver-card .kina-block { margin-top: 20px; padding-top: 16px; }
.silver-card .kina-block .btn-vintage { padding: 9px 14px; letter-spacing: 1.5px; font-size: .68rem; }
.veil-names small { color: #6b4a44; }
.veil-date { color: #5a3a35; font-weight: 600; }

/* 5 · Harita karoları */
.map-tiles {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    width: 100%; max-width: 330px; margin: 22px auto 0;
}
.map-tiles img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    transform: rotate(var(--r, 0deg));
    filter: drop-shadow(0 4px 6px rgba(60,40,20,.25));
    transition: transform .4s ease;
}
.map-tiles:hover img { transform: rotate(0deg) scale(1.02); }
.map-pin {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%);
    width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg;
    display: grid; place-items: center;
    background: var(--ink); color: #f8f1e4; font-size: .95rem;
    box-shadow: 0 6px 14px rgba(110,31,38,.4);
}
.map-pin i { rotate: 45deg; }

/* Geniş ekran: arka plan fotoğrafı ortada dikey sütun olarak, kenarlar bulanık */
.backdrop-photo { display: none; }
@media (min-width: 700px) {
    .backdrop-fabric.has-photo {
        inset: -60px;
        background-size: cover; background-position: center;
        filter: blur(30px) brightness(.72) saturate(.9);
    }
    .backdrop-photo {
        display: block; position: absolute; top: 0; bottom: 0; left: 50%;
        height: 100%; aspect-ratio: 720 / 1280; transform: translateX(-50%);
        background: url("images/tema/arka-plan.jpg") center / cover no-repeat;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    }
}

/* ==========================================================================
   MEKTUP AÇILIŞI v2 — mühür kırılır, kapaklar gölgeli açılır, site yakınlaşır
   ========================================================================== */
.letter-intro {
    background: rgba(52, 50, 34, 0.62);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: opacity 0.8s ease, visibility 0s linear 0.8s,
                background-color 1.2s ease 0.5s, backdrop-filter 1.2s ease 0.5s, -webkit-backdrop-filter 1.2s ease 0.5s;
}
.letter-intro.opening { background-color: rgba(52, 50, 34, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }

.gate-card {
    perspective: 1500px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s, box-shadow 0.8s ease 0.4s;
}
.letter-intro.opening .gate-card { animation: none; transform: scale(1.06); box-shadow: 0 30px 80px rgba(0, 0, 0, 0); }

/* Kapaklar: ağır ve yumuşak açılış, mühür kırıldıktan sonra */
.gate-panel { transition: transform 1.75s cubic-bezier(0.7, 0, 0.18, 1) 0.42s; }
.letter-intro.opening .gate-left { transform: rotateY(-104deg); }
.letter-intro.opening .gate-right { transform: rotateY(104deg); transition-delay: 0.5s; }

/* Dönerken kapak kararır (ışık gerçekçiliği) */
.gate-front::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    opacity: 0; transition: opacity 1.6s ease 0.5s;
}
.gate-left .gate-front::after { background: linear-gradient(90deg, rgba(40,30,15,0.15), rgba(40,30,15,0.55)); }
.gate-right .gate-front::after { background: linear-gradient(270deg, rgba(40,30,15,0.15), rgba(40,30,15,0.55)); }
.letter-intro.opening .gate-front::after { opacity: 1; }

/* Ortadaki aralıktan sızan sıcak ışık */
.gate-glow {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 30% 60% at 50% 50%, rgba(255, 240, 210, 0.85), rgba(255, 240, 210, 0) 70%);
    opacity: 0; transform: scaleX(0.15);
}
.letter-intro.opening .gate-glow { animation: gateGlow 1.9s ease-out 0.35s forwards; }
@keyframes gateGlow {
    0%   { opacity: 0; transform: scaleX(0.1); }
    30%  { opacity: 1; transform: scaleX(0.6); }
    100% { opacity: 0; transform: scaleX(2.2); }
}

/* Mühür: ortada, iki yarıya bölünüp kırılır */
.seal-wrap {
    position: absolute; left: 50%; top: 50%; z-index: 6;
    width: clamp(78px, 21vw, 104px); aspect-ratio: 1 / 0.94;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
    transition: transform 0.4s ease;
}
.seal-wrap .wax-seal {
    position: absolute; inset: 0; width: 100%; top: auto; right: auto;
    transform: none; box-shadow: inset 0 -4px 8px rgba(0,0,0,0.35), inset 0 3px 6px rgba(255,255,255,0.12);
    transition: transform 0.75s cubic-bezier(0.3, 0, 0.2, 1) 0.32s, opacity 0.6s ease 0.45s;
}
.seal-l { clip-path: polygon(0 0, 52% 0, 47% 22%, 54% 41%, 46% 60%, 53% 79%, 48% 100%, 0 100%); }
.seal-r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 48% 100%, 53% 79%, 46% 60%, 54% 41%, 47% 22%); }
.gate-card:hover .seal-wrap,
.gate-card:focus-visible .seal-wrap { transform: translate(-50%, -50%) scale(1.06); }
.gate-card:hover .wax-seal, .gate-card:focus-visible .wax-seal { transform: none; }
.letter-intro.opening .seal-wrap { animation: sealPress 0.38s ease-out both; }
.letter-intro.opening .seal-l { transform: translate(-70%, 18%) rotate(-28deg); opacity: 0; }
.letter-intro.opening .seal-r { transform: translate(70%, 22%) rotate(24deg); opacity: 0; }
@keyframes sealPress {
    0%   { transform: translate(-50%, -50%) scale(1.06); }
    45%  { transform: translate(-50%, -50%) scale(0.9); }
    100% { transform: translate(-50%, -50%) scale(1.04); }
}

/* Site arkadan hafif yakınlaşarak belirir */
#main-content { transition: opacity 1.5s ease 0.7s, transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s; }
body.intro-active #main-content { transform: scale(1.05); }
body.intro-leaving #main-content { transform: none; }
body.intro-leaving .music-fab, body.intro-leaving .scroll-pill { transition: opacity .8s ease 1.6s, transform .3s ease; }

@media (prefers-reduced-motion: reduce) {
    .gate-card, .gate-panel, .seal-wrap .wax-seal, #main-content { transition-duration: 0.01s; transition-delay: 0s; }
    .letter-intro.opening .gate-glow, .letter-intro.opening .seal-wrap { animation: none; }
}

/* Duvak üstündeki isimler: koyu bordo + yumuşak gölge */
.veil-content { position: relative; z-index: 1; }
.veil-names span { color: #5a1520; text-shadow: 0 2px 3px rgba(40, 10, 15, 0.35), 0 4px 14px rgba(40, 10, 15, 0.25); }
.veil-names small { color: #4a2a26; font-weight: 600; text-shadow: 0 1px 3px rgba(40, 10, 15, 0.3); }
.veil-date { color: #3e2522; font-weight: 700; text-shadow: 0 1px 3px rgba(40, 10, 15, 0.3), 0 2px 10px rgba(40, 10, 15, 0.2); }
.veil .ornament-divider::before, .veil .ornament-divider::after { background: rgba(90,21,32,.55); }
.veil .ornament-divider span { border-color: rgba(90,21,32,.8); }
/* Tarih: rakamlar harflerle aynı boyda (düz rakam), boşluk dengeli */
.veil-date {
    font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
    letter-spacing: 5px; padding-left: 5px; /* son harften sonraki boşluğu dengeler */
}
/* Oval ayna: daha küçük */
.scene > .ornate-frame { width: min(calc(var(--col) - 130px), 78%, 50svh); }
.ornate-inner .eyebrow { font-size: .68rem; letter-spacing: 4px; }
.ornate-inner .caps-text { font-size: clamp(.56rem, 2.2vw, .7rem); letter-spacing: 1.5px; line-height: 1.7; }
.ornate-inner { left: 20%; right: 20%; top: 22%; bottom: 22%; gap: 2px; }
.celebrate-img { width: 74%; margin-top: 4px; }
.ornate-inner .ornament-divider { margin: 4px auto; }
.ornate-inner .ornament-divider::before, .ornate-inner .ornament-divider::after { width: 40px; }
.ornate-inner .caps-text { font-size: clamp(.5rem, 2vw, .64rem); letter-spacing: 1.2px; }
/* Harita karoları: daha küçük */
.map-tiles { max-width: 230px; gap: 3px; margin-top: 18px; }
.map-pin { width: 36px; height: 36px; font-size: .8rem; }

/* Oval ayna: çift ve aile bilgisi */
.ornate-inner { top: 19%; bottom: 19%; left: 19%; right: 19%; }
.celebrate-img { width: 62%; }
.oval-couple {
    margin-top: 6px;
    font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
    font-size: clamp(.9rem, 4vw, 1.15rem); letter-spacing: 2px; color: #5a1520;
    font-variant-numeric: lining-nums;
}
.oval-families { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.oval-families div { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.oval-families span, .oval-families small {
    font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px; padding-left: 2px;
}
.oval-families span { font-size: clamp(.55rem, 2.3vw, .7rem); font-weight: 600; color: var(--text); }
.oval-families small { font-size: clamp(.5rem, 2vw, .62rem); color: var(--muted); }
.oval-families i { width: 1px; height: 24px; background: rgba(110,31,38,.35); }

/* Kına ve düğün kartları */
.event-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.event-date { display: flex; flex-direction: column; align-items: center; margin-top: 12px; }
.event-day { font-family: var(--font-heading); font-size: 3.6rem; line-height: 1; font-weight: 500; color: var(--ink); font-variant-numeric: lining-nums; }
.event-month { font-family: var(--font-heading); font-size: .9rem; letter-spacing: 5px; padding-left: 5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-variant-numeric: lining-nums; }
.event-time { font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 2px; color: var(--text); margin-top: 6px; font-variant-numeric: lining-nums; }
.event-rule { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; }
.event-rule::before, .event-rule::after { content: ''; width: 46px; height: 1px; background: rgba(110,31,38,.35); }
.event-rule span { width: 6px; height: 6px; border: 1px solid rgba(110,31,38,.6); transform: rotate(45deg); }
.event-venue { font-family: var(--font-heading); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--text); }
.event-addr { font-size: .76rem; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.event-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px; }
.event-actions .btn-vintage { margin: 0; padding: 9px 18px; font-size: .68rem; letter-spacing: 2px; min-width: 170px; }
.lace-card.event-card { padding: 15% 15% 18% 11%; }
.paper-card.silver-card.event-card { padding: 26% 17% 28% 15%; }
/* Oval ayna: aile bilgisi eklendiği için biraz daha geniş */
.scene > .ornate-frame { width: min(calc(var(--col) - 80px), 86%, 60svh); }
.ornate-inner { top: 20%; bottom: 20%; left: 21%; right: 21%; gap: 1px; }
.celebrate-img { width: 58%; margin-top: 2px; }
.oval-couple { margin-top: 4px; font-size: clamp(.85rem, 3.6vw, 1.05rem); }
.oval-families { gap: 10px; }
.oval-families span, .oval-families small { letter-spacing: 1.5px; }
/* Oval ayna: küçük; içindeki yazılar aynanın genişliğine göre ölçeklenir */
.scene > .ornate-frame { width: min(calc(var(--col) - 130px), 70%, 48svh); container-type: inline-size; }
.ornate-inner .eyebrow { font-size: 3.6cqw; letter-spacing: 1.3cqw; }
.ornate-inner .caps-text { font-size: 3.3cqw; letter-spacing: .5cqw; line-height: 1.6; }
.ornate-inner .ornament-divider { margin: 1.2cqw auto; }
.ornate-inner .ornament-divider::before, .ornate-inner .ornament-divider::after { width: 13cqw; }
.oval-couple { font-size: 5cqw; letter-spacing: .7cqw; margin-top: 1.2cqw; }
.oval-families { gap: 3cqw; margin-top: .8cqw; }
.oval-families span { font-size: 3.5cqw; letter-spacing: .5cqw; }
.oval-families small { font-size: 3.1cqw; letter-spacing: .5cqw; }
.oval-families i { height: 7cqw; }
/* Kına kartı: içerik dantel kâğıdın gerçek ortasına (gölge payı hariç) */
.lace-card.event-card { padding: 15% 16% 31% 16%; justify-content: center; }
.lace-card.event-card .event-day { font-size: 3.2rem; }
.lace-card.event-card .event-rule { margin: 10px 0 6px; }
.lace-card.event-card .event-actions { margin-top: 12px; }
/* Harf aralığının satır sonunda bıraktığı boşluğu dengele */
.event-card .eyebrow { padding-left: 5px; }
.event-time { padding-left: 2px; }
/* Kartlardaki küçük, soluk harita */
.event-map {
    width: 100%; height: 92px; margin-top: 10px;
    border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(160,135,100,.35);
    opacity: .82; transition: opacity .3s ease;
}
.event-map:hover { opacity: 1; }
.event-map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.6) contrast(.92); }
.lace-card.event-card { aspect-ratio: auto; }
.lace-card.event-card .event-actions { flex-direction: row; gap: 8px; }
.lace-card.event-card .event-actions .btn-vintage,
.silver-card.event-card .event-actions .btn-vintage { min-width: 0; padding: 8px 12px; font-size: .6rem; letter-spacing: 1.5px; }
.silver-card.event-card .event-actions { flex-direction: row; gap: 8px; }

/* Kart düğmeleri tek satır */
.event-actions .btn-vintage { white-space: nowrap; }

/* Çift fotoğrafı: gümüş çerçeve içinde, alt kısımda filigran */
.scene > .photo-frame {
    position: relative; margin: 0;
    width: min(calc(var(--col) - 70px), 84%, 54svh);
    aspect-ratio: 728 / 1197;
    background: url("images/tema/gumus-cerceve.webp") center / 100% 100% no-repeat;
}
.photo-window {
    position: absolute; left: 15%; right: 17.5%; top: 12.6%; bottom: 13.8%;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(160,135,100,.45), 0 2px 8px rgba(0,0,0,.18);
}
.photo-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.12) saturate(.95); }
.photo-window::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(30,20,10,0) 62%, rgba(30,20,10,.55) 100%);
}
.photo-mark {
    position: absolute; left: 0; right: 0; bottom: 6%; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: rgba(255, 250, 240, 0.88); text-align: center; pointer-events: none;
    text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.photo-mark-names { font-family: var(--font-script); font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1; }
.photo-mark-date {
    font-family: var(--font-heading); font-size: .68rem; letter-spacing: 4px; padding-left: 4px;
    font-variant-numeric: lining-nums; opacity: .85;
}
/* Duvak yazıları: beyaz gölge geri */
.veil-names span { text-shadow: 0 1px 0 rgba(255,255,255,0.7), 0 0 14px rgba(255,250,240,0.9); }
.veil-names small { text-shadow: 0 0 8px rgba(255,250,240,0.9); }
.veil-date { text-shadow: 0 0 10px rgba(255,250,240,0.9); }

/* Kına kartı düğmeleri dantel içine sığsın */
.lace-card.event-card .event-actions { gap: 6px; }
.lace-card.event-card .event-actions .btn-vintage { padding: 8px 10px; letter-spacing: 1px; gap: 6px; font-size: .58rem; }
/* Harita: içerik %60 ölçekte; Google düğme ve yazıları küçülüp geri planda kalır */
.event-map { position: relative; height: 118px; border-radius: 8px; opacity: .9; }
.event-map iframe {
    position: absolute; top: 0; left: 0;
    width: calc(100% / .6); height: calc(100% / .6);
    transform: scale(.6); transform-origin: 0 0;
    filter: sepia(.3) saturate(.55) contrast(.9) brightness(1.02);
}
.event-map::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(160,135,100,.35), inset 0 0 18px rgba(239,230,214,.65);
}
/* Duvak yazıları: beyaz gölge daha hafif */
.veil-names span { text-shadow: 0 0 6px rgba(255,250,240,0.55); }
.veil-names small { text-shadow: 0 0 4px rgba(255,250,240,0.5); }
.veil-date { text-shadow: 0 0 5px rgba(255,250,240,0.5); }

/* Düğün kartı düğmeleri çerçeve içine sığsın */
.silver-card.event-card .event-actions { gap: 6px; }
.silver-card.event-card .event-actions .btn-vintage { padding: 8px 10px; letter-spacing: 1px; gap: 6px; font-size: .58rem; }
/* Harita kalktı: kına kartı dantel kâğıdın kendi oranına döner */
.lace-card.event-card { aspect-ratio: 634 / 1150; }

/* Kart bağlantıları (Yol Tarifi / Takvime Ekle): ince, alt çizgili, alt alta */
.scene .event-card .event-actions { flex-direction: column; align-items: center; gap: 12px; margin-top: 16px; width: 100%; }
.scene .event-card .event-actions .btn-vintage {
    margin: 0; min-width: 0; max-width: 100%;
    padding: 2px 2px 5px 5px; gap: 8px;
    background: none; border: 0; border-bottom: 1px solid rgba(110,31,38,.35); border-radius: 0; box-shadow: none;
    color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: 3px; white-space: nowrap;
    transition: border-color .3s ease, color .3s ease;
}
.scene .event-card .event-actions .btn-vintage i { font-size: .8rem; opacity: .8; }
.scene .event-card .event-actions .btn-vintage:hover { transform: none; box-shadow: none; border-bottom-color: var(--ink); color: #4a0f17; }

/* İç boşluklar kartın kendi genişliğine göre (yüzde, ekran genişliğine göre hesaplanıyordu) */
.scene > .lace-card.event-card {
    --cw: min(calc(var(--col) - 44px), 56svh);
    width: var(--cw);
    padding: calc(var(--cw) * .15) calc(var(--cw) * .16) calc(var(--cw) * .31) calc(var(--cw) * .16);
}
.scene > .paper-card.silver-card.event-card {
    --cw: calc(var(--col) - 44px);
    width: var(--cw);
    padding: calc(var(--cw) * .26) calc(var(--cw) * .17) calc(var(--cw) * .28) calc(var(--cw) * .15);
}
/* Oval ayna: diğer kartlarla dengeli boyut */
.scene > .ornate-frame { width: min(calc(var(--col) - 70px), 92%, 60svh); }

/* Let's celebrate: oval ayna yerine dikdörtgen gümüş çerçeve */
.scene > .ornate-frame { aspect-ratio: 728 / 1197; width: min(calc(var(--col) - 60px), 92%, 54svh); }
.ornate-frame::before { display: none; }
.ornate-frame::after { background-image: url("images/tema/gumus-cerceve.webp"); }
.ornate-inner {
    left: 15%; right: 17.5%; top: 12.6%; bottom: 13.8%;
    border-radius: 0; gap: 2px; padding: 0 4%;
}
.celebrate-img { width: 70%; }
.ornate-inner .eyebrow { font-size: 3.4cqw; }
.ornate-inner .caps-text { font-size: 3.3cqw; }
.oval-couple { font-size: 5.4cqw; margin-top: 3cqw; }
.oval-families { margin-top: 2cqw; }
/* Kına ve düğün dantel kartları: biraz daha küçük */
.scene > .lace-card.event-card { --cw: min(calc((var(--col) - 44px) * .88), 50svh); }
.lace-card.event-card .event-day { font-size: 3rem; }
.lace-card.event-card .event-venue { font-size: 1.3rem; }
.lace-card.event-card .event-addr { font-size: .72rem; }

/* Kapanış tarihi: düz rakam, ortalı */
.closing-date {
    font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
    letter-spacing: 5px; padding-left: 5px;
}

/* Aşağı kaydır: kapsül yerine ince yazı + akan çizgi */
.scroll-pill {
    bottom: 18px; padding: 6px 10px 0;
    background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    border-radius: 0;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(245, 236, 217, 0.9);
    font-family: var(--font-heading); font-size: .66rem; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.scroll-label { padding-left: 4px; }
.scroll-line {
    position: relative; width: 1px; height: 34px; overflow: hidden;
    background: rgba(245, 236, 217, 0.3);
}
.scroll-line::after {
    content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
    background: #f5ecd9;
    animation: scrollDrip 1.9s cubic-bezier(.6,0,.3,1) infinite;
}
@keyframes scrollDrip { to { top: 100%; } }
.scroll-pill:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .scroll-line::after { animation: none; top: 30%; } }

/* Duvak yazıları: arka plana dokunmadan daha belirgin (kalın çizgi + koyu bordo) */
.veil-names span {
    color: #4c0d18;
    -webkit-text-stroke: .7px #4c0d18;
    font-size: clamp(3.8rem, 17vw, 5.4rem);
    text-shadow: 0 1px 2px rgba(255,250,240,.45);
}
.veil-names small { color: #3a1a18; font-size: 1.3rem; -webkit-text-stroke: .3px #3a1a18; }
.veil-date {
    color: #2e1715; font-size: 1.12rem; font-weight: 700;
    -webkit-text-stroke: .25px #2e1715;
    text-shadow: 0 1px 2px rgba(255,250,240,.45);
}
.veil .ornament-divider::before, .veil .ornament-divider::after { background: rgba(76,13,24,.7); height: 1.2px; }
.veil .ornament-divider span { border-color: #4c0d18; }
