/* wedding-02 — Boho / Floral */
/* Οι γραμματοσειρές φορτώνονται με <link> στην κεφαλίδα (includes/template-assets.php) — όχι @import, για ταχύτητα. */

:root{
  --bg:#f6efe4; --bg-alt:#efe1cd; --terracotta:#b5613a; --terracotta-deep:#8f4a2c;
  --burgundy:#6e2b2b; --sage:#8a9b6e; --sage-deep:#5f7048; --ink:#3a2a22; --ink-soft:#6b5849;
  --card:#fffdf9; --line:rgba(58,42,34,.14); --display:'Playfair Display',serif; --sans:'Nunito',sans-serif;
}
body.single-event{ background:var(--bg); color:var(--ink); font-family:var(--sans); font-weight:400; line-height:1.65; overflow-x:hidden; margin:0; }
.single-event img, .single-event svg{ display:block; max-width:100%; }
.single-event a{ color:inherit; text-decoration:none; }
.single-event button{ font-family:inherit; cursor:pointer; }

.evi-progress{ position:fixed; top:0; left:0; height:3px; width:0; background:var(--terracotta); z-index:100; transition:width .1s linear; }
.wrap{ max-width:1080px; margin:0 auto; padding:0 24px; }
.single-event section{ position:relative; padding:100px 0; }
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s ease, transform .9s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
.eyebrow{ font-size:12px; letter-spacing:.22em; color:var(--terracotta-deep); font-weight:700; margin-bottom:16px; display:block; text-align:center; }
.section-title{ font-family:var(--display); font-style:italic; font-weight:500; text-align:center; font-size:38px; color:var(--burgundy); }
.flourish{ display:flex; align-items:center; justify-content:center; gap:12px; margin:20px auto 0; width:180px; }
.flourish .stem{ height:1px; flex:1; background:var(--line); }
.flourish svg{ width:22px; height:22px; flex-shrink:0; color:var(--sage-deep); }

.hero{ min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:70px 24px; }
.corner{ position:absolute; width:220px; height:220px; opacity:.9; pointer-events:none; }
.corner.tl{ top:0; left:0; } .corner.br{ bottom:0; right:0; transform:rotate(180deg); }
.hero .kicker{ font-size:13px; letter-spacing:.3em; color:var(--terracotta-deep); margin-bottom:22px; font-weight:700; position:relative; z-index:1; display:block; }
.hero h1{ font-family:var(--display); font-style:italic; font-weight:500; color:var(--burgundy); font-size:clamp(46px,9vw,92px); line-height:1.15; position:relative; z-index:1; }
.hero h1 .amp{ color:var(--terracotta); font-size:.8em; padding:0 14px; }
.hero .date{ margin-top:26px; font-size:14px; letter-spacing:.14em; color:var(--ink-soft); font-weight:600; position:relative; z-index:1; }
.hero .date .sep{ color:var(--sage-deep); padding:0 10px; }
.family-note{ margin-top:20px; font-size:12.5px; color:var(--ink-soft); line-height:1.9; position:relative; z-index:1; }
.scroll-cue{ position:absolute; bottom:34px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:8px; font-size:11px; letter-spacing:.2em; color:var(--ink-soft); }
.scroll-cue .line{ width:1px; height:32px; background:var(--terracotta); animation:pulse 2.2s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{opacity:.25;} 50%{opacity:1;} }

.countdown{ background:var(--bg-alt); }
.countdown-grid{ display:flex; justify-content:center; gap:22px; flex-wrap:wrap; margin-top:40px; }
.countdown-cell{ width:110px; height:110px; border-radius:50%; background:var(--card); border:1px solid var(--line); display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(110,43,43,.06); }
.countdown-num{ font-family:var(--display); font-size:32px; font-weight:600; color:var(--burgundy); font-variant-numeric:tabular-nums; }
.countdown-label{ font-size:9px; letter-spacing:.16em; color:var(--terracotta-deep); margin-top:4px; font-weight:700; }

