/* La Nonna — classic Italian trattoria demo (NEXT) */

:root {
  --cream: #f6efe3;
  --paper: #fbf7ee;
  --wine: #4a1d24;
  --wine-deep: #351218;
  --gold: #b98a37;
  --gold-light: #d9b56b;
  --ink: #241a15;
  --muted: #7b6a5e;
  --line: rgba(74, 29, 36, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Frank Ruhl Libre", "Heebo", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Top bar */
.topbar {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 1.5rem;
  background: var(--wine-deep); color: var(--cream);
  font-family: "Heebo", sans-serif; font-size: 0.8rem; letter-spacing: 0.04em;
}
.topbar a { color: var(--gold-light); text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(36, 26, 21, 0.4); }

.nav {
  max-width: 72rem; margin: 0 auto; padding: 0.8rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--wine); line-height: 1.1; }
.brand-he { font-weight: 900; font-size: 1.45rem; letter-spacing: 0.02em; }
.brand-it { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 0.9rem; color: var(--gold); letter-spacing: 0.14em; }

.nav-links { display: flex; gap: 1.6rem; list-style: none; margin-inline-start: auto; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-family: "Heebo", sans-serif; font-size: 0.95rem;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--wine); border-color: var(--gold); }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: "Heebo", sans-serif; font-size: 0.95rem; font-weight: 500;
  padding: 0.7rem 1.7rem; border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: var(--wine-deep); }
.btn-ghost { border-color: rgba(251, 247, 238, 0.6); color: var(--cream); }
.btn-ghost:hover { background: rgba(251, 247, 238, 0.12); }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine:hover { background: var(--wine-deep); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--wine); margin: 5px 0; transition: 0.3s; }

.mobile-menu { display: none; flex-direction: column; padding: 0.5rem 1.5rem 1.2rem; border-top: 1px solid var(--line); }
.mobile-menu a {
  padding: 0.7rem 0; text-decoration: none; color: var(--ink);
  font-family: "Heebo", sans-serif; border-bottom: 1px solid var(--line);
}
.mobile-menu:not([hidden]) { display: flex; }

/* Hero */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--cream); }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(38, 15, 19, 0.55), rgba(38, 15, 19, 0.75));
}
.hero-frame {
  position: absolute; inset: 18px; border: 1px solid rgba(217, 181, 107, 0.4);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 6rem 1.5rem; max-width: 46rem; }
.eyebrow {
  font-family: "Heebo", sans-serif; font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(3.2rem, 9vw, 6rem); font-weight: 900; letter-spacing: 0.03em; line-height: 1.05; }
.hero-sub { margin-top: 1.2rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(246, 239, 227, 0.9); }
.hero-cta { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head .eyebrow { color: var(--gold); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 700; color: var(--wine); line-height: 1.25; }
.muted { color: var(--muted); font-family: "Heebo", sans-serif; font-size: 0.9rem; margin-top: 0.6rem; }

.two-col { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Story */
.story-text .eyebrow { color: var(--gold); }
.story-text h2 { margin-bottom: 1.4rem; }
.story-text p { margin-bottom: 1rem; }
.drop-cap::first-letter {
  font-size: 3.1em; float: right; line-height: 0.85;
  padding-left: 0.12em; color: var(--wine); font-weight: 700;
}
.signature {
  display: inline-block; margin-top: 0.8rem;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.6rem; color: var(--gold);
}
.story-photo { position: relative; }
.story-photo img { border: 1px solid var(--line); padding: 10px; background: var(--paper); box-shadow: 18px 18px 0 -6px rgba(74, 29, 36, 0.08); }
.story-photo figcaption { margin-top: 0.7rem; text-align: center; font-family: "Heebo", sans-serif; font-size: 0.82rem; color: var(--muted); }

/* Menu */
.menu { background: var(--paper); border-block: 1px solid var(--line); }
.menu-grid { display: grid; gap: 2.6rem; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.menu-col h3 {
  text-align: center; color: var(--wine); font-size: 1.25rem; letter-spacing: 0.12em;
  padding-bottom: 0.8rem; margin-bottom: 1.2rem;
  border-bottom: 2px double var(--gold);
}
.menu-col ul { list-style: none; }
.menu-col li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.55rem 0; }
.dish { font-size: 1rem; }
.dots { flex: 1; border-bottom: 1px dotted rgba(123, 106, 94, 0.5); transform: translateY(-4px); }
.price { font-family: "Heebo", sans-serif; font-size: 0.92rem; color: var(--wine); white-space: nowrap; }

/* Wine band */
.wine-band { position: relative; padding: clamp(5rem, 12vw, 9rem) 1.5rem; text-align: center; color: var(--cream); }
.wine-bg { position: absolute; inset: 0; background: url("images/wine.jpg") center / cover no-repeat fixed; }
.wine-bg::after { content: ""; position: absolute; inset: 0; background: rgba(38, 15, 19, 0.72); }
.wine-content { position: relative; z-index: 1; max-width: 42rem; margin: 0 auto; }
.wine-content blockquote {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 500; line-height: 1.4;
  quotes: none; margin-bottom: 1rem; color: #fff;
}
.wine-content p { color: rgba(246, 239, 227, 0.85); }

/* Gallery */
.gallery-grid { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid figure { overflow: hidden; border: 1px solid var(--line); background: var(--paper); padding: 8px; }
.gallery-grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-grid figure:hover img { transform: scale(1.045); }

/* Visit */
.visit { background: var(--paper); border-top: 1px solid var(--line); }
.info-list { margin: 1.6rem 0 2rem; }
.info-list div { display: flex; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px dotted rgba(123, 106, 94, 0.35); }
.info-list dt { font-family: "Heebo", sans-serif; font-weight: 500; color: var(--wine); min-width: 5.5rem; }
.info-list a { color: var(--ink); text-decoration: none; }
.map-placeholder {
  aspect-ratio: 4 / 3; border: 1px dashed var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: "Heebo", sans-serif;
  background: repeating-linear-gradient(45deg, rgba(185, 138, 55, 0.05), rgba(185, 138, 55, 0.05) 12px, transparent 12px, transparent 24px);
}

/* Footer */
.site-footer { background: var(--wine-deep); color: var(--cream); padding: 2.6rem 0; text-align: center; }
.footer-inner .brand-he { font-size: 1.6rem; font-weight: 900; color: var(--gold-light); }
.demo-note {
  margin: 1rem auto 0; max-width: 34rem;
  font-family: "Heebo", sans-serif; font-size: 0.82rem; line-height: 1.7;
  color: rgba(246, 239, 227, 0.72);
}

/* NEXT badge */
.next-badge {
  position: fixed; bottom: 14px; left: 14px; z-index: 90;
  background: #111; color: #fff; text-decoration: none;
  font-family: "Heebo", sans-serif; font-size: 0.78rem;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.5);
  opacity: 0.92; transition: opacity 0.2s, transform 0.2s;
}
.next-badge:hover { opacity: 1; transform: translateY(-2px); }
.next-badge strong { letter-spacing: 0.06em; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav { gap: 1rem; }
  .nav-links, .nav .btn-gold { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
}
