/* ============================================================
   Bebot Filipino Flavor — palette derived from the brand logo
   and menu board: neon pink, sunset orange, violet, deep plum.
   Mobile-first.
   ============================================================ */

@font-face {
  font-family: 'Fredoka';
  src: url('fonts/fredoka-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('fonts/fredoka-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('fonts/fredoka-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #14101c;
  --bg-2: #1d1530;
  --card: #241a38;
  --card-edge: rgba(255, 61, 166, 0.18);
  --pink: #ff3da6;
  --pink-deep: #ec2c8f;
  --orange: #ff8a5c;
  --violet: #b388ff;
  --lavender: #e8ddf5;
  --text: #f5f0fa;
  --muted: #b9aecf;
  --mint: #3ddc97;
  --radius: 18px;
  --display: 'Fredoka', 'Avenir Next', 'Trebuchet MS', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* scroll-padding clears the sticky header — which is two rows tall on phones
   (brand + nav strip) and one row from 760px up. See .site-header. */
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
@media (min-width: 760px) { html { scroll-padding-top: 84px; } }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(179, 136, 255, 0.14), transparent 60%),
    radial-gradient(800px 480px at 10% 12%, rgba(236, 44, 143, 0.13), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--violet); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.muted { color: var(--muted); }
.plain-link { color: inherit; text-decoration: none; }
.plain-link:hover { color: var(--pink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; row-gap: 2px;
  padding: 8px 16px;
  background: rgba(20, 16, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-edge);
}
.header-brand img { width: 84px; height: auto; }
/* Phones: the nav drops to its own row under the brand and scrolls
   sideways, rather than disappearing entirely. */
.header-nav {
  display: flex; gap: 22px;
  order: 3; flex-basis: 100%;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* bleed past the header padding so the last link can scroll clear of the edge */
  margin-inline: -16px; padding: 0 16px 6px;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  color: var(--lavender); text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 1.02rem;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--pink); }
.header-order { margin-left: auto; }

@media (min-width: 760px) {
  .site-header { padding: 8px 28px; flex-wrap: nowrap; }
  .header-nav {
    order: 0; flex-basis: auto;
    margin-inline: auto; padding: 0;
    overflow-x: visible;
  }
  .header-order { margin-left: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: 1.05rem; text-decoration: none; text-align: center;
  color: #fff; background: var(--card);
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 14px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-pink {
  background: linear-gradient(120deg, var(--pink-deep), var(--orange));
  box-shadow: 0 4px 22px rgba(236, 44, 143, 0.45);
  color: #1a0a14;
}
.btn-violet {
  background: linear-gradient(120deg, #7c4dff, var(--violet));
  box-shadow: 0 4px 22px rgba(124, 77, 255, 0.4);
  color: #120a24;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--violet);
  color: var(--lavender);
}
.btn-small { padding: 9px 18px; font-size: 0.95rem; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 40px 20px 56px;
  background:
    radial-gradient(620px 420px at 50% 30%, rgba(236, 44, 143, 0.16), transparent 65%),
    radial-gradient(900px 460px at 50% 108%, rgba(255, 138, 92, 0.18), transparent 60%);
}
.hero-logo {
  width: min(82vw, 480px);
  margin: 0 auto;
  filter: drop-shadow(0 10px 40px rgba(236, 44, 143, 0.35));
}
.tagline {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  color: var(--lavender);
  margin: 18px 0 6px;
}
.tagline .amp { color: var(--orange); }

.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 10px auto 4px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  font-family: var(--display); font-weight: 600; font-size: 1rem;
}
.status-pill .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--muted);
}
.status-pill.open { border-color: rgba(61, 220, 151, 0.5); }
.status-pill.open .dot { background: var(--mint); animation: pulse 2s infinite; }
.status-pill.open #status-text { color: var(--mint); }
.status-pill.closed .dot { background: var(--orange); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); }
}

.pill-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 8px auto 0;
  max-width: 42ch;
}
.pill-note a { color: var(--orange); }

.hero-info { color: var(--muted); margin: 14px 0 26px; font-size: 1rem; }
.hero-info .sep { margin: 0 6px; color: var(--pink); }

.cta-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
}
.rating-badge {
  margin-top: 18px;
  font-family: var(--display); font-weight: 500;
  color: var(--orange); font-size: 1.02rem;
}

/* ---------- sections ---------- */
.section { padding: 56px 20px; max-width: 1100px; margin: 0 auto; }

h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  margin: 0 0 8px;
  color: var(--pink);
  text-shadow: 0 0 30px rgba(236, 44, 143, 0.35);
}
.section-sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
.section-sub a { color: var(--orange); }

.card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 22px;
}