.details-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-top:46px; }
.detail-card{ background:var(--card); padding:40px 32px; text-align:center; border-radius:18px; border:1px solid var(--line); }
.detail-card h3{ font-family:var(--display); font-style:italic; font-size:25px; color:var(--burgundy); font-weight:500; margin-bottom:4px; }
.detail-card .addr{ font-size:13px; color:var(--ink-soft); margin-top:4px; }
.detail-card .time{ font-size:13px; color:var(--terracotta-deep); margin-top:10px; font-weight:700; letter-spacing:.03em; }
.detail-card .map{ margin-top:20px; border-radius:12px; overflow:hidden; border:1px solid var(--line); }
.btn-row{ display:flex; gap:10px; justify-content:center; margin-top:18px; flex-wrap:wrap; }
.btn{ font-size:12px; letter-spacing:.06em; padding:11px 22px; border-radius:999px; border:1.5px solid var(--terracotta); background:transparent; color:var(--terracotta-deep); font-weight:700; transition:background .25s,color .25s; display:inline-block; }
.btn:hover{ background:var(--terracotta); color:#fff; }
.btn.solid{ background:var(--terracotta); color:#fff; border-color:var(--terracotta); }
.btn.solid:hover{ background:var(--burgundy); border-color:var(--burgundy); }

.schedule{ background:var(--bg); }
.timeline{ max-width:560px; margin:46px auto 0; position:relative; }
.timeline::before{ content:''; position:absolute; left:64px; top:6px; bottom:6px; width:2px; background:repeating-linear-gradient(to bottom, var(--sage) 0 6px, transparent 6px 12px); }
.t-item{ display:flex; gap:26px; padding-bottom:36px; position:relative; }
.t-item:last-child{ padding-bottom:0; }
.t-time{ width:64px; flex-shrink:0; text-align:right; font-family:var(--display); font-style:italic; font-size:19px; color:var(--terracotta-deep); }
.t-leaf{ position:absolute; left:56px; top:2px; width:17px; height:17px; }
.t-body{ padding-left:24px; }
.t-body h4{ font-family:var(--display); font-style:italic; font-size:20px; font-weight:500; color:var(--burgundy); }
.t-body p{ font-size:13.5px; color:var(--ink-soft); margin-top:3px; }

.gallery{ background:var(--bg-alt); }
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:46px; }
.gallery-grid .ph{ aspect-ratio:1/1.15; border-radius:14px; background:#ecdcc3; transition:transform .4s ease; box-shadow:0 8px 20px rgba(110,43,43,.08); }
.gallery-grid .ph:nth-child(2n){ transform:rotate(-2deg); }
.gallery-grid .ph:nth-child(2n+1){ transform:rotate(1.5deg); }
.gallery-grid .ph:hover{ transform:scale(1.03) rotate(0); }
.gallery-note{ text-align:center; margin-top:34px; font-size:13px; color:var(--ink-soft); }
.gallery-note a{ color:var(--terracotta-deep); font-weight:700; border-bottom:1px solid var(--terracotta-deep); }

.rsvp{ background:var(--bg); }
.rsvp-deadline{ text-align:center; font-size:14px; color:var(--ink-soft); max-width:420px; margin:14px auto 0; }
.rsvp-note{ text-align:center; font-size:13px; font-style:italic; color:var(--ink-soft); margin:0 0 16px; }
.rsvp-box{ max-width:560px; margin:46px auto 0; border:1px solid var(--line); padding:44px 38px; border-radius:20px; background:var(--card); }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:11px; letter-spacing:.1em; color:var(--terracotta-deep); margin-bottom:8px; font-weight:700; }
.field input, .field textarea{ width:100%; border:none; border-bottom:1.5px solid var(--line); background:transparent; font-family:var(--sans); font-size:15px; color:var(--ink); padding:8px 2px; }
.field input:focus, .field textarea:focus{ outline:none; border-bottom-color:var(--terracotta); }
.field textarea{ resize:vertical; min-height:70px; }
.radio-row{ display:flex; gap:20px; }
.radio-row label{ display:flex; align-items:center; gap:8px; font-size:14px; text-transform:none; letter-spacing:0; font-weight:400; }
.radio-row input{ width:auto; accent-color:var(--terracotta); }
.rsvp-box .submit{ width:100%; margin-top:8px; padding:14px; }

.guestbook{ background:var(--bg-alt); }
.wishes{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:46px; }
.wish-card{ background:var(--card); padding:26px 24px; border-radius:16px; border:1px solid var(--line); }
.wish-card p{ font-family:var(--display); font-style:italic; font-size:18px; }
.wish-card .who{ margin-top:12px; font-size:12px; letter-spacing:.08em; color:var(--terracotta-deep); font-family:var(--sans); font-weight:700; }
.wish-form{ max-width:560px; margin:36px auto 0; }

.footer{ text-align:center; padding:80px 24px 60px; background:var(--bg); }
.footer h3{ font-family:var(--display); font-style:italic; font-size:30px; color:var(--burgundy); margin-bottom:10px; font-weight:500; }
.footer .names{ font-size:14px; color:var(--ink-soft); font-weight:600; }
.qr-block{ margin:28px auto 0; width:118px; height:118px; background:var(--card); border-radius:16px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.qr-caption{ margin-top:10px; font-size:11px; letter-spacing:.12em; color:var(--ink-soft); }
.upload-note{ margin-top:14px; font-size:12.5px; font-weight:600; }
.upload-note a{ color:inherit; text-decoration:underline; text-underline-offset:3px; }

@media (max-width:720px){
  .single-event section{ padding:70px 0; }
  .details-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .wishes{ grid-template-columns:1fr; }
  .countdown-cell{ width:88px; height:88px; }
  .corner{ width:130px; height:130px; }
}
@media (prefers-reduced-motion:reduce){ .single-event *{ animation:none!important; transition:none!important; } }
