/* =========================================================
   Angels Kids Party Hire — Playful UI (style.css)
   New styling ONLY lives here.
========================================================= */

:root {
  --bg1: #fff7fb;
  --bg2: #f1fbff;
  --ink: #17171c;
  --muted: #5b5b6a;

  --brand: #ff4fd8;
  --brand2: #19d3ff;
  --sun: #ffd34d;
  --good: #22c55e;

  --card: rgba(255, 255, 255, .88);
  --border: rgba(0, 0, 0, .08);
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);

  --radius: 22px;
  --ring: rgba(255, 79, 216, .22);

  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 20% -10%, rgba(255, 79, 216, .18), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(25, 211, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 12px;
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  user-select: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  /* optional */
  flex: 0 0 auto;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: conic-gradient(from 220deg, var(--brand), var(--brand2), var(--sun), var(--brand));
  box-shadow: 0 14px 30px rgba(255, 79, 216, .18);
  position: relative;
  flex: 0 0 auto;
}

.logo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .55);
  transform: rotate(8deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-weight: 900;
  color: #111827;
  padding: 10px 12px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}

.nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 79, 216, .10);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

/* =========================================================
   Buttons / Chips
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .2px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.btn:active {
  transform: translateY(0) scale(.99);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  box-shadow: 0 16px 34px rgba(255, 79, 216, .22);
}

.btn-ghost {
  color: #0f172a;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .86);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.chip-btn:hover {
  transform: translateY(-2px);
}

.chip-btn.is-active {
  background: linear-gradient(90deg, rgba(255, 79, 216, .16), rgba(25, 211, 255, .16));
  border-color: rgba(255, 79, 216, .35);
  box-shadow: 0 0 0 6px rgba(255, 79, 216, .10), 0 12px 28px rgba(0, 0, 0, .10);
}

/* =========================================================
   Hero — Centered logo above title
========================================================= */

.hero-content--center {
  text-align: center;
  justify-items: center;
  /* centers the grid children */
  align-content: center;
  /* centers the content vertically inside hero */
  gap: 14px;
}

.hero-logo {
  width: min(320px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto 2px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .28));
}

/* tighten paragraph width a bit when centered */
.hero-content--center p {
  max-width: 60ch;
}

/* buttons centered */
.hero-content--center .hero-actions {
  justify-content: center;
}

/* =========================================================
   Mobile tweaks
========================================================= */
@media (max-width: 680px) {
  .hero-content--center {
    padding: 22px 0;
    gap: 12px;
  }

  .hero-logo {
    width: min(260px, 78vw);
    margin-bottom: 0;
  }

  .hero-content--center p {
    max-width: 40ch;
  }
}

@media (max-width: 560px) {
  .hero-logo {
    width: min(220px, 82vw);
  }

  .hero-actions {
    gap: 10px;
  }
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  height: clamp(620px, 80vh, 920px);
  /* taller hero so less cropping */
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  display: grid;
  gap: 12px;
  align-content: end;
  height: 100%;
  min-height: unset;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 37%;
  /* move focus up (adjust 15–35% if needed) */
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15, 23, 42, .62), rgba(15, 23, 42, .26));
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-weight: 950;
  letter-spacing: -.6px;
  line-height: 1.02;
  font-size: clamp(28px, 3.8vw, 46px);
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* =========================================================
   Sections
========================================================= */
.section {
  padding: 22px 0;
}

.section-head {
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-head h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -.4px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

/* =========================================================
   About
========================================================= */
.about-grid {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 28px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .10);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-copy {
  padding: 18px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(0, 0, 0, .06);
  font-weight: 950;
  margin: 0 0 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 6px rgba(255, 79, 216, .10);
}

.about-copy h2 {
  margin: 0 0 10px;
  font-weight: 980;
  letter-spacing: -.4px;
}

.about-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 600;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.about-media {
  padding: 18px;
  display: flex;
  align-items: center;
}

/* Mobile-first: keep it full width on small screens */
.about-media video {
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  /* centers it */
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  background: #0b1220;
}

/* Desktop: make the portrait video smaller */
@media (min-width: 992px) {
  .about-media video {
    width: 50%;
    /* adjust to 40% / 45% if you want it even smaller */
    max-width: 380px;
    /* optional safety cap */
  }
}

/* =========================================================
   Tools (filter + search)
========================================================= */
.tools {
  margin: 12px 0 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  min-width: min(420px, 100%);
}

.search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-weight: 800;
  color: #111827;
}

