/* ==========================================================================
   LA VERA PIZZA — Pianoro
   Direction: the brand from their own printed menu card, brought to the web.
   Petrol teal canvas, lemon-yellow dish names, tomato red as the single
   accent. Baloo 2 (round display, echoes the card) + Figtree (body).
   Radius system: pills for buttons, 14px for images/surfaces.
   Mobile-first at 390px.
   ========================================================================== */

:root {
  --bg: #0d5254;            /* petrol teal, from the menu card */
  --surface: #0a4345;       /* darker teal band */
  --text: #f7f3e8;          /* cream */
  --muted: #bcd6cf;         /* light teal-grey */
  --yellow: #f2ec86;        /* lemon yellow: headings + dish names, like the card */
  --accent: #c73b27;        /* tomato red: THE accent (CTA, promo) */
  --font-display: "Baloo 2", "Avenir Next Rounded", sans-serif;
  --font-body: "Figtree", -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --measure: 68ch;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); color: var(--yellow); margin-bottom: 0.75rem; }
h3 {
  font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}

/* -- top bar --------------------------------------------------------------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1.25rem;
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, black);
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--yellow); }
.topbar-cta {
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: #fff; background: var(--accent);
  padding: 0.4rem 1rem; border-radius: 999px;
  transition: transform 0.15s ease;
}
.topbar-cta:active { transform: translateY(1px); }

/* -- hero: split text / photo ------------------------------------------------ */
.hero {
  display: grid; gap: 2rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 1.25rem 3rem;
}
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
.hero-kicker {
  color: var(--muted); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 10vw, 4.5rem); font-weight: 800;
  color: var(--yellow); margin-bottom: 1rem;
}
.hero-sub { color: var(--text); max-width: 44ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  box-shadow: 0 16px 40px color-mix(in srgb, black 35%, transparent);
}

.btn {
  display: inline-block; text-decoration: none; color: var(--text);
  border: 1.5px solid var(--muted); border-radius: 999px;
  padding: 0.65rem 1.4rem; font-weight: 600;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, black); }

/* -- promo strip (real offer from their card) --------------------------------- */
.promo {
  background: var(--accent); color: #fff;
  padding: 0.9rem 1.25rem; text-align: center;
}
.promo p { max-width: var(--measure); margin: 0 auto; font-size: 1rem; }

/* -- sections --------------------------------------------------------------- */
.section { padding: 3rem 1.25rem; max-width: var(--measure); margin: 0 auto; }
.section > p { max-width: 58ch; }

/* -- menu: 2-column grid, yellow dish names (echoes the printed card) --------- */
#menu { max-width: 900px; }
.menu-group { margin-top: 2rem; }
.menu-grid { display: grid; gap: 0.9rem 2.5rem; }
@media (min-width: 680px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.menu-line { display: flex; align-items: baseline; gap: 0.6rem; }
.dish { font-weight: 600; color: var(--yellow); }
.menu-line::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--muted) 45%, transparent); }
.dish { order: 1; }
.price { order: 3; font-variant-numeric: tabular-nums; color: var(--text); }
.ing { font-size: 0.88rem; color: var(--muted); line-height: 1.4; }
.menu-extra { margin-top: 2rem; color: var(--text); font-size: 0.95rem; max-width: 58ch; }
.menu-note { margin-top: 0.75rem; color: var(--muted); font-size: 0.9rem; }

/* -- gallery: asymmetric 2-up -------------------------------------------------- */
.gallery { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
@media (min-width: 680px) { .gallery { grid-template-columns: 1.6fr 1fr; } }
.gallery img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; }
.g-big { aspect-ratio: 4 / 3; }
.g-small { aspect-ratio: 3 / 4; }
@media (max-width: 679px) { .g-small { aspect-ratio: 4 / 3; } }

/* -- hours & contact: darker band ---------------------------------------------- */
#dove {
  max-width: none; background: var(--surface);
  padding-top: 3.5rem; padding-bottom: 3.5rem;
}
#dove > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.info-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.hours { border-collapse: collapse; }
.hours td { padding: 0.35rem 1.25rem 0.35rem 0; color: var(--muted); }
.hours td:first-child { color: var(--text); font-weight: 600; }
.hours-note { margin-top: 1rem; color: var(--yellow); font-weight: 600; font-size: 0.95rem; }
.contact-lines { margin-bottom: 1.25rem; line-height: 1.9; }
.contact-lines a { color: var(--text); }

/* -- footer ----------------------------------------------------------------------- */
.footer {
  padding: 2.5rem 1.25rem 3rem; text-align: center;
  color: var(--muted); font-size: 0.9rem;
}
.demo-note { margin-top: 0.5rem; opacity: 0.7; }

/* -- reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .topbar-cta { transition: none; }
}
