/* ============================================================
   Wedding Countdown | Until I Do — shared stylesheet
   Palette pulled directly from the app's theme/index.js
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #faf7f0;
  --cream-2:  #f2ece0;
  --gold:     #D4AF7A;
  --gold-dk:  #b8924a;
  --charcoal: #444444;
  --ink:      #1a1a1a;
  --muted:    #7a7169;
  --divider:  rgba(180,160,120,0.35);

  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Montserrat', system-ui, sans-serif;

  --max:      1100px;
  --radius:   4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
  padding: 0 2rem;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-dk); text-decoration: none; }

/* ---------- Hairline divider ---------- */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ---------- Section spacing ---------- */
section { padding: 6rem 2rem; }

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

/* ---------- Eyebrow / label ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--divider);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-sm  { margin-top: 0.75rem; }
.mt-md  { margin-top: 1.5rem; }
.mt-lg  { margin-top: 2.5rem; }
.mt-xl  { margin-top: 4rem; }

/* ---------- Responsive nav ---------- */
@media (max-width: 600px) {
  .nav-links { gap: 1.5rem; }
  .nav-links li:last-child { display: none; } /* hide last link on very small screens */
  section { padding: 4rem 1.25rem; }
}