/* =========================================================
   Catalog blocks / grid cards
========================================================= */
.catalog-block {
  margin-top: 18px;
}

.catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.catalog-head h3 {
  margin: 0;
  font-weight: 980;
  letter-spacing: -.3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 4;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .12);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #eef2ff;
}

.card-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.toprow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.toprow h4 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -.3px;
  font-size: 16px;
  line-height: 1.2;
}

.price {
  font-weight: 950;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #0f172a;
  background: linear-gradient(90deg, rgba(255, 79, 216, .14), rgba(25, 211, 255, .14));
  border: 1px solid rgba(0, 0, 0, .06);
  white-space: nowrap;
  flex: 0 0 auto;
}

.desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  min-height: 2.7em;
  font-weight: 650;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

.btn-small {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .90);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  transition: transform .15s ease;
}

.btn-small:hover {
  transform: translateY(-2px);
}

/* Notice */
.notice {
  margin-top: 18px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

.notice p {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 800;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Modal (shell — wired in script.js)
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 25, .52);
  backdrop-filter: blur(7px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 2000;
}

.modal-overlay[aria-hidden="false"] {
  display: flex;
}

.modal {
  width: min(1000px, 100%);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .30);
  overflow: hidden;
  transform: translateY(6px) scale(.985);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.modal-overlay[aria-hidden="false"] .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 0;
  gap: 10px;
}

.modal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 950;
  color: var(--ink);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .90);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  padding: 14px;
}

/* Gallery */
.gallery {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #eef2ff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
  display: grid;
  grid-template-rows: auto auto;
}

.gallery-main {
  position: relative;
  background: #e5e7eb;
}

.gallery-main img {
  width: 100%;
  height: min(420px, 52vh);
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  pointer-events: none;
}

.nav-btn {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .88);
  cursor: pointer;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.thumbs {
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow: auto;
  background: rgba(255, 255, 255, .75);
}

.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.thumbs button[aria-current="true"] {
  border-color: rgba(255, 79, 216, .9);
  box-shadow: 0 0 0 6px rgba(255, 79, 216, .12);
}

.thumbs img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Details */
.details {
  padding: 4px 0 0 14px;
  display: grid;
  gap: 10px;
}

.details-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.details-top h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 980;
  letter-spacing: -.5px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.meta .tag {
  font-size: 12px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(0, 0, 0, .06);
  color: #2b2b35;
  font-weight: 800;
}

.longdesc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: #3a3a46;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* pushes 🎉 to the right */
  gap: 12px;
  flex-wrap: wrap;
}

.cta-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Make the confetti icon button a touch “icon-only” */
.confetti-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
}

/* =========================================================
   Contact card (stacked rows, no bullets) — FULL
========================================================= */

.contact-panel {
  align-items: stretch;
}

.contact-card {
  width: 100%;
  margin: 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

.contact-title {
  margin: 0 0 12px;
  font-weight: 980;
  letter-spacing: -.3px;
}

.contact-rows {
  display: grid;
  gap: 12px;
}

/* Base row */
.contact-row {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(0, 0, 0, .06);
  display: grid;
  gap: 8px;
}

/* Make the whole row clickable */
.contact-row-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.contact-row-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(255, 79, 216, .18), rgba(25, 211, 255, .18));
  border: 1px solid rgba(0, 0, 0, .05);
}

.contact-label {
  font-size: 13px;
  font-weight: 950;
  color: #0f172a;
  letter-spacing: -.2px;
}

.contact-value {
  display: inline-block;
  font-weight: 850;
  text-decoration: none;
  color: var(--muted);
  word-break: break-word;
  padding-left: 52px;
  /* lines up under label (42 icon + 10 gap) */
}

