/* ===========================================================
   Yummies Plus Play — Eat. Play. Party.
   Shared stylesheet
   =========================================================== */

:root {
  --sun: #FFD93D;
  --coral: #FF6B6B;
  --teal: #4ECDC4;
  --sky: #5BC0EB;
  --grape: #9B5DE5;
  --pink: #FF8FB1;
  --cream: #FFF9F0;
  --ink: #2B2D42;
  --ink-soft: #5A5C75;
  --white: #ffffff;
  --shadow: 0 14px 30px rgba(43, 45, 66, 0.14);
  --shadow-sm: 0 6px 16px rgba(43, 45, 66, 0.12);
  --radius: 26px;
  --radius-sm: 16px;
  --font-fun: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .btn, nav a {
  font-family: var(--font-fun);
  font-weight: 700;
  letter-spacing: 0.3px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-grape { background: var(--grape); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 4px dashed rgba(155, 93, 229, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  color: var(--grape);
}
.logo .blob {
  width: 42px; height: 42px;
  background: var(--sun);
  border-radius: 46% 54% 60% 40% / 55% 48% 52% 45%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  animation: wobble 5s ease-in-out infinite;
}
.logo span { color: var(--coral); }

nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
nav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease;
}
nav a:hover { background: var(--sky); color: #fff; }
nav a.active { background: var(--grape); color: #fff; }

.nav-toggle {
  display: none;
  background: var(--grape);
  color: #fff;
  border: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 90px 0 130px;
  background:
    radial-gradient(circle at 15% 20%, rgba(91,192,235,0.22), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255,107,107,0.22), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(78,205,196,0.22), transparent 45%);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
  color: var(--ink);
}
.hero h1 .pop { display: inline-block; }
.hero h1 .c1 { color: var(--coral); }
.hero h1 .c2 { color: var(--teal); }
.hero h1 .c3 { color: var(--grape); }
.tagline {
  font-family: var(--font-fun);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--ink-soft);
  margin: 18px 0 14px;
}
.hero p.lede {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.floaty {
  position: absolute;
  font-size: 2.6rem;
  opacity: 0.85;
  animation: float 6s ease-in-out infinite;
  user-select: none;
}
.floaty.f1 { top: 14%; left: 8%;  animation-delay: 0s; }
.floaty.f2 { top: 22%; right: 9%; animation-delay: 1.2s; }
.floaty.f3 { bottom: 16%; left: 13%; animation-delay: 2.1s; }
.floaty.f4 { bottom: 22%; right: 12%; animation-delay: 0.6s; }

/* ---------- Section basics ---------- */
section { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}
.tilt { display: inline-block; transform: rotate(-2deg); }

.band-teal { background: var(--teal); color: #fff; }
.band-sun  { background: var(--sun); }
.band-sky  { background: var(--sky); color: #fff; }
.band-cream{ background: #fff; }
.band-teal .section-sub,
.band-sky  .section-sub { color: rgba(255,255,255,0.9); }

/* wavy divider */
.wave { display: block; width: 100%; height: 70px; }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-8px); border-color: var(--sun); }
.card .ico {
  width: 70px; height: 70px;
  border-radius: 22px;
  display: grid; place-items: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.bg-coral { background: rgba(255,107,107,0.16); }
.bg-teal  { background: rgba(78,205,196,0.18); }
.bg-sky   { background: rgba(91,192,235,0.18); }
.bg-grape { background: rgba(155,93,229,0.16); }
.bg-sun   { background: rgba(255,217,61,0.28); }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); }

/* ---------- Party packages ---------- */
.pkg {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pkg .pkg-top {
  padding: 28px 26px;
  color: #fff;
  text-align: center;
}
.pkg.p1 .pkg-top { background: var(--teal); }
.pkg.p2 .pkg-top { background: var(--coral); }
.pkg.p3 .pkg-top { background: var(--grape); }
.pkg .price { font-size: 2.6rem; font-family: var(--font-fun); }
.pkg .price small { font-size: 1rem; font-weight: 400; }
.pkg ul { list-style: none; padding: 26px; flex: 1; }
.pkg ul li { padding: 9px 0; border-bottom: 2px dotted #eee; }
.pkg ul li::before { content: "🎈 "; }
.pkg .pkg-foot { padding: 0 26px 28px; }
.pkg .pkg-foot .btn { width: 100%; justify-content: center; }
.ribbon {
  position: absolute;
  top: 16px; right: -34px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-fun);
  padding: 6px 40px;
  transform: rotate(45deg);
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 720px;
  margin-inline: auto;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-fun);
  margin-bottom: 7px;
  font-size: 0.98rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 3px solid #eee;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.field textarea { min-height: 120px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note {
  margin-top: 14px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.form-success {
  display: none;
  background: rgba(78,205,196,0.18);
  border: 3px solid var(--teal);
  color: #1c7a72;
  padding: 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-fun);
  margin-bottom: 22px;
}
.form-success.show { display: block; }

/* ---------- Menu ---------- */
.menu-cat { margin-bottom: 50px; }
.menu-cat h3 {
  font-size: 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 3px dotted rgba(43,45,66,0.12);
}
.menu-item .name { font-family: var(--font-fun); font-size: 1.12rem; }
.menu-item .dots { flex: 1; border-bottom: 3px dotted rgba(43,45,66,0.18); }
.menu-item .price { font-family: var(--font-fun); color: var(--coral); font-size: 1.15rem; }
.menu-item .desc { display: block; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gtile {
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.gtile span { font-size: 0.9rem; font-family: var(--font-fun); margin-top: 6px; }
.gtile:hover { transform: scale(1.04) rotate(-1deg); }
.gtile.big { grid-column: span 2; grid-row: span 2; font-size: 4.5rem; }
.g1 { background: var(--coral); }
.g2 { background: var(--teal); }
.g3 { background: var(--sky); }
.g4 { background: var(--grape); }
.g5 { background: var(--pink); }
.g6 { background: var(--sun); color: var(--ink); }

/* ---------- Contact / info ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.info-card .ico { font-size: 2.4rem; margin-bottom: 10px; }
.info-card h4 { font-size: 1.2rem; margin-bottom: 6px; }
.info-card p { color: var(--ink-soft); }
.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
  border: 5px solid #fff;
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 26px;
  margin-top: 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer .logo { color: var(--sun); }
.site-footer .logo span { color: var(--pink); }
.site-footer h4 { margin-bottom: 14px; color: var(--sun); }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 5px 0; color: rgba(255,255,255,0.78); }
.site-footer ul li a:hover { color: var(--sun); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.socials a:hover { background: var(--coral); transform: translateY(-3px); }
.foot-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--grape), var(--coral));
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-strip h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.cta-strip p { margin-bottom: 26px; font-size: 1.15rem; opacity: 0.95; }

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}
@keyframes wobble {
  0%, 100% { border-radius: 46% 54% 60% 40% / 55% 48% 52% 45%; }
  50% { border-radius: 60% 40% 45% 55% / 45% 60% 40% 55%; }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .floaty, .logo .blob { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav ul {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 6px;
    box-shadow: var(--shadow);
    display: none;
  }
  nav ul.open { display: flex; }
  nav a { display: block; text-align: center; }
  .row-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2, .info-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gtile.big { grid-column: span 2; grid-row: span 1; }
  .form-card { padding: 26px; }
}