/* ---------- find the truck ---------- */
.find-grid { display: grid; gap: 24px; }
@media (min-width: 860px) {
  .find-grid {
    grid-template-columns: minmax(250px, 0.72fr) minmax(480px, 1.45fr);
    align-items: stretch;
  }
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 92, 0.42);
  min-height: 260px;
  padding: 8px;
  background:
    linear-gradient(145deg, rgba(255, 138, 92, 0.24), rgba(236, 44, 143, 0.18)),
    #2b1832;
  box-shadow: inset 0 0 24px rgba(255, 138, 92, 0.08);
}
.map-wrap iframe {
  width: 100%; height: 100%; min-height: 244px;
  border: 0; border-radius: 12px; display: block;
}

.schedule-card {
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(179, 136, 255, 0.1), rgba(255, 61, 166, 0.08)),
    var(--card);
}

.schedule-card h3 {
  font-family: var(--display); font-weight: 600;
  margin: 0 0 16px; color: var(--lavender); font-size: 1.55rem;
}
.announcement {
  background: linear-gradient(120deg, rgba(236, 44, 143, 0.18), rgba(255, 138, 92, 0.18));
  border: 1px solid rgba(255, 138, 92, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  margin: 0 0 14px;
}
.schedule-list, .specials-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-size: 1.04rem;
}
.schedule-list li > span:last-child { text-align: right; font-weight: 600; }
.schedule-list li.today {
  background: rgba(236, 44, 143, 0.14);
  color: var(--text); font-weight: 600;
}
.schedule-list li.today .day::after {
  content: ' · today';
  color: var(--orange); font-weight: 500; font-size: 0.9em;
}
.schedule-list li.open-day { color: var(--text); }
.specials-list { margin-top: 14px; border-top: 1px dashed var(--card-edge); padding-top: 12px; }
.specials-list li { padding: 5px 10px; color: var(--orange); font-size: 0.97rem; }
.schedule-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (max-width: 559px) {
  .schedule-card { padding: 22px 18px; }
  .schedule-list li { font-size: 0.98rem; }
}

/* ---------- menu ---------- */
.menu-group {
  font-family: var(--display); font-weight: 600;
  color: var(--orange);
  font-size: 1.3rem;
  margin: 34px 0 14px;
}
.menu-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(236, 44, 143, 0.22);
}

/* Placeholder art tiles — swap for real food photos by replacing
   the .card-art div with: <img class="card-art" src="..." alt="...">  */
.card-art {
  aspect-ratio: 5 / 3;
  display: grid; place-items: center;
  font-size: 3.2rem;
}
.card-art::after { content: attr(data-emoji); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
img.card-art { object-fit: cover; width: 100%; }
.grad-a { background: linear-gradient(135deg, #3c1d52, #ec2c8f55), var(--bg-2); }
.grad-b { background: linear-gradient(135deg, #2a1a4d, #ff8a5c44), var(--bg-2); }
.grad-c { background: linear-gradient(135deg, #471c44, #b388ff44), var(--bg-2); }
.grad-d { background: linear-gradient(135deg, #1d2547, #ff3da644), var(--bg-2); }
.grad-e { background: linear-gradient(135deg, #44203a, #ffc24b44), var(--bg-2); }
.grad-f { background: linear-gradient(135deg, #2d1640, #ff5d7344), var(--bg-2); }

.badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(120deg, var(--pink-deep), var(--orange));
  color: #1a0a14;
  font-family: var(--display); font-weight: 600; font-size: 0.8rem;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.card-body { padding: 16px 18px 18px; }
.card-body h4 {
  margin: 0 0 6px;
  font-family: var(--display); font-weight: 600;
  font-size: 1.18rem; color: var(--text);
}
.card-body p { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.price {
  color: var(--orange) !important;
  font-family: var(--display); font-weight: 600; font-size: 1rem !important;
}

/* ---------- about ---------- */
.about-body { max-width: 64ch; }
.about-body p { color: var(--lavender); font-size: 1.05rem; }
.about-body strong { color: var(--pink); }

/* ---------- catering ---------- */
.catering-card { max-width: 640px; }
form label {
  display: block;
  font-family: var(--display); font-weight: 500;
  color: var(--lavender); font-size: 0.97rem;
  margin-bottom: 14px;
}
form input, form textarea {
  display: block; width: 100%;
  margin-top: 6px;
  background: var(--bg-2);
  border: 1px solid var(--card-edge);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem; font-family: var(--body);
  padding: 11px 13px;
}
.form-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
#form-status { margin: 12px 0 0; font-weight: 600; }
#form-status.ok { color: var(--mint); }
#form-status.err { color: var(--orange); }
.catering-fallback { display: flex; flex-wrap: wrap; gap: 12px; }
form + .catering-fallback { margin-top: 18px; }

/* ---------- follow + footer ---------- */
.follow-section { text-align: center; }
.follow-section .cta-row { justify-content: center; }

.site-footer {
  margin-top: 30px;
  padding: 44px 20px 36px;
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--card-edge);
}
.site-footer img { margin: 0 auto 10px; width: 130px; }
.site-footer p { margin: 8px 0; color: var(--muted); }
.footer-links a { color: var(--lavender); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .menu-card { transition: none; }
  .btn:hover, .menu-card:hover { transform: none; }
  .status-pill.open .dot { animation: none; }
}