/* Hover/active feedback (whole card) */
.contact-row-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  filter: saturate(1.03);
}

.contact-row-link:active {
  transform: translateY(0);
}

/* Optional: still underline value on hover */
.contact-row-link:hover .contact-value {
  text-decoration: underline;
}

/* Focus ring for keyboard users */
.contact-row-link:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 18px;
}

/* Tip box */
.contact-tip {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 79, 216, .10);
  border: 1px solid rgba(255, 79, 216, .18);
  color: #2b2b35;
  font-weight: 700;
  line-height: 1.4;
}

/* Slightly tighter on small screens */
@media (max-width: 560px) {
  .contact-card {
    padding: 16px;
  }

  .contact-row {
    padding: 12px;
  }

  .contact-value {
    padding-left: 52px;
  }
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
  margin-top: 16px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0 18px;
}

.footer-left h3 {
  margin: 0 0 6px;
  font-weight: 950;
}

.footer-left p {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.4;
}

.footer-left .small {
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-link {
  text-decoration: none;
  font-weight: 950;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.footer-link:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 10px 0 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

/* =========================================================
   Confetti layer (optional)
========================================================= */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3000;
  overflow: hidden;
}

.confetti i {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 16px;
  opacity: .95;
  border-radius: 3px;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(540deg);
    opacity: 0.98;
  }
}

/* =========================================================
   CTA row (modal buttons) — BASE
   (Paste this where your modal CTA styles live)
========================================================= */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* keeps 🎉 pinned right on desktop */
  gap: 12px;
  flex-wrap: wrap;
}

.cta-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.confetti-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   Responsive — FULL REPLACEMENT (more vertical breathing room)
========================================================= */

/* <= 980px (tablet / small laptop) */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .card {
    grid-column: span 6;
  }

  .search {
    min-width: 100%;
  }

  .modal {
    width: min(900px, 100%);
  }

  .modal-overlay {
    padding: 14px;
  }

  .modal-body {
    grid-template-columns: 1fr;
    /* stack */
    padding: 14px;
    /* was 12px */
    gap: 14px;
    /* was 10px */
  }

  .gallery-main img {
    height: min(360px, 46vh);
  }

  .details {
    padding: 12px 2px 0;
    gap: 12px;
    /* more air */
  }
}

/* <= 680px (mobile) */
@media (max-width: 680px) {

  /* Nav */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0 14px;
    gap: 6px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  /* Modal: prevent cutoff + allow scrolling */
  .modal-overlay {
    padding: 18px;
  }

  .modal {
    border-radius: 20px;
    max-height: calc(100dvh - 36px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .modal-header {
    padding: 14px 14px 8px;
    /* add bottom padding (was 12px 12px 0) */
  }

  .modal-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    /* more padding */
    gap: 14px;
    /* more vertical spacing */
    padding-bottom: 18px;
    /* extra room under CTA */
  }

  .gallery-main img {
    height: min(300px, 40vh);
  }

  .thumbs {
    padding: 10px;
    gap: 10px;
  }

  .thumbs img {
    width: 78px;
    height: 54px;
  }

  .details {
    padding: 10px 0 0;
    /* was 8px 0 0 */
    gap: 12px;
    /* more air between text blocks */
  }

  .details-top h3 {
    font-size: 18px;
  }

  /* CTA: keep 2 buttons side-by-side + 🎉 on right (with more space) */
  .cta-row {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    /* was 10px */
  }

  .cta-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    /* was 10px */
  }

  .cta-left .btn {
    justify-content: center;
    white-space: nowrap;
    padding: 13px 14px;
    /* slightly taller buttons */
  }

  .confetti-btn {
    width: 46px;
    /* a touch bigger tap target */
    height: 46px;
    font-size: 18px;
  }
}

/* <= 560px (small phones) */
@media (max-width: 560px) {
  .card {
    grid-column: span 12;
  }

  .hero-content {
    min-height: 420px;
  }

  .modal-overlay {
    padding: 18px;
  }

  /* slightly less than 20 so there’s room */

  .modal-body {
    padding: 12px;
    gap: 12px;
    padding-bottom: 18px;
  }

  .gallery-main img {
    height: min(260px, 36vh);
  }

  .thumbs img {
    width: 72px;
    height: 50px;
  }
}

