/* ==========================================================================
   AL MI FURNER — forno notturno, Bologna
   Direction: warm dark "night bakery", amber-gold accent from copper lamps
   + gold display trim + ornate gold price tags. DM Serif Display / DM Sans.
   Mobile-first (390px).
   ========================================================================== */

:root {
  --bg: #17110c;            /* deep warm espresso — the night */
  --surface: #211913;       /* warmer brown for alternating band */
  --text: #f3e8d5;          /* warm cream */
  --muted: #b39c81;         /* warm taupe */
  --accent: #e0972f;        /* amber-gold: copper lamps, gold trays, price tags */
  --accent-soft: #f0b95a;
  --accent-ink: #1a1207;    /* dark ink on accent */
  --line: rgba(243, 232, 213, 0.14);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
  --measure: 64ch;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em;
     text-transform: uppercase; color: var(--accent-soft); margin-bottom: 0.75rem; }

/* -- top bar --------------------------------------------------------------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 1.25rem;
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.01em; }
.topbar-cta {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  color: var(--accent-ink); background: var(--accent);
  padding: 0.45rem 1.1rem; border-radius: 999px;
  transition: background 0.25s ease;
}
.topbar-cta:hover { background: var(--accent-soft); }

/* -- buttons --------------------------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 500;
  padding: 0.72rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(243, 232, 213, 0.45); }
.btn-ghost:hover { border-color: var(--text); background: rgba(243, 232, 213, 0.08); }

/* -- hero: full-bleed photo + scrim ---------------------------------------- */
.hero {
  min-height: 86dvh;
  display: flex; align-items: center;
  padding: 4rem 1.25rem 3rem;
  background:
    linear-gradient(105deg, rgba(15, 11, 7, 0.94) 0%, rgba(15, 11, 7, 0.72) 45%, rgba(15, 11, 7, 0.45) 100%),
    url("images/interno.jpg") center 40% / cover no-repeat;
}
.hero-inner { max-width: 40ch; margin-right: auto; }
.hero-kicker {
  color: var(--accent-soft); font-size: 0.82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(3rem, 13vw, 5.2rem); margin-bottom: 1rem; letter-spacing: 0.005em; }
.hero-sub { color: var(--text); opacity: 0.92; font-size: 1.15rem; margin-bottom: 2rem; max-width: 32ch; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* -- sections -------------------------------------------------------------- */
.section { padding: 4rem 1.25rem; max-width: var(--measure); margin: 0 auto; }
.section--wide { max-width: 1100px; }

/* -- il forno notturno (signature band) ------------------------------------ */
.notturno { background: var(--surface); padding: 4rem 1.25rem; border-block: 1px solid var(--line); }
.notturno-grid { max-width: 1100px; margin: 0 auto; display: grid; gap: 2.5rem; }
.notturno-text p { color: var(--muted); max-width: 52ch; }
.shifts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.75rem 0 0.75rem; }
.shift {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 0.9rem 1.1rem; background: rgba(224, 151, 47, 0.05);
}
.shift-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.shift-time { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-soft); margin-top: 0.2rem; }
.shift-note { font-size: 0.92rem; color: var(--muted); }
.notturno-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* -- menu ------------------------------------------------------------------ */
.menu-cols { display: grid; gap: 2rem; margin-top: 0.5rem; }
.menu-list { list-style: none; padding: 0; }
.menu-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.menu-list li:last-child { border-bottom: none; }
.menu-note { margin-top: 1.75rem; color: var(--muted); font-size: 0.92rem; }

/* -- gallery --------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 0.5rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* -- orari & contatti ------------------------------------------------------ */
.info-grid { display: grid; gap: 2.25rem; margin-top: 0.5rem; }
.hours { border-collapse: collapse; width: 100%; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours td:first-child { color: var(--text); font-weight: 500; padding-right: 1.5rem; }
.contact-lines { margin-bottom: 1.5rem; line-height: 1.9; }

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

/* -- desktop --------------------------------------------------------------- */
@media (min-width: 720px) {
  .hero { padding-inline: 2.5rem; }
  .hero-inner { margin-left: max(0px, calc((100vw - 1100px) / 2)); }
  .notturno-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .notturno-photo img { aspect-ratio: 3 / 4; height: 100%; }
  .menu-cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .gallery { grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

/* -- motion (MOTION 3: subtle, honors reduced-motion) ---------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-kicker { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.14s; }
  .hero-sub { animation-delay: 0.24s; }
  .hero-actions { animation-delay: 0.34s; }
  .gallery img { transition: transform 0.4s ease; }
  .gallery figure:hover img { transform: scale(1.03); }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
