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

/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --cream:        #FFF8F0;
  --cream-dark:   #F5EDE0;
  --ink:          #1C1714;
  --ink-mid:      #3D2F27;
  --ink-light:    #7A6558;
  --terracotta:   #D4694A;
  --terracotta-light: #E8906E;
  --terracotta-pale:  #FBF0EB;
  --gold:         #F2C46D;
  --gold-pale:    #FDF6E3;
  --border:       rgba(60,40,30,0.12);
  --border-mid:   rgba(60,40,30,0.22);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    Georgia, 'Times New Roman', Times, serif;
  --font-ui:      'DM Sans', sans-serif;

  --nav-h: 60px;
  --max-w: 1100px;
  --radius: 6px;
  --radius-lg: 12px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-ui); }

/* ─── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-logo span {
  color: rgba(255,255,255,0.4);
  font-style: normal;
  font-size: 13px;
  margin-left: 6px;
  font-family: var(--font-ui);
  font-weight: 300;
  letter-spacing: 0.06em;
}

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

.nav-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 3px;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terracotta-light) !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.6);
  transition: 0.3s;
}

/* ─── Page wrapper ───────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ─── Floral divider strip ───────────────────────────────── */
.floral-strip {
  background: var(--terracotta);
  padding: 9px 0;
  overflow: hidden;
  display: flex;
  gap: 0;
  white-space: nowrap;
}
.floral-strip-inner {
  display: inline-flex;
  gap: 18px;
  animation: scroll-flowers 18s linear infinite;
  padding-right: 18px;
}
.floral-strip-inner span {
  font-size: 18px;
  opacity: 0.85;
  display: inline-block;
}
@keyframes scroll-flowers {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Section headings ───────────────────────────────────── */
.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink-light);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 32px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 12px 24px;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover { background: var(--terracotta-light); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-mid);
}
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { color: #fff; border-color: rgba(255,255,255,0.6); }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ─── Loading / error states ─────────────────────────────── */
.loading-state, .error-state, .empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-light);
  font-family: var(--font-ui);
  font-size: 14px;
}
.loading-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  margin: 0 3px;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse-dot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  padding: 48px 32px 32px;
  text-align: center;
}
.footer-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-dates {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-mnd {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.footer-heart {
  color: var(--terracotta);
  opacity: 0.7;
}

/* ─── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: 64px 32px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,105,74,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { color: var(--terracotta-light); }
.page-hero .section-title { color: #fff; }
.page-hero .section-sub { color: rgba(255,255,255,0.5); margin-bottom: 0; }

/* ─── Form styles ────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-label .required { color: var(--terracotta); margin-left: 2px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(212,105,74,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-hint {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--ink-light);
  margin-top: 5px;
}

/* ─── Tag / badge ────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.tag-terracotta {
  background: var(--terracotta-pale);
  color: var(--terracotta);
  border: 1px solid rgba(212,105,74,0.25);
}
.tag-gold {
  background: var(--gold-pale);
  color: #8A6B20;
  border: 1px solid rgba(242,196,109,0.4);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--ink);
    padding: 24px 32px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open a { font-size: 14px; }
}
