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

/* ============================================================
   Γάμος — Ανθισμένο Γαλάζιο (wedding-31), 27/9
   Ίδια παλέτα/γραμματοσειρές με την ενότητα "Η ιστορία μας"
   (includes/our-story-section.php, evi_our_story_palette_vars 'blue'),
   ώστε το template και η αυτόματη ενότητα πριν το footer να
   ενώνονται οπτικά χωρίς "ραφή".
   ============================================================ */
:root{
	--ink:#2E3D55; --ink-soft:#5C6874; --accent:#5C7A94;
	--band:#BDCFE0; --ink-band:#3D5064; --rule:#C9BFAE; --muted:#9A948C;
	--bg:#F9F3ED; --card:#ffffff; --body-c:#524D47;
	--display:'Cormorant Garamond',Georgia,serif; --body:'Jost',system-ui,sans-serif;
}
*{ box-sizing:border-box; }
body{ margin:0; font-family:var(--body); color:var(--body-c); background:var(--bg); line-height:1.6; }
img,svg{ display:block; max-width:100%; }
.wrap{ max-width:1100px; margin:0 auto; }
.eyebrow{ display:block; font-size:11px; letter-spacing:.2em; color:var(--accent); font-weight:500; margin-bottom:10px; text-align:center; }
.section-title{ font-family:var(--display); font-size:28px; font-weight:500; text-align:center; margin-bottom:26px; color:var(--ink); }

.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ============================================================
   HERO — γωνιακές εικονογραφήσεις (ίδιες με "Η ιστορία μας")
   πλαισιώνουν το εξώφυλλο· προαιρετική τοξωτή φωτογραφία ζευγαριού
   (ACF hero_couple_photo) — αν λείπει, το hero μένει κομψό μόνο
   με κείμενο, χωρίς κενό σημείο.
   ============================================================ */
.hero{ position:relative; overflow:hidden; background:var(--bg); }
.hero-corner{ position:absolute; width:150px; height:auto; z-index:1; pointer-events:none; }
.hero-corner--tl{ top:0; left:0; } .hero-corner--tr{ top:0; right:0; }

.hero-content{ position:relative; z-index:2; padding:54px 26px 46px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; }
.kicker{ display:block; font-size:11px; letter-spacing:.2em; font-weight:600; color:var(--ink-soft); }
.hero-orn-row{ display:flex; align-items:center; gap:9px; margin:2px 0; color:var(--accent); }
.hero-orn-line{ width:22px; height:1px; background:var(--accent); }
.hero-names{ font-family:var(--display); font-style:italic; font-weight:400; font-size:38px; line-height:1.12; margin:0; color:var(--ink); }
.hero-tagline{ font-size:14.5px; color:var(--ink-soft); }

.hero-photo-wrap{ width:100%; max-width:420px; margin-top:14px; }
.hero-photo-arch{
	width:100%; height:260px; object-fit:cover;
	border-radius:0 0 8px 8px; border-top-left-radius:160px; border-top-right-radius:160px;
	box-shadow:0 1px 2px rgba(46,61,85,.06), 0 20px 38px rgba(46,61,85,.14);
}

.hero-divider{ display:flex; align-items:center; gap:14px; margin-top:22px; }
.hero-divider-line{ width:30px; height:1px; background:var(--rule); }
.hero-divider-word{ font-family:var(--display); font-size:19px; color:var(--ink); }
.hero-date{ font-size:12.5px; letter-spacing:.05em; color:var(--ink-soft); margin-top:2px; }

.scroll-cue{
	display:inline-block; margin-top:22px; font-size:12px; letter-spacing:.1em; font-weight:600;
	color:#fff; background:var(--accent); border-radius:6px; padding:15px 42px;
	text-decoration:none; transition:background .25s ease;
}
.scroll-cue:hover{ background:var(--ink-band); }

.hero-torn{ position:relative; z-index:2; width:100%; height:38px; fill:var(--bg); margin-top:-1px; }
@media (max-width:420px){
	.hero-corner{ width:105px; }
}

/* ---- ΓΕΝΙΚΑ SECTIONS ---- */
.section{ padding:60px 26px; }
.section.alt{ background:var(--card); }
.section-inner{ max-width:600px; margin:0 auto; }

/* ---- FAMILY ---- */
.family-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; text-align:center; margin-bottom:28px; }
.family-block h4{ font-size:10px; letter-spacing:.14em; color:var(--accent); margin-bottom:8px; }
.family-block p{ font-family:var(--display); font-size:17px; line-height:1.5; margin:0 0 4px; color:var(--ink); }
.family-block p:last-child{ margin-bottom:0; }

