/* ── Ristorante Paparò ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --nero:   #111111;
  --gold:   #c9a84c;
  --gold2:  #e8c97a;
  --bianco: #f5f0e8;
  --grigio: #888;
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans:  'Montserrat', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

/* ── LINKS ── */
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold2); }

/* ── TOPBAR ── */
.topbar {
  background: #0a0a0a;
  border-bottom: 1px solid #222;
  font-size: 13px;
  color: var(--grigio);
  text-align: center;
  padding: 8px 20px;
  letter-spacing: .05em;
}
.topbar a { color: var(--grigio); }
.topbar a:hover { color: var(--gold); }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17,17,17,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2a2a;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo img { height: 52px; width: auto; }

nav ul { list-style: none; display: flex; gap: 32px; }
nav a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bianco);
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--gold); }

.nav-prenota {
  background: var(--gold);
  color: var(--nero) !important;
  padding: 8px 18px;
  font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-prenota:hover { background: var(--gold2) !important; color: var(--nero) !important; }

/* Hamburger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--bianco); transition: .3s; }
.mobile-nav { display: none; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/foto2.jpg') center/cover no-repeat;
  filter: brightness(.35);
}
.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto 36px;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold); color: var(--nero); }
.btn-solid { background: var(--gold); color: var(--nero); }
.btn-solid:hover { background: var(--gold2); }

/* ── SEZIONE GENERICA ── */
.section { padding: 90px 24px; max-width: 1100px; margin: 0 auto; }
.section-full { padding: 90px 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--bianco);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 20px 0 40px;
}
.divider-center { margin: 20px auto 40px; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-text p { color: rgba(245,240,232,.75); margin-bottom: 20px; }

/* ── HIGHLIGHTS ── */
.highlights-bg { background: #0d0d0d; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.highlight-icon { font-size: 2rem; margin-bottom: 16px; }
.highlight h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); margin-bottom: 10px; }
.highlight p { color: rgba(245,240,232,.65); font-size: .93rem; }

/* ── MENU PREVIEW ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.menu-cat h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.menu-item { display: flex; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.menu-item-name { color: var(--bianco); font-size: .95rem; }
.menu-item-desc { color: var(--grigio); font-size: .82rem; margin-top: 2px; }
.menu-item-price { color: var(--gold); font-family: var(--font-serif); font-size: 1rem; white-space: nowrap; padding-top: 2px; }
.menu-item-left { flex: 1; }

/* ── GALLERIA ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: opacity .3s; }
.gallery-grid img:hover { opacity: .8; }
.gallery-grid .wide { grid-column: span 2; aspect-ratio: 2/1; }

/* ── ORARI ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.info-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 32px;
  text-align: center;
}
.info-card .icon { font-size: 1.8rem; margin-bottom: 16px; }
.info-card h3 { font-family: var(--font-serif); color: var(--gold); margin-bottom: 12px; font-size: 1.1rem; }
.info-card p { color: rgba(245,240,232,.65); font-size: .9rem; line-height: 1.8; }

/* ── FORM PRENOTA ── */
.form-prenota {
  background: #181818;
  border: 1px solid #2a2a2a;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grigio); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: var(--bianco);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: #111; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
footer {
  background: #0a0a0a;
  border-top: 1px solid #1e1e1e;
  padding: 60px 24px 30px;
  text-align: center;
}
.footer-logo { margin-bottom: 24px; }
.footer-logo img { height: 44px; opacity: .7; }
.footer-links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grigio); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .8rem; color: #444; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 160px 24px 80px;
  text-align: center;
  border-bottom: 1px solid #1e1e1e;
}
.page-header .section-sub { margin-bottom: 12px; }
.page-header .section-title { margin-bottom: 0; }

/* ── CONTATTI MAP ── */
.map-wrap { width: 100%; height: 380px; background: #1a1a1a; position: relative; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(1) invert(1) contrast(.8); }

/* ── SOCIAL ── */
.social-links { display: flex; justify-content: center; gap: 20px; margin: 24px 0; }
.social-links a {
  width: 40px; height: 40px;
  border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--grigio);
  transition: border-color .2s, color .2s;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .burger { display: flex; }
  .mobile-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--nero);
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-size: 1.4rem; letter-spacing: .15em; text-transform: uppercase; color: var(--bianco); }
  .mobile-nav .close-btn { position: absolute; top: 24px; right: 24px; font-size: 1.5rem; color: var(--grigio); cursor: pointer; background: none; border: none; }

  .about-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; gap: 24px; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: span 2; }
  .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-prenota { padding: 28px 20px; }
  .section { padding: 60px 20px; }
  .page-header { padding: 120px 20px 60px; }
}
