/* The Celebrations Company — all-occasion party planning & styling.
   Design: bright, warm and cheerful on a white base. Confetti palette of
   coral, teal and sunny yellow. Rounded friendly sans display. Deliberately
   unlike the elegant ivory wedding sibling site — this is joyful everyday. */

:root {
  --bg: #ffffff;
  --bg-soft: #fff8f0;       /* warm cream tint */
  --ink: #2a2a2a;           /* near-black */
  --muted: #6b6b6b;
  --primary: #ff6b6b;       /* coral */
  --teal: #1fb6a6;          /* teal accent */
  --yellow: #ffc83d;        /* sunny yellow */
  --line: #ffe0d4;
  --border: #ffe0d4;
  --card: #ffffff;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", "Varela Round", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.78;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a { color: var(--primary); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 14px;
}

/* ---- Header ---- */
header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--primary); }
.brand-icon path, .brand-icon circle, .brand-icon rect, .brand-icon polygon, .brand-icon line { vector-effect: non-scaling-stroke; }
.brand:hover .brand-icon { color: var(--teal); transition: color 0.15s ease; }
.nav-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f0 40%, #f0fffe 100%);
  text-align: center;
  padding: 90px 26px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--yellow), var(--teal), var(--primary));
}
.hero h1 {
  font-size: 3rem;
  max-width: 18ch;
  margin: 0 auto 22px;
  font-weight: 800;
}
.hero .sub { font-size: 1.18rem; color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }
.hero .btn { margin: 0 5px 8px; }
.confetti-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.confetti-bar span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(30deg);
}
.confetti-bar span:nth-child(1) { background: var(--primary); }
.confetti-bar span:nth-child(2) { background: var(--yellow); transform: rotate(-20deg); }
.confetti-bar span:nth-child(3) { background: var(--teal); transform: rotate(45deg); }
.confetti-bar span:nth-child(4) { background: var(--primary); transform: rotate(-10deg); }
.confetti-bar span:nth-child(5) { background: var(--yellow); transform: rotate(60deg); }
.confetti-bar span:nth-child(6) { background: var(--teal); transform: rotate(15deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(255,107,107,.3);
}
.btn:hover { background: #e85555; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,107,107,.4); }
.btn-teal { background: var(--teal); box-shadow: 0 4px 14px rgba(31,182,166,.3); }
.btn-teal:hover { background: #189e90; box-shadow: 0 6px 18px rgba(31,182,166,.4); }
.btn-soft { background: transparent; color: var(--teal); border: 2px solid var(--teal); box-shadow: none; }
.btn-soft:hover { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(31,182,166,.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 14px rgba(255,200,61,.3); }
.btn-yellow:hover { background: #f0b820; box-shadow: 0 6px 18px rgba(255,200,61,.4); }

/* ---- Sections ---- */
section { padding: 68px 0; }
section.soft { background: var(--bg-soft); }
section.teal-soft { background: #f0fffe; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 46px; }
section h2 { font-size: 2.1rem; margin-bottom: 14px; }
section p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.reverse .ph { order: 2; }
.ph { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 44px rgba(0,0,0,.12); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Card grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; }
.pill {
  display: inline-block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #fff;
  background: var(--teal);
  padding: 4px 13px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.pill-coral { background: var(--primary); }
.pill-yellow { background: var(--yellow); color: var(--ink); }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { font-size: 0.95rem; margin: 0; color: var(--muted); }

/* ---- Service list ---- */
.services-list { list-style: none; margin: 0; padding: 0; }
.services-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--muted);
}
.services-list li:last-child { border-bottom: none; }
.services-list .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}
.services-list .icon.teal { background: var(--teal); }
.services-list .icon.yellow { background: var(--yellow); color: var(--ink); }

/* ---- Prose ---- */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { font-size: 1.8rem; margin: 46px 0 12px; color: var(--ink); }
.prose h3 { font-size: 1.28rem; margin: 32px 0 8px; color: var(--ink); }
.prose p, .prose li { color: #4a4a4a; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.note {
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}
.note p { margin: 0; color: var(--ink); }
.pull {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--primary);
  text-align: center;
  max-width: 32ch;
  margin: 42px auto;
}

/* ---- Occasion badges ---- */
.occasions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.occasion-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.occasion-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.occasion-badge .dot-coral { background: var(--primary); }
.occasion-badge .dot-teal { background: var(--teal); }
.occasion-badge .dot-yellow { background: var(--yellow); }

/* ---- Steps ---- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 32px 64px;
  border-left: 2px solid var(--line);
  margin-left: 20px;
}
.steps li:last-child { border-left: none; padding-bottom: 0; }
.steps li::before {
  content: counter(steps);
  position: absolute;
  left: -20px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li h3 { font-size: 1.1rem; margin-bottom: 6px; margin-top: 6px; }
.steps li p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---- CTA ---- */
.cta { background: var(--primary); color: #fff; text-align: center; padding: 72px 26px; position: relative; overflow: hidden; }
.cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta h2 { font-size: 2.1rem; margin-bottom: 12px; color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 26px; }
.cta .btn-soft { color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.cta .btn-soft:hover { background: rgba(255,255,255,.2); }
.cta .btn-yellow { color: var(--ink); }

/* ---- Footer ---- */
footer {
  background: #2a2a2a;
  color: #bbb;
  padding: 52px 0 30px;
  border-top: 4px solid var(--yellow);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto 28px;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #444;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.footer-grid a, .footer-grid p {
  color: #aaa;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-size: 0.92rem;
}
.footer-grid a:hover { color: var(--yellow); }
.footer-meta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
  font-size: 0.82rem;
  color: #777;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .ph { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero h1 { font-size: 2rem; }
}
