/* ===== COLORS (change these to change the whole site!) ===== */
:root {
  --pine: #1e3d2f;        /* dark Christmas-tree green */
  --pine-light: #2c5643;
  --berry: #a3262a;       /* red like the berries */
  --berry-dark: #841d21;
  --gold: #d6a548;        /* twinkle-light gold */
  --wood: #e9d7b8;        /* light wood, like the ornaments */
  --cream: #fbf7f0;
  --text: #3a2c22;
  --soft-text: #76665a;

  --heading-font: "Playfair Display", Georgia, serif;
  --script-font: "Dancing Script", cursive;
  --body-font: "Nunito Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* When a link jumps to a section, stop a little lower so the top bar doesn't cover it */
section[id] { scroll-margin-top: 70px; }

body {
  margin: 0;
  font-family: var(--body-font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--heading-font); line-height: 1.15; }

/* ===== THIN STRIP AT THE VERY TOP ===== */
.made-in {
  background: var(--berry);
  color: white;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 12px;
}

/* ===== TOP BAR (stays at the top when you scroll) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eadfcd;
}
.logo {
  font-family: var(--script-font);
  font-size: 1.9rem;
  color: var(--pine);
  text-decoration: none;
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
nav a:hover { color: var(--berry); }
nav .nav-shop {
  background: var(--berry);
  color: white;
  padding: 7px 18px;
  border-radius: 30px;
}
nav .nav-shop:hover { background: var(--berry-dark); color: white; }

/* ===== BIG WELCOME SECTION ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 70px max(28px, calc((100% - 1100px) / 2)) 120px;
  color: white;
  /* the glowing dots look like blurry Christmas lights */
  background:
    radial-gradient(circle at 12% 20%, rgba(214, 165, 72, 0.35) 0 6px, transparent 40px),
    radial-gradient(circle at 30% 85%, rgba(214, 165, 72, 0.25) 0 8px, transparent 50px),
    radial-gradient(circle at 48% 12%, rgba(214, 165, 72, 0.2) 0 5px, transparent 35px),
    radial-gradient(circle at 92% 90%, rgba(214, 165, 72, 0.3) 0 7px, transparent 45px),
    radial-gradient(ellipse at top left, var(--pine-light), var(--pine) 70%);
}
.hero-small {
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 0 0 18px;
}
.script {
  font-family: var(--script-font);
  color: var(--gold);
  font-size: 1.15em;
}
.hero-text {
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 0 30px;
  opacity: 0.9;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* The photo hangs in an arch shape */
.hero-photo { position: relative; justify-self: center; }
.hero-photo > img {
  display: block;
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 220px 220px 24px 24px;
  border: 6px solid var(--wood);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* My photo + name tag, centered under the big photo so it never covers the words */
.maker {
  position: absolute;
  left: 50%;
  bottom: -44px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 22px 8px 8px;
  background: var(--cream);
  border-radius: 60px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  text-align: left;
}
.maker img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
}
.maker figcaption {
  font-family: var(--script-font);
  font-size: 1.6rem;
  color: var(--pine);
  line-height: 1.15;
}
.maker figcaption span {
  display: block;
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--berry);
}

/* ===== BUTTONS ===== */
.etsy-button, .plain-button {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 40px;
  transition: transform 0.15s, background 0.15s;
}
.etsy-button {
  background: var(--berry);
  color: white;
  box-shadow: 0 6px 16px rgba(163, 38, 42, 0.35);
}
.etsy-button:hover { background: var(--berry-dark); transform: translateY(-2px); }
.plain-button {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.plain-button:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ===== THREE LITTLE PROMISES ===== */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: -34px auto 0;
  position: relative;
  background: white;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30, 61, 47, 0.12);
  text-align: center;
}
.promises div { padding: 22px 12px; display: flex; flex-direction: column; }
.promises div + div { border-left: 1px solid #eee4d4; }
.promises span { font-size: 1.6rem; }
.promises b { font-size: 1.05rem; color: var(--pine); }
.promises small { color: var(--soft-text); }

/* ===== SECTIONS ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.label {
  font-family: var(--script-font);
  font-size: 1.5rem;
  color: var(--berry);
  margin: 0;
}
h2 {
  color: var(--pine);
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 12px;
}
.section-text { color: var(--soft-text); margin: 0 0 40px; }

/* ===== PICTURE GALLERY ===== */
/* Cards sit in centered rows, so a leftover card ends up in the middle */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.card {
  display: block;
  flex: 0 1 310px;
  background: white;
  border-radius: 18px;
  padding: 12px 12px 20px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(58, 44, 34, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(58, 44, 34, 0.15);
}
.photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eef2ec;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .photo img { transform: scale(1.06); }
/* If a photo is missing, show a placeholder instead */
.photo:not(:has(img))::before {
  content: "🎄\A Photo coming soon";
  white-space: pre;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--pine);
}
.card h3 { margin: 16px 0 4px; font-size: 1.25rem; color: var(--pine); }
.card p { margin: 0 0 10px; color: var(--soft-text); font-size: 0.95rem; }
.card-link { color: var(--berry); font-weight: 700; font-size: 0.9rem; }

/* ===== HOW TO ORDER ===== */
.how { background: var(--wood); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 36px;
}
.step {
  background: var(--cream);
  border-radius: 18px;
  padding: 30px 22px;
}
.num {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: white;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 700;
}
.step h3 { margin: 0 0 6px; color: var(--pine); }
.step p { margin: 0; color: var(--soft-text); }

/* ===== ABOUT ===== */
.about p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
}
.about .signature {
  font-family: var(--script-font);
  font-size: 2rem;
  color: var(--berry);
  margin-top: 14px;
}

/* ===== QUESTIONS ===== */
#faq { padding-top: 0; }
.faq {
  max-width: 660px;
  margin: 30px auto 0;
  text-align: left;
}
details {
  background: white;
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(58, 44, 34, 0.06);
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--pine);
}
details p { margin: 10px 0 0; color: var(--soft-text); }
details a { color: var(--berry); font-weight: 700; }

/* ===== BOTTOM ===== */
.bottom-shop {
  text-align: center;
  padding: 80px 24px;
  color: white;
  background:
    radial-gradient(circle at 15% 30%, rgba(214, 165, 72, 0.3) 0 6px, transparent 40px),
    radial-gradient(circle at 85% 70%, rgba(214, 165, 72, 0.25) 0 8px, transparent 50px),
    var(--pine);
}
.bottom-shop h2 { color: white; }
.bottom-shop p { margin: 0 0 28px; opacity: 0.85; }
.bottom-buttons { justify-content: center; }
footer {
  text-align: center;
  padding: 28px 20px;
  background: #16301f;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
footer .logo { color: var(--gold); }
footer p { margin: 4px 0 0; }

/* ===== PHONES AND SMALL SCREENS ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 20px 70px;
  }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero { gap: 40px; padding-bottom: 110px; }
  .hero-photo > img { width: min(320px, 100%); }
  .maker img { width: 70px; height: 70px; }
  .maker figcaption { font-size: 1.35rem; }
  .promises { margin: -34px 16px 0; }
}
@media (max-width: 600px) {
  .topbar { justify-content: center; padding: 10px 16px; }
  nav { justify-content: center; gap: 4px 14px; }
  .promises { grid-template-columns: 1fr; }
  .promises div + div { border-left: none; border-top: 1px solid #eee4d4; }
  .section { padding: 60px 16px; }
}