/* ---- COUNTDOWN ---- */
.countdown-grid{ display:flex; justify-content:center; gap:20px; }
.cd-cell{ display:flex; flex-direction:column; align-items:center; min-width:44px; }
.cd-cell:not(:last-child){ border-right:1px solid rgba(0,0,0,.1); padding-right:20px; }
.cd-num{ font-family:var(--display); font-size:32px; font-weight:600; color:var(--ink); line-height:1; }
.cd-label{ font-size:9px; letter-spacing:.1em; color:var(--ink-soft); margin-top:6px; }

/* ---- VENUE CARDS ---- */
.venues-row{ display:flex; flex-direction:column; gap:18px; }
.venue-card{ background:var(--card); border-radius:14px; padding:26px 22px; text-align:center; border:1px solid rgba(0,0,0,.06); flex:1; }
.venue-icon{ width:30px; height:30px; margin:0 auto 14px; color:var(--accent); }
.venue-name{ font-family:var(--display); font-size:22px; margin-bottom:6px; color:var(--ink); }
.venue-addr{ font-size:13px; color:var(--ink-soft); margin-bottom:10px; }
.venue-time{ font-size:12px; letter-spacing:.06em; color:var(--accent); font-weight:600; }
.venue-map{ margin-top:16px; border-radius:10px; overflow:hidden; }
.venue-btn-row{ display:flex; gap:10px; margin-top:16px; justify-content:center; }
.venue-btn{ font-size:12px; padding:9px 16px; border-radius:999px; border:1px solid var(--accent); color:var(--ink); text-decoration:none; }
.venue-btn.solid{ background:var(--accent); color:#fff; border-color:var(--accent); }

/* ---- SCHEDULE ---- */
.timeline{ position:relative; padding-left:26px; max-width:400px; margin:0 auto; }
.timeline::before{ content:''; position:absolute; left:6px; top:6px; bottom:6px; width:1px; background:rgba(92,122,148,.3); }
.tl-item{ position:relative; margin-bottom:26px; }
.tl-item::before{ content:''; position:absolute; left:-26px; top:4px; width:9px; height:9px; border-radius:50%; background:var(--accent); }
.tl-time{ font-family:var(--display); font-size:18px; color:var(--accent); margin-bottom:2px; }
.tl-label p{ font-size:13px; color:var(--ink-soft); margin:2px 0 0; }

/* ---- GALLERY ---- */
.gallery-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; max-width:600px; margin:0 auto; }
.gallery-grid div{ aspect-ratio:1/1; border-radius:6px; background-color:#e3dccf; }
.gallery-note{ text-align:center; font-size:12px; color:var(--ink-soft); margin-top:18px; }
.gallery-note a{ color:var(--accent); }

/* ---- RSVP / WISHES φόρμες ---- */
.rsvp-form, .wish-form{ max-width:420px; margin:0 auto; }
.rsvp-deadline{ text-align:center; font-size:12px; color:var(--ink-soft); margin-bottom:20px; }
.rsvp-note{ text-align:center; font-size:13px; font-style:italic; color:var(--ink-soft); margin:0 0 16px; }
.rsvp-field{ margin-bottom:16px; text-align:left; }
.rsvp-field label{ display:block; font-size:11px; letter-spacing:.06em; color:var(--ink-soft); margin-bottom:6px; }
.rsvp-form input[type=text], .rsvp-form input[type=number], .rsvp-form textarea,
.wish-form input[type=text], .wish-form textarea{
	width:100%; padding:13px 15px; border:1px solid rgba(0,0,0,.12);
	border-radius:8px; font-family:var(--body); font-size:14px; background:var(--card); color:var(--ink);
}
.radio-row{ display:flex; gap:20px; }
.radio-row label{ display:flex; align-items:center; gap:6px; font-size:13px; text-transform:none; letter-spacing:0; }
.rsvp-btn{ width:100%; padding:14px; background:var(--accent); color:#fff; border:none; border-radius:8px; font-size:14px; font-weight:600; margin-top:6px; cursor:pointer; }
.rsvp-contact{ text-align:center; font-size:12px; color:var(--ink-soft); margin-top:18px; max-width:420px; margin-left:auto; margin-right:auto; }

/* ---- WISHES κάρτες ---- */
.wishes-grid{ max-width:600px; margin:0 auto 26px; }
.wish-card{ background:var(--card); border-radius:12px; padding:16px 18px; margin-bottom:12px; border:1px solid rgba(0,0,0,.06); }
.wish-name{ font-size:12px; font-weight:600; color:var(--accent); margin-top:6px; }
.wish-text{ font-size:13px; color:var(--ink-soft); line-height:1.5; }

/* ---- ΔΩΡΟ / IBAN ---- */
.gift-message{ font-size:14px; color:var(--ink-soft); line-height:1.7; max-width:440px; margin:0 auto 24px; }
.gift-card{ background:var(--card); border-radius:14px; padding:26px 24px; max-width:360px; margin:0 auto; border:1px solid rgba(0,0,0,.06); }
.gift-holder{ font-family:var(--display); font-size:19px; margin-bottom:10px; color:var(--ink); }
.gift-iban{ font-size:15px; letter-spacing:.03em; font-weight:600; color:var(--accent); margin-bottom:6px; word-break:break-all; }
.gift-bank{ font-size:12px; color:var(--ink-soft); margin-bottom:16px; }
.gift-copy-btn{
	font-size:12px; font-weight:600; padding:9px 18px; border-radius:999px;
	border:1px solid var(--accent); background:transparent; color:var(--ink); cursor:pointer;
}
.gift-copy-btn:hover{ background:var(--accent); color:#fff; }

/* ---- FOOTER ---- */
.footer{ position:relative; overflow:hidden; background:var(--ink); color:#f3ede3; text-align:center; padding:56px 26px; }
.footer .monogram{ position:relative; z-index:1; font-family:var(--display); font-size:17px; font-style:italic; width:44px; height:44px; border-radius:50%; border:1.5px solid var(--accent); display:flex; align-items:center; justify-content:center; color:#f3ede3; background:rgba(255,255,255,.06); margin:0 auto 16px; }
.footer h3{ position:relative; z-index:1; font-family:var(--display); font-size:20px; margin-bottom:20px; }
.pdf-download-btn{
	position:relative; z-index:1;
	font-family:var(--body); font-size:13px; font-weight:600; letter-spacing:.02em;
	border:1px solid #f3ede3; color:#f3ede3; background:transparent;
	padding:12px 24px; border-radius:999px; cursor:pointer; margin-bottom:6px;
	display:inline-block; text-decoration:none;
}
.pdf-download-btn:hover{ background:rgba(255,255,255,.08); }
.upload-note{ position:relative; z-index:1; font-size:12px; margin-top:18px; opacity:.85; }
.upload-note a{ color:#f3ede3; text-decoration:underline; }

/* ============================================================
   DESKTOP — από 900px και πάνω
   ============================================================ */
@media (min-width:900px){
	.hero-corner{ width:220px; }
	.hero-content{ padding:70px 26px 60px; }
	.hero-names{ font-size:60px; }
	.hero-tagline{ font-size:17px; }
	.hero-photo-wrap{ max-width:560px; }
	.hero-photo-arch{ height:340px; border-top-left-radius:220px; border-top-right-radius:220px; }
	.countdown-grid{ gap:34px; }
	.cd-cell:not(:last-child){ padding-right:34px; }
	.cd-num{ font-size:40px; }

	.section{ padding:100px 60px; }
	.section-title{ font-size:36px; margin-bottom:40px; }

	.family-grid{ grid-template-columns:1fr 1fr; gap:60px; max-width:700px; margin:0 auto 30px; }
	.family-block p{ font-size:20px; }

	.venues-row{ flex-direction:row; max-width:900px; margin:0 auto; gap:26px; }

	.gallery-grid{ grid-template-columns:repeat(4,1fr); max-width:900px; gap:10px; }

	.footer{ padding:90px 26px; }
}

@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ============================================================
   PRINT / "Λήψη σε PDF"
   ============================================================ */
@media print{
	body{ background:#fff !important; color:#000 !important; }
	.hero-corner, .footer-corner, .hero-torn{ display:none !important; }
	.hero-content{ padding:26px 20px !important; }
	.section, .section.alt{ background:#fff !important; padding:26px 20px !important; }
	.reveal{ opacity:1 !important; transform:none !important; }
	.kicker, .cd-label, .venue-time, .tl-time, .eyebrow, .hero-tagline, .hero-date{ color:#555 !important; }
	.hero-names, .section-title, .venue-name, .cd-num, .gift-holder{ color:#000 !important; }
	.scroll-cue, .rsvp-form, .wish-form, .pdf-download-btn, .venue-map, .venue-btn-row, .gallery-note, .upload-note, .gift-copy-btn{ display:none !important; }
	.footer{ background:#fff !important; color:#000 !important; padding:26px 20px !important; }
	.footer .monogram{ border-color:#000 !important; color:#000 !important; background:none !important; }
	a{ color:#000 !important; text-decoration:none !important; }
	.venue-card, .wish-card{ border:1px solid #ccc !important; break-inside:avoid; }
}
