:root {
  --rosso: #9e1b1b;
  --rosso-scuro: #6e1010;
  --oro: #c9a227;
  --oro-chiaro: #e6c86a;
  --crema: #fbf6ec;
  --carta: #ffffff;
  --inchiostro: #241a12;
  --grigio: #6b5d4f;
  --ombra: 0 10px 30px rgba(36, 26, 18, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  color: var(--inchiostro);
  background: var(--crema);
  line-height: 1.6;
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 242, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 39, .35);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: .8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--rosso);
  display: flex;
  align-items: baseline;
  gap: .5rem;
  white-space: nowrap;
}

.logo .cn {
  font-size: 1.05rem;
  color: var(--oro);
  font-weight: 400;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}

nav a {
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--inchiostro);
  padding-bottom: .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}

nav a:hover, nav a.attivo {
  color: var(--rosso);
  border-bottom-color: var(--oro);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("images/ristorante-hero.jpg") center 70% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 8, .55) 0%, rgba(20, 10, 8, .25) 45%, rgba(20, 10, 8, .65) 100%);
}

.hero-inner {
  position: relative;
  padding: 2rem 1.2rem;
  max-width: 800px;
}

.hero .occhio {
  font-size: .85rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--oro-chiaro);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.hero h1 span { color: var(--oro-chiaro); }

.hero p.sottotitolo {
  margin: 1.1rem auto 2rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 560px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.pulsanti { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .88rem;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}

.btn-oro {
  background: var(--oro);
  color: #241a12;
  box-shadow: 0 6px 20px rgba(201, 162, 39, .45);
}

.btn-oro:hover { transform: translateY(-2px); background: var(--oro-chiaro); }

.btn-contorno {
  border: 2px solid #fff;
  color: #fff;
}

.btn-contorno:hover { background: #fff; color: var(--rosso); }

/* ---------- Sezioni ---------- */
.sezione {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.2rem;
}

.titolo-sezione {
  text-align: center;
  margin-bottom: .4rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--rosso);
}

.divisore {
  width: 70px;
  height: 3px;
  background: var(--oro);
  margin: 0 auto 1.4rem;
  border-radius: 2px;
}

.sottotitolo-sezione {
  text-align: center;
  color: var(--grigio);
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* Due colonne: testo + immagine */
.due-colonne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.due-colonne .immagine {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ombra);
}

.due-colonne .immagine img { width: 100%; height: 100%; object-fit: cover; }

.elenco-piatti { list-style: none; margin-top: 1.4rem; }

.elenco-piatti li {
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(201, 162, 39, .5);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.elenco-piatti .nome { font-weight: 700; }

.elenco-piatti .prezzo {
  color: var(--rosso);
  font-weight: 800;
  white-space: nowrap;
}

/* Banner specialità */
.banner {
  background: var(--rosso-scuro);
  color: var(--crema);
  text-align: center;
  padding: 3.2rem 1.2rem;
}

.banner h2 { color: var(--oro-chiaro); margin-bottom: .6rem; font-size: 1.7rem; }

.banner p { max-width: 620px; margin: 0 auto; opacity: .92; }

/* Card statistiche */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--carta);
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--ombra);
}

.card .icona { font-size: 2rem; margin-bottom: .6rem; }

.card h3 { color: var(--rosso); margin-bottom: .4rem; font-size: 1.15rem; }

.card p { color: var(--grigio); font-size: .95rem; }

/* ---------- Menu ---------- */
.pagina-testata {
  background: linear-gradient(135deg, var(--rosso-scuro), var(--rosso));
  color: var(--crema);
  text-align: center;
  padding: 3.6rem 1.2rem;
}

.pagina-testata h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; }

.pagina-testata p { color: var(--oro-chiaro); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; margin-top: .5rem; }

.menu-categorie { max-width: 860px; margin: 0 auto; padding: 3.5rem 1.2rem 1rem; }

.categoria { margin-bottom: 3.2rem; }

