/* ── RESET & TOKENS ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:    #F8F6F1;
  --cream:    #EDE9E0;
  --sage:     #8FA58A;
  --sage-lt:  #B8C9B4;
  --sage-dk:  #6B8A66;
  --gold:     #B8943E;
  --gold-lt:  #D4AF60;
  --charcoal: #3A3530;
  --warm:     #5C5248;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
}

/* ── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}

nav.scrolled {
  background: rgba(248, 246, 241, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(143, 165, 138, .2);
}

nav .nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--charcoal);
  text-decoration: none;
}

nav .nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav .nav-links a {
  font-family: 'Cormorant SC', serif;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  transition: color .2s;
}

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

@media (max-width: 600px) {
  nav .nav-links { display: none; }
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(143, 165, 138, .18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(184, 148, 62, .10) 0%, transparent 60%);
  pointer-events: none;
}

/* decorative corner sprigs */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%238FA58A' stroke-width='1' opacity='.35'%3E%3Cpath d='M10 150 Q30 120 20 90 Q40 110 50 80 Q55 100 70 75 Q65 95 80 70'/%3E%3Ccircle cx='82' cy='68' r='3' fill='%238FA58A'/%3E%3Ccircle cx='72' cy='73' r='2' fill='%238FA58A'/%3E%3Ccircle cx='51' cy='78' r='2' fill='%238FA58A'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%238FA58A' stroke-width='1' opacity='.35' transform='scale(-1,1) translate(-160,0)'%3E%3Cpath d='M10 150 Q30 120 20 90 Q40 110 50 80 Q55 100 70 75 Q65 95 80 70'/%3E%3Ccircle cx='82' cy='68' r='3' fill='%238FA58A'/%3E%3Ccircle cx='72' cy='73' r='2' fill='%238FA58A'/%3E%3Ccircle cx='51' cy='78' r='2' fill='%238FA58A'/%3E%3C/g%3E%3C/svg%3E");
  background-position: bottom left, bottom right;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--sage-dk);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(52px, 10vw, 96px);
  line-height: 1.05;
  color: var(--charcoal);
  position: relative;
}

.hero-names .amp {
  color: var(--gold);
  font-size: .75em;
  display: inline-block;
  margin: 0 .1em;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px auto;
  width: 260px;
}

.hero-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.wax-seal {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--warm);
  text-transform: uppercase;
  padding-left: .3em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  animation: float 2.4s ease-in-out infinite;
  text-decoration: none;
}

.hero-scroll svg { width: 18px; height: 18px; }

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

/* ── SHARED SECTION LAYOUT ─────────────────────────────── */
section {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-label {
  font-family: 'Cormorant SC', serif;
  font-size: 10px;
  letter-spacing: .4em;
  color: var(--sage);
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-bottom: 12px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 42px);
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 40px;
}

/* ── RIBBON DIVIDER ────────────────────────────────────── */
.ribbon-divider {
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
}

.ribbon-divider .line {
  flex: 1;
  height: 1px;
}

.ribbon-divider .line-left  { background: linear-gradient(to right, transparent, var(--sage-lt)); }
.ribbon-divider .line-right { background: linear-gradient(to left,  transparent, var(--sage-lt)); }

/* ── COUNTDOWN ─────────────────────────────────────────── */
.countdown-section {
  background: var(--cream);
  padding: 64px 24px;
}

.countdown-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.countdown-box {
  background: var(--ivory);
  border: 1px solid rgba(143, 165, 138, .4);
  border-radius: 4px;
  padding: 24px 20px 18px;
  min-width: 100px;
  position: relative;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--sage-lt), var(--gold-lt), var(--sage-lt));
  border-radius: 4px 4px 0 0;
}

.countdown-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  display: block;
}

.countdown-lbl {
  font-family: 'Cormorant SC', serif;
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--sage-dk);
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}

/* ── DETAILS ───────────────────────────────────────────── */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 600px) {
  .details-grid { grid-template-columns: 1fr; }
}

.detail-card {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid rgba(143, 165, 138, .3);
  border-radius: 4px;
  position: relative;
  background: var(--ivory);
}

.detail-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(143, 165, 138, .15);
  border-radius: 2px;
  pointer-events: none;
}

.detail-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  color: var(--gold);
  display: block;
}

.detail-title {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--sage-dk);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.detail-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 8px;
}

.detail-card p {
  font-size: 13.5px;
  color: var(--warm);
  line-height: 1.9;
}

.detail-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  margin: 12px 0 4px;
}

.map-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Cormorant SC', serif;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--sage-dk);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-lt);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.map-link:hover { color: var(--gold); border-color: var(--gold); }

.parking-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(143, 165, 138, .2);
}

.parking-icon { margin-bottom: 12px; }

/* ── PARENTS ───────────────────────────────────────────── */
.parents-section {
  background: var(--cream);
  padding: 64px 24px;
}

.parents-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.parents-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 24px;
  align-items: start;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .parents-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .parents-divider { display: none; }
}

.parents-group { text-align: center; }

.parents-group .family-label {
  font-family: 'Cormorant SC', serif;
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--sage);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.parents-group .child-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--charcoal);
  display: block;
  margin-bottom: 8px;
}

.parents-group .parent-names {
  font-size: 13px;
  color: var(--warm);
  line-height: 2;
}

.parents-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--sage-lt), transparent);
  align-self: stretch;
  margin-top: 28px;
}

/* ── ΚΟΥΜΠΑΡΟΙ ─────────────────────────────────────────── */
.koumparoi-section {
  background: var(--ivory);
  padding: 64px 24px;
}

/* ── RSVP ──────────────────────────────────────────────── */
.rsvp-section { text-align: center; }

.rsvp-section p {
  max-width: 480px;
  margin: 0 auto 40px;
  color: var(--warm);
  font-size: 14px;
}

.rsvp-form {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-field label {
  font-family: 'Cormorant SC', serif;
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--sage-dk);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ivory);
  border: 1px solid rgba(143, 165, 138, .45);
  border-radius: 2px;
  padding: 10px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px;
  color: var(--charcoal);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--sage);
}

.form-field textarea { resize: vertical; min-height: 90px; }

.btn-submit {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  border-radius: 2px;
  transition: background .25s, color .25s;
  margin-top: 8px;
  align-self: center;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--ivory);
}

.rsvp-deadline {
  font-size: 12px;
  color: var(--sage);
  font-style: italic;
  margin-top: 8px;
}

/* ── CONTACT ───────────────────────────────────────────── */
.contact-section { background: var(--cream); padding: 64px 24px; }

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-subtitle {
  color: var(--warm);
  font-size: 13.5px;
  margin-top: -12px;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory);
  border: 1px solid rgba(143, 165, 138, .35);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--warm);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.contact-pill:hover { border-color: var(--sage); color: var(--sage-dk); }

.contact-pill svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  padding: 40px 24px;
  text-align: center;
}

.seal-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--warm);
}

.footer-note {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--sage);
}

.footer-registry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(143, 165, 138, .2);
  width: 100%;
  max-width: 420px;
}

.registry-label {
  font-family: 'Cormorant SC', serif;
  font-size: 9px;
  letter-spacing: .4em;
  color: var(--sage);
  text-transform: uppercase;
}

.registry-iban {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--warm);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* ── TOAST ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--ivory);
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: .25em;
  padding: 14px 28px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .35s, transform .35s;
  pointer-events: none;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
