/* Palette derived from the couple's wedding site (./sample/). Green + pink dominant,
   alternating section backgrounds, text flips for contrast. */
:root {
  --blush: #fdf7f8;
  --sage: #59766c;
  --sage-dark: #617755;
  --rose: #f2d7d7;
  --pink: #f48ca0;
  --raspberry: #d67186;
  --gold: #dfbf63;
  --gold-deep: #a17b1e; /* readable gold for text on light backgrounds */
  --ink: #1d1f26;

  --font-title: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 44rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blush);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hero__inner,
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Hero: sage title on blush ---------- */
.hero {
  background: var(--blush);
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}
.hero__title {
  font-family: var(--font-title);
  color: var(--sage);
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}
.hero__meta {
  color: var(--raspberry);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}
.hero__vibe {
  color: var(--sage-dark);
  font-style: italic;
  margin: 0 0 1.25rem;
}
.hero__intro {
  color: var(--ink);
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
}
/* dress-code call-out (Hawaii theme; Mathias in gold) */
.hero__dresscode {
  margin-top: 1.5rem;
}
.hero__dresscode-label {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--sage-dark);
  margin: 0 0 0.3rem;
}
.hero__dresscode-label::before,
.hero__dresscode-label::after {
  content: "—";
  color: var(--pink);
  margin: 0 0.5rem;
}
.hero__dresscode-line {
  margin: 0;
  color: var(--sage);
  font-weight: 600;
}
.hero__dresscode-mathias {
  color: var(--gold-deep);
  font-weight: 700;
}

/* pink divider under the hero */
.hero__inner::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 1.75rem auto 0;
  background: var(--pink);
  border-radius: 2px;
}

/* ---------- Shared section title ---------- */
.section__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: 0.03em;
}

/* ---------- Program: blush text on sage ---------- */
.program {
  background: var(--sage);
  color: var(--blush);
  padding: 3.5rem 0;
}
.program .section__title { color: var(--blush); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--pink);
}
.timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--pink);
  border: 3px solid var(--sage);
  box-shadow: 0 0 0 2px var(--pink);
  border-radius: 50%;
  transform: translateX(-50%);
}
.timeline__time {
  font-family: var(--font-title);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.timeline__heading {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.timeline__emoji { font-style: normal; }
.timeline__desc { margin: 0 0 0.3rem; }
.timeline__loc { margin: 0; }

/* ---------- Packing: sage text on rose ---------- */
.packing {
  background: var(--rose);
  color: var(--sage-dark);
  padding: 3.5rem 0;
}
.packing .section__title { color: var(--sage); }
.packing__group { margin-bottom: 1.75rem; }
.packing__group:last-child { margin-bottom: 0; }
.packing__heading {
  font-family: var(--font-title);
  color: var(--sage);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.packing__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.packing__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.35rem;
}
.packing__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--raspberry);
}

/* ---------- Kleskode & Budsjett: sage text on blush ---------- */
.kleskode,
.budsjett {
  background: var(--blush);
  text-align: center;
  padding: 3.5rem 0;
}
.kleskode .section__title,
.budsjett .section__title { color: var(--sage); }

.kleskode__line {
  margin: 0 0 0.4rem;
  color: var(--sage);
  font-weight: 600;
  font-size: 1.1rem;
}
.kleskode__note {
  max-width: 32rem;
  margin: 1rem auto 0;
  color: var(--ink);
  text-align: left;
}

.budsjett__price {
  font-family: var(--font-title);
  color: var(--sage);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}
.budsjett__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-top: 0.35rem;
}
.budsjett__list {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  max-width: 34rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: center;
}
.budsjett__list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--sage-dark);
}
.budsjett__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--raspberry);
}
.budsjett__note {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--ink);
  text-align: left;
}

/* ---------- Footer: blush on sage ---------- */
.footer {
  background: var(--sage);
  color: var(--blush);
  text-align: center;
  padding: 2.5rem 1.25rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}
.footer__contact {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: normal;
  margin: 0 0 0.75rem;
}
.footer__contact a {
  color: var(--blush);
  text-decoration: underline;
}

@media (min-width: 40rem) {
  .hero { padding: 6rem 0 4.5rem; }
  .program,
  .kleskode,
  .packing,
  .budsjett { padding: 4.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
