/* ==========================================================================
   Mom's 70th Birthday — shared styles
   Palette: deep Aegean navy, Santorini blue, sky blue, white
   Type: Playfair Display (display) + Inter (body)
   ========================================================================== */

:root {
  --navy-deep: #0a2b4e;
  --navy: #123a63;
  --blue: #2f7cb8;
  --sky: #8fcbea;
  --sky-pale: #eaf6fc;
  --white: #ffffff;
  --ink: #0e2438;
  --ink-soft: #3c5670;
  --gold: #cda85e; /* single, sparing accent — used only for the "70" */

  --radius: 4px;
  --max-width: 1040px;
  --shadow: 0 12px 32px rgba(10, 43, 78, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 0.4em 0;
  line-height: 1.15;
}

p { margin: 0 0 1em 0; max-width: 62ch; }

a { color: var(--blue); }

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Greek key motif ---------- */
.key-rule {
  height: 14px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14V0h28v4H8v2h16v4H8v2h20v2z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 28px 14px;
  opacity: 0.9;
}
.key-rule.on-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14V0h28v4H8v2h16v4H8v2h20v2z' fill='%230a2b4e'/%3E%3C/svg%3E");
  opacity: 0.15;
}

/* ---------- Nav ---------- */
.site-nav {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-nav .brand {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.site-nav .brand em { color: var(--sky); font-style: normal; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.site-nav a.nav-link {
  color: var(--sky-pale);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav a.nav-link:hover,
.site-nav a.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--sky);
}
.nav-toggle { display: none; }

@media (max-width: 640px) {
  .site-nav .container { flex-wrap: wrap; }
  .site-nav ul { width: 100%; justify-content: center; gap: 20px; padding-top: 10px; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 20% 0%, var(--navy) 0%, var(--navy-deep) 55%, #071d34 100%);
  color: var(--white);
  padding: 96px 0 110px;
  text-align: center;
}
.hero .waves {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 140' preserveAspectRatio='none'%3E%3Cpath d='M0 60 Q 100 10 200 60 T 400 60 T 600 60 T 800 60 T 1000 60 T 1200 60 V140 H0 Z' fill='%238fcbea' fill-opacity='0.10'/%3E%3Cpath d='M0 90 Q 100 45 200 90 T 400 90 T 600 90 T 800 90 T 1000 90 T 1200 90 V140 H0 Z' fill='%232f7cb8' fill-opacity='0.18'/%3E%3Cpath d='M0 115 Q 100 80 200 115 T 400 115 T 600 115 T 800 115 T 1000 115 T 1200 115 V140 H0 Z' fill='%23ffffff' fill-opacity='0.85'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.hero .eyebrow-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sky);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.hero .eyebrow-mark::before,
.hero .eyebrow-mark::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--sky);
  opacity: 0.6;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
  margin: 0 auto 18px;
}
.hero h1 .age {
  color: var(--gold);
}
.hero .sub {
  color: var(--sky-pale);
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 auto 40px;
}
.hero .facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}
.hero .fact {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--white);
}
.hero .fact strong { color: var(--sky); display: block; font-size: 0.72rem; letter-spacing: 0.1em; margin-bottom: 3px; }

/* ---------- Section ---------- */
.section {
  padding: 76px 0;
}
.section.alt {
  background: var(--sky-pale);
}
.section-head {
  margin-bottom: 40px;
}
.section-head .tag {
  color: var(--blue);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

/* ---------- Party detail card ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-list {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
}
.detail-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #dcebf3;
}
.detail-list li:first-child { padding-top: 0; }
.detail-list .icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-list .icon svg { width: 18px; height: 18px; }
.detail-list .label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  display: block;
  margin-bottom: 2px;
}
.detail-list .value { color: var(--ink); font-weight: 500; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
  outline: 1px solid #dcebf3;
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Surprise banner ---------- */
.surprise-banner {
  background: var(--navy-deep);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 0 0 8px;
  text-align: center;
  color: var(--white);
}
.surprise-banner .shh-icon { font-size: 2.2rem; margin-bottom: 10px; }
.surprise-banner h2 { color: var(--gold); font-size: 1.6rem; margin-bottom: 10px; }
.surprise-banner p { color: var(--sky-pale); max-width: 60ch; margin: 0 auto; font-size: 1.02rem; }
.surprise-banner p strong { color: var(--white); }

/* ---------- What we're providing ---------- */
.provide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
}
@media (max-width: 800px) { .provide-grid { grid-template-columns: 1fr; } }
.provide-card {
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.provide-card .icon-circle {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-size: 1.3rem;
}
.provide-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.provide-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- RSVP ---------- */
.rsvp-box {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.rsvp-box h2 { color: var(--white); }
.rsvp-box p { color: var(--sky-pale); margin: 0 auto 26px; }
.btn {
  display: inline-block;
  background: var(--sky);
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--white); transform: translateY(-1px); }
.rsvp-note { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 18px; margin-bottom: 0; }

/* ---------- Simple page header (contact / hotels) ---------- */
.page-header {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0 54px;
  text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header p { color: var(--sky-pale); margin: 0 auto; }

/* ---------- Contact page ---------- */
.contact-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #dcebf3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
  text-align: center;
}
.contact-card .avatar-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sky-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}
.contact-rows { list-style: none; margin: 24px 0 0; padding: 0; text-align: left; }
.contact-rows li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #eef4f8; }
.contact-rows li:first-child { border-top: none; }
.contact-rows .label { width: 76px; flex: none; color: var(--blue); font-size: 0.8rem; letter-spacing: 0.06em; padding-top: 2px; }
.contact-rows .value a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-rows .value a:hover { color: var(--blue); }

/* ---------- Hotels page ---------- */
.hotel-list {
  display: grid;
  gap: 20px;
}
.hotel-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid #dcebf3;
  border-radius: var(--radius);
  padding: 22px 26px;
}
@media (max-width: 700px) {
  .hotel-card { grid-template-columns: 1fr; text-align: left; }
}
.hotel-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--sky);
  -webkit-text-stroke: 1px var(--navy-deep);
  width: 46px;
}
.hotel-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.hotel-card .addr { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 4px; }
.hotel-card .meta { color: var(--blue); font-size: 0.85rem; }
.hotel-card .phone { text-align: right; white-space: nowrap; font-weight: 500; }
.hotel-card .phone a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 0;
  font-size: 0.85rem;
}
.site-footer .key-rule { margin-bottom: 24px; }
