/* ============================================================
   Nietta-Canale – Stile pubblico (mobile-first)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
  --gold:       #b8925a;
  --gold-dark:  #8a6a3f;
  --charcoal:   #1b1815;
  --beige:      #faf6ef;
  --cream:      #fffdf9;
  --gray-mid:   #5a5a5a;
  --border:     #e8dfd2;
  --white:      #ffffff;

  --font-title: 'Montserrat', Georgia, serif;
  --font-ui:    'Montserrat', system-ui, sans-serif;

  --shadow-sm:  0 2px 10px rgba(0,0,0,.06);
  --shadow-md:  0 8px 28px rgba(0,0,0,.10);
  --radius:     14px;
}

html { scroll-behavior: smooth; }
body[dir="rtl"] { direction: rtl; }

body {
  font-family: var(--font-ui);
  background: var(--beige);
  color: var(--charcoal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: #eedfbd;
  padding: 44px 24px 36px;
  text-align: center;
}
.logo-wrap { display: flex; justify-content: center; }
.logo-link { display: inline-flex; color: inherit; text-decoration: none; }
.logo-wrap img { max-height: 115px; max-width: 288px; object-fit: contain; } /* +20% rispetto a 96px/240px */
.logo-text {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--charcoal);
  letter-spacing: .04em;
}

/* ── Home: elenco lingue ──────────────────────────────────── */
.home-main { max-width: 480px; margin: 0 auto; padding: 40px 24px 56px; }
.home-lead {
  text-align: center;
  font-family: var(--font-title);
  font-style: normal;
  color: var(--gray-mid);
  margin-bottom: 28px;
  font-size: 1.5rem;
}
.lang-list { display: flex; flex-direction: column; gap: 12px; }
.lang-link {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lang-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.lang-link .arrow { color: var(--gold); font-size: 1.2rem; }

.bl-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  text-align: center;
}
.bl-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.bl-cta p { margin-bottom: 12px; color: var(--gray-mid); font-size: 1.25rem; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-mid); }
.empty-state .empty-icon { font-size: 2.4rem; margin-bottom: 12px; }

/* ── Menu alla carta / business lunch ─────────────────────── */
.menu-main { max-width: 680px; margin: 0 auto; padding: 32px 20px 64px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1rem; color: var(--gray-mid); text-decoration: none;
  margin-bottom: 18px;
}
.menu-title {
  font-family: var(--font-title);
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 6px;
}
.menu-subtitle { text-align: center; color: var(--gray-mid); margin-bottom: 32px; font-size: 1.25rem; font-weight: 600; }

/* Testo presente per lettori di schermo / SEO ma non mostrato a video
   (il titolo è ora sostituito a video dal menu di navigazione qui sotto). */
.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;
}

/* Navigazione rapida tra le portate, al posto del titolo della pagina */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 4px 2px 14px;
  margin-bottom: 24px;
}
.menu-nav a {
  flex: 0 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal);
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.menu-nav a:hover { border-color: var(--gold); background: var(--gold); color: var(--white); }

.portata-block { margin-bottom: 34px; scroll-margin-top: 16px; }
.portata-nome {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.piatto-row {
  padding: 10px 0;
  border-bottom: 1px dotted var(--border);
}
.piatto-row:last-child { border-bottom: none; }
.piatto-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.piatto-nome { font-size: 1.1rem; }
.piatto-nota { color: var(--gold-dark); font-weight: 700; }
.piatto-prezzo { font-weight: 600; white-space: nowrap; }
.piatto-descrizione {
  font-size: .95rem;
  font-style: italic;
  color: var(--gray-mid);
  margin-top: 3px;
}

.legenda-note { margin-top: 30px; padding-top: 18px; border-top: 1px dashed var(--border); font-size: .85rem; color: var(--gray-mid); }
.legenda-note p { margin-bottom: 4px; }

.coperto-line { text-align: center; margin-top: 30px; font-size: .9rem; color: var(--gray-mid); }

.allergeni-box {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: .8rem;
  color: var(--gray-mid);
}
.allergeni-intro { margin-bottom: 12px; line-height: 1.5; }
.allergeni-table { width: 100%; border-collapse: collapse; }
.allergeni-table td { padding: 2px 8px 2px 0; vertical-align: top; line-height: 1.4; }
.allergeni-table td:first-child { font-weight: 700; color: var(--gold-dark); white-space: nowrap; width: 1%; }

/* Business lunch: schede formula (come ottanto) */
.menu-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.card-nome { font-family: var(--font-title); font-size: 1.25rem; }
.card-descrizione { color: #0280ad; font-size: .9rem; margin-top: 4px; }
.card-prezzo { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.categoria-block { margin-bottom: 14px; }
.categoria-label { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-mid); margin-bottom: 6px; }
.scelta-label { font-size: .8rem; font-style: italic; color: var(--gray-mid); margin-bottom: 4px; }
.portate-list { list-style: none; }
.portate-list li { padding: 3px 0; }
.separator { border: none; border-top: 1px dashed var(--border); margin: 14px 0; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #eedfbd;
  color: #000;
  text-align: center;
  padding: 40px 24px;
}
.footer-copy { font-size: .85rem; opacity: .85; margin-bottom: 18px; color: #000; }
.footer-social { display: flex; justify-content: center; gap: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  text-decoration: none;
  transition: background .15s ease;
}
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; fill: #000; transition: fill .15s ease; }
.footer-social a:hover svg { fill: #fff; }

/* ── Home: CTA "Prenota il tuo tavolo" (apre una chat WhatsApp) ── */
.prenota-cta { margin-top: 28px; text-align: center; }
.btn-prenota-home {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-prenota-home:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

@media (min-width: 640px) {
  .home-main { padding-top: 56px; }
  .menu-title { font-size: 2.2rem; }
}
