/*
 * Restaurant Premium — direzione visiva.
 *
 * Non è un design nuovo: estende styles.css (stesso design system, stessi
 * font Newsreader/Manrope, stesse classi strutturali di base) rendendo
 * dominante la palette scura/ink e il ritmo editoriale che sono già
 * descritti come "Premium" nella pagina pubblica /ristoranti/
 * (palette scura, tipografia editoriale, grande respiro, galleria
 * immersiva a schermo intero, un solo invito all'azione ben visibile).
 *
 * Caricato DOPO styles.css: aggiunge/sovrascrive solo le proprietà
 * necessarie per la resa Premium. Nessun colore o font è stato inventato:
 * i toni scuri (#24271f/#262c21/#32382c) e i font (Newsreader/Manrope)
 * erano già presenti nel foglio di stile Restaurant approvato.
 */

:root {
  --premium-ink-0: #14160f;
  --premium-ink-1: #1b1e15;
  --premium-ink-2: #24271f;
  --premium-ink-3: #32382c;
  --premium-paper: #f4f1e7;
  --premium-accent: #cbd483;
  --premium-muted: #9c9b91;
}

body.theme-premium {
  background: var(--premium-ink-0);
  color: var(--premium-paper);
}

/* Header: trasparente su ink, si scurisce leggermente allo scroll via CSS puro (sticky + backdrop). */
body.theme-premium .site-header {
  background: rgba(20, 22, 15, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(244, 241, 231, 0.12);
  position: sticky;
  top: 0;
  z-index: 40;
}
body.theme-premium .site-header .brand,
body.theme-premium .site-header nav a {
  color: var(--premium-paper);
}
body.theme-premium .header-cta,
body.theme-premium .menu-toggle {
  background: var(--premium-accent);
  color: var(--premium-ink-0);
  border-color: var(--premium-accent);
}

/* Hero: pieno schermo, scuro, tipografia editoriale generosa. */
body.theme-premium .hero {
  min-height: 92vh;
}
body.theme-premium .hero-shade {
  background: linear-gradient(180deg, rgba(20,22,15,.15) 0%, rgba(20,22,15,.55) 55%, rgba(20,22,15,.92) 100%);
}
body.theme-premium .hero-content {
  color: var(--premium-paper);
}
body.theme-premium .hero h1 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
body.theme-premium .hero .eyebrow {
  color: var(--premium-accent);
  letter-spacing: 0.18em;
}
body.theme-premium .hero-copy {
  color: var(--premium-muted);
  font-size: 1.15rem;
  max-width: 40ch;
}
body.theme-premium .button,
body.theme-premium .button-light {
  background: var(--premium-accent);
  color: var(--premium-ink-0);
  border: none;
}

/* Sezioni narrative su ink alternato, per il "grande respiro tra gli elementi". */
body.theme-premium section {
  background: var(--premium-ink-0);
  color: var(--premium-paper);
}
body.theme-premium section:nth-of-type(even) {
  background: var(--premium-ink-1);
}
body.theme-premium .eyebrow {
  color: var(--premium-accent);
}
body.theme-premium h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
body.theme-premium p,
body.theme-premium li {
  color: var(--premium-muted);
}
body.theme-premium a.text-link {
  color: var(--premium-accent);
}

/* Galleria immersiva: proporzioni variate, non una griglia di card uniformi.
   12 colonne, alcune figure occupano 2x lo spazio verticale (masonry-like via
   grid-row-span), niente crop uniforme forzato — object-fit: cover mantiene
   la resa fotografica pulita mantenendo però altezze diverse per riquadro. */
body.theme-premium .gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 12vw;
  gap: 0.4rem;
}
body.theme-premium .gallery-grid figure {
  margin: 0;
  overflow: hidden;
  grid-column: span 3;
  grid-row: span 2;
}
body.theme-premium .gallery-grid figure:nth-child(1) {
  grid-column: span 4;
  grid-row: span 3;
}
body.theme-premium .gallery-grid figure:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}
body.theme-premium .gallery-grid figure:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
}
body.theme-premium .gallery-grid figure:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2;
}
body.theme-premium .gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  body.theme-premium .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 40vw;
  }
  body.theme-premium .gallery-grid figure,
  body.theme-premium .gallery-grid figure:nth-child(1),
  body.theme-premium .gallery-grid figure:nth-child(2),
  body.theme-premium .gallery-grid figure:nth-child(3),
  body.theme-premium .gallery-grid figure:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
  body.theme-premium .gallery-grid figure:first-child {
    grid-row: span 2;
  }
}

/* Menu: leggibile ma ricco, separatori sottili color accento. */
body.theme-premium .menu-group h3 {
  color: var(--premium-accent);
  font-family: Newsreader, Georgia, serif;
  border-bottom: 1px solid rgba(203, 212, 131, 0.25);
  padding-bottom: 0.4rem;
}

/* Recensioni: citazioni editoriali generose. */
body.theme-premium blockquote {
  border-left: 2px solid var(--premium-accent);
  padding-left: 1.2rem;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--premium-paper);
}
body.theme-premium blockquote cite {
  color: var(--premium-muted);
  font-style: normal;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.85rem;
}

/* Sezione visita/CTA finale: un solo invito primario ben visibile. */
body.theme-premium .visit {
  background: var(--premium-ink-2);
}
body.theme-premium .visit .actions .button:first-child {
  background: var(--premium-accent);
  color: var(--premium-ink-0);
}
body.theme-premium .visit .actions .button:not(:first-child) {
  background: transparent;
  border: 1px solid rgba(244,241,231,.3);
  color: var(--premium-paper);
}

body.theme-premium footer {
  background: var(--premium-ink-0);
  color: var(--premium-muted);
  border-top: 1px solid rgba(244,241,231,.12);
}

/* Banner disclosure: resta leggibile sopra il tema scuro. */
body.theme-premium .demo-disclosure {
  background: var(--premium-accent);
  color: var(--premium-ink-0);
}
