/* ═══════════════════════════════════════════════
   Shared theme — Dixie Lee Bryant Mother's Day site
═══════════════════════════════════════════════ */

:root {
  /* MacKenzie-Childs palette */
  --cream: #faf3e0;          /* parchment ivory */
  --blush: #f0c987;           /* butter / warm sand */
  --rose: #c9536b;            /* Toulouse rose */
  --dusty: #a8324a;           /* ruby */
  --mauve: #2e6e5b;           /* Courtly Green teal */
  --deep: #1a1a1a;            /* signature black */
  --gold: #d4a017;            /* mustard gold */
  --warm-white: #fff8e7;
  --check-black: #1a1a1a;
  --check-cream: #faf3e0;
}

/* ── Courtly Check (MacKenzie-Childs signature) ──
   A pure-CSS black/cream checkerboard via repeating conic gradient. */
.courtly-strip {
  height: 14px;
  width: 100%;
  background:
    conic-gradient(var(--check-black) 25%, var(--check-cream) 0 50%, var(--check-black) 0 75%, var(--check-cream) 0) 0 0 / 14px 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18) inset;
}
.courtly-strip.thick { height: 20px; background-size: 20px 20px; }
.courtly-strip.thin  { height: 10px; background-size: 10px 10px; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background-color: var(--cream);
  color: var(--deep);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 56px; /* room for sticky footer */
}

a { color: inherit; }

/* ── Top nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 224, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 2px solid var(--deep);
  transition: box-shadow 0.3s ease;
}
.site-nav::after {
  content: '';
  display: block;
  height: 12px;
  width: 100%;
  background: conic-gradient(var(--check-black) 25%, var(--check-cream) 0 50%, var(--check-black) 0 75%, var(--check-cream) 0) 0 0 / 12px 12px;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(61, 43, 48, 0.08); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: 'Cormorant', serif;
  font-size: 1.2rem;
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-brand .nav-flower { color: var(--rose); font-size: 1.15rem; }
.nav-brand em { font-style: italic; color: var(--rose); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mauve);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--rose); background: rgba(232, 196, 160, 0.18); }
.nav-links a.active { color: var(--rose); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--rose);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--deep);
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(253, 246, 238, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 196, 160, 0.4);
    box-shadow: 0 8px 24px rgba(61, 43, 48, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 60vh; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a.active::after { display: none; }
}

/* ── Sticky bottom footer ── */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: linear-gradient(135deg, var(--deep) 0%, var(--mauve) 100%);
  color: var(--cream);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  border-top: 2px solid var(--gold);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 12px;
  background: conic-gradient(var(--check-black) 25%, var(--check-cream) 0 50%, var(--check-black) 0 75%, var(--check-cream) 0) 0 0 / 12px 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
}
.footer-text { font-family: 'Outfit', sans-serif; font-weight: 300; opacity: 0.9; }
.footer-text strong { color: var(--blush); font-weight: 500; letter-spacing: 0.22em; }
.footer-heart { color: var(--rose); animation: footerBeat 1.6s ease-in-out infinite; display: inline-block; }
@keyframes footerBeat {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.25); }
  40% { transform: scale(1); }
  60% { transform: scale(1.15); }
}
.footer-actions { display: flex; align-items: center; gap: 10px; }
.footer-btn {
  background: rgba(253, 246, 238, 0.12);
  border: 1px solid rgba(232, 196, 160, 0.3);
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-btn:hover { background: rgba(232, 196, 160, 0.25); border-color: var(--blush); transform: translateY(-1px); }

@media (max-width: 580px) {
  .site-footer { padding: 10px 14px; gap: 10px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-text { font-size: 0.65rem; letter-spacing: 0.14em; }
  .footer-btn { font-size: 0.6rem; padding: 6px 11px; }
  body { padding-bottom: 78px; }
}

/* ── Petal background ── */
.petal-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.petal { position: absolute; width: 18px; height: 26px; border-radius: 50% 10% 50% 10%; opacity: 0; animation: fall linear infinite; }
@keyframes fall {
  0%   { transform: translateY(-60px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.45; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ── Page hero (shared by sub-pages) ── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 80px 24px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 160, 23, 0.15) 0%, var(--cream) 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 10px;
  background: conic-gradient(var(--check-black) 25%, var(--check-cream) 0 50%, var(--check-black) 0 75%, var(--check-cream) 0) 0 0 / 10px 10px;
  opacity: 0.85;
}
.page-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
  font-weight: 400;
}
.page-hero h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.05;
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: italic; color: var(--rose); }
.page-hero .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.55rem);
  color: var(--mauve);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.page-hero .divider {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.page-hero .divider-line { width: 50px; height: 1px; background: var(--blush); }
.page-hero .divider-flower { color: var(--rose); font-size: 1.2rem; }

/* ── Generic content section ── */
main { flex: 1 0 auto; position: relative; z-index: 1; }
.content-section { padding: 60px 24px; max-width: 920px; margin: 0 auto; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--deep);
  margin-bottom: 24px;
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--rose); }
.lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--mauve);
  margin-bottom: 24px;
}

/* ── Featured photo block ── */
.feature-photo {
  margin: 32px auto;
  max-width: 720px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 60px rgba(61, 43, 48, 0.18);
  background: var(--deep);
}
.feature-photo img { width: 100%; display: block; }
.feature-photo figcaption {
  padding: 16px 22px;
  background: linear-gradient(135deg, var(--deep), var(--mauve));
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  text-align: center;
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.theme-card {
  background: var(--warm-white);
  border: 1px solid #ecd6c4;
  border-radius: 8px;
  padding: 26px 22px;
  box-shadow: 0 3px 18px rgba(61, 43, 48, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.theme-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(61, 43, 48, 0.1); }
.theme-card .icon { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.theme-card h3 {
  font-family: 'Cormorant', serif;
  font-size: 1.25rem;
  color: var(--deep);
  margin-bottom: 8px;
}
.theme-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem;
  color: var(--mauve);
  line-height: 1.6;
}

/* ── Quote ── */
.quote-block {
  margin: 48px 0;
  padding: 32px 40px;
  background: linear-gradient(135deg, #f9ede0, #fdf0e8);
  border-left: 3px solid var(--rose);
  border-radius: 2px 8px 8px 2px;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '\201C';
  font-family: 'Cormorant', serif;
  font-size: 7rem;
  color: var(--blush);
  position: absolute;
  top: -16px;
  left: 12px;
  line-height: 1;
  opacity: 0.6;
}
.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--mauve);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

@media (max-width: 520px) {
  .quote-block { padding: 26px 22px; }
  .content-section { padding: 50px 20px; }
}