.categoria h2 {
  color: var(--rosso);
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.categoria h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--oro), transparent);
}

.categoria ul { list-style: none; }

.categoria li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .5rem 0;
}

.categoria .num {
  color: var(--oro);
  font-weight: 800;
  font-size: .85rem;
  min-width: 2rem;
}

.categoria .nome { font-weight: 600; }

.categoria .punti {
  flex: 1;
  border-bottom: 1px dotted #c9b795;
  transform: translateY(-4px);
}

.categoria .prezzo {
  color: var(--rosso);
  font-weight: 800;
  white-space: nowrap;
}

.nota-categoria {
  font-size: .88rem;
  color: var(--grigio);
  font-style: italic;
  margin-top: .4rem;
}

.menu-navigazione {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.menu-navigazione a {
  background: var(--carta);
  border: 1px solid rgba(201, 162, 39, .4);
  color: var(--rosso);
  font-weight: 700;
  font-size: .82rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.menu-navigazione a:hover { background: var(--rosso); color: #fff; }

/* Allergeni */
.allergeni {
  background: var(--carta);
  border-top: 1px solid rgba(201, 162, 39, .35);
  padding: 3rem 1.2rem 4rem;
}

.allergeni-inner {
  max-width: 860px;
  margin: 0 auto;
  columns: 2;
  column-gap: 2.5rem;
  font-size: .9rem;
  color: var(--grigio);
}

.allergeni-inner li { margin: 0 0 .45rem 1.1rem; }

.allergeni h2 {
  color: var(--rosso);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.allergeni .intro { text-align: center; margin-bottom: 1.6rem; color: var(--grigio); font-size: .95rem; }

/* ---------- Storia ---------- */
.storia {
  background: linear-gradient(180deg, var(--crema) 0%, #f4ecdc 100%);
}

.storia-contenuto {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: start;
}

.storia-testo p { margin-bottom: 1rem; color: #3d3026; }

.storia-testo .citazione {
  border-left: 3px solid var(--oro);
  padding-left: 1rem;
  font-style: italic;
  color: var(--rosso);
  font-weight: 600;
  margin: 1.4rem 0;
}

.timeline { list-style: none; position: relative; padding-left: 1.6rem; }

.timeline::before {
  content: "";
  position: absolute;
  left: .35rem;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--oro), var(--rosso));
}

.timeline li { position: relative; padding-bottom: 1.4rem; }

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rosso);
  border: 2px solid var(--oro);
}

.timeline .anno {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  color: var(--rosso);
  font-size: 1.25rem;
  display: block;
}

.timeline p { color: var(--grigio); font-size: .95rem; }

/* ---------- Contatti ---------- */
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 1.2rem 4.5rem;
}

.contatti-info .blocco { margin-bottom: 1.8rem; }

.contatti-info h2 {
  color: var(--rosso);
  font-size: 1.2rem;
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.contatti-info p, .contatti-info a.valore { color: var(--grigio); }

.contatti-info a.valore:hover { color: var(--rosso); }

.mappa {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ombra);
  min-height: 380px;
  background: #e9e2d2;
}

.mappa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.mappa-link {
  padding: .7rem 1rem;
  font-size: .88rem;
  color: var(--grigio);
  background: var(--carta);
  border-top: 1px solid rgba(201, 162, 39, .3);
}

.mappa-link a {
  color: var(--rosso);
  font-weight: 700;
}

.mappa-link a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer {
  background: #1d130d;
  color: #cbbfae;
  text-align: center;
  padding: 2.4rem 1.2rem;
  font-size: .9rem;
}

footer .logo-footer {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--oro-chiaro);
  font-size: 1.3rem;
  margin-bottom: .4rem;
}

footer a { color: var(--oro-chiaro); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .due-colonne { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; }
  .storia-contenuto { grid-template-columns: 1fr; }
  .allergeni-inner { columns: 1; }
  nav ul { gap: 1rem; }
  .nav { flex-direction: column; gap: .6rem; }
}