/* <= 380px (tiny phones) */
@media (max-width: 380px) {
  .cta-left {
    grid-template-columns: 1fr;
  }

  /* stack only on very tiny screens */
}

/* --- Fix horizontal scrolling + cutoffs (mobile) --- */
@media (max-width: 680px) {

  /* Make sure the modal scrolls vertically, not sideways */
  .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    /* key */
  }

  /* Grid children MUST be allowed to shrink */
  .gallery,
  .details {
    min-width: 0;
    /* key for grid/flex overflow issues */
  }

  /* Price row: allow wrapping instead of pushing price off-screen */
  .details-top {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Price pill: allow it to stay inside the modal */
  .details-top .price {
    max-width: 100%;
  }

  /* CTA grids: use minmax(0,1fr) so they don't force overflow */
  .cta-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cta-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Thumbs should be the only horizontal scroller */
  .thumbs {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* On very narrow screens, don't force 2 buttons side-by-side */
@media (max-width: 420px) {
  .cta-left {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Catalog section panels (ALL categories styled the same)
========================================================= */

.catalog-block {
  margin-top: 26px;
  /* space between categories */
}

/* One consistent “panel” look for every category */
.catalog-block--panel {
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .10);
  position: relative;
  overflow: hidden;
}

/* Accent strip */
.catalog-block--panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 79, 216, .55), rgba(25, 211, 255, .55));
  opacity: .85;
}

/* Header styling */
.catalog-block--panel .catalog-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, .10);
}

/* Icon bubble (default) */
.catalog-block--panel .catalog-head::before {
  content: "✨";
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(255, 79, 216, .18), rgba(25, 211, 255, .18));
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.catalog-block--panel .grid {
  margin-top: 6px;
}

/* =========================================================
   Per-category identity (icons + accent strip)
========================================================= */

/* Jumping Castles */
.catalog-block--castles::before {
  background: linear-gradient(90deg, rgba(255, 79, 216, .70), rgba(255, 211, 77, .75));
}

.catalog-block--castles .catalog-head::before {
  content: "🏰";
  background: linear-gradient(135deg, rgba(255, 79, 216, .20), rgba(255, 211, 77, .18));
}

/* Water Slides */
.catalog-block--slides::before {
  background: linear-gradient(90deg, rgba(25, 211, 255, .75), rgba(255, 79, 216, .55));
}

.catalog-block--slides .catalog-head::before {
  content: "💦";
  background: linear-gradient(135deg, rgba(25, 211, 255, .20), rgba(255, 79, 216, .16));
}

/* Games */
.catalog-block--games::before {
  background: linear-gradient(90deg, rgba(255, 211, 77, .85), rgba(255, 79, 216, .55));
}

.catalog-block--games .catalog-head::before {
  content: "🎮";
  background: linear-gradient(135deg, rgba(255, 211, 77, .22), rgba(255, 79, 216, .18));
}

/* Equipment */
.catalog-block--equipment::before {
  background: linear-gradient(90deg, rgba(34, 197, 94, .55), rgba(25, 211, 255, .55));
}

.catalog-block--equipment .catalog-head::before {
  content: "🍿";
  background: linear-gradient(135deg, rgba(34, 197, 94, .18), rgba(25, 211, 255, .18));
}

/* Soft Play */
.catalog-block--softplay::before {
  background: linear-gradient(90deg, rgba(255, 79, 216, .55), rgba(255, 211, 77, .75));
}

.catalog-block--softplay .catalog-head::before {
  content: "🧸";
  background: linear-gradient(135deg, rgba(255, 79, 216, .18), rgba(255, 211, 77, .18));
}

/* Tents & Gazebos */
.catalog-block--tents::before {
  background: linear-gradient(90deg, rgba(25, 211, 255, .60), rgba(255, 211, 77, .70));
}

.catalog-block--tents .catalog-head::before {
  content: "⛺";
  background: linear-gradient(135deg, rgba(25, 211, 255, .18), rgba(255, 211, 77, .18));
}
