/* ============================================================
   VINI.CSS — Stili Pagina 3 (Carta dei Vini)
   Semplice: Hero + Lista unica + Footer
   ============================================================ */

/* ── HEADER: Logo centrato, [CHIAMA][≡] a destra ── */

.header-inner--centered {
  position: relative;
  justify-content: space-between;
}

.vini-header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  pointer-events: auto;
  z-index: 1;
}

.vini-header-spacer {
  flex-shrink: 0;
  min-width: 130px; /* fallback — sovrascritto via JS */
}

.vini-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* CHIAMA: bianco su hero scuro, scuro una volta scrollato */
.site-header:not(.scrolled) .vini-header-right .btn-chiama {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.site-header:not(.scrolled) .vini-header-right .btn-chiama:hover {
  background: rgba(255, 255, 255, 0.15);
}

.site-header.menu-open .header-logo-text,
.site-header.menu-open .header-logo-sub {
  color: var(--text-primary) !important;
}

/* ── HERO ── */

.vini-hero {
  background: var(--bg-dark);
  padding-top: var(--header-height);
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vini-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(108,172,228,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 40%, rgba(140,80,40,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.vini-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.25) 0%, rgba(26,26,26,0.55) 100%);
  pointer-events: none;
}

.vini-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 56px 24px 48px;
  max-width: 680px;
  width: 100%;
}

.vini-hero-content .section-label {
  color: var(--accent-light);
  margin-bottom: 14px;
}

.vini-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vini-hero-title em {
  color: var(--accent-light);
  font-style: italic;
  font-weight: 700;
}

.vini-hero-sub {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}

/* Segnaposto immagine — intenzionalmente vuoto */
.vini-hero-media-placeholder {
  width: 100%;
  max-width: 540px;
  height: 150px;
  margin: 20px auto 0;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(108,172,228,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vini-placeholder-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ── LISTA VINI ── */

.vini-main {
  background: var(--bg-warm);
  padding: 64px 0 80px;
}

.vini-container {
  width: 90%;
  max-width: 680px; /* più stretto: ottimale per leggibilità lista vini */
  margin: 0 auto;
}

/* Titolo sezione — grande, Playfair, tutto maiuscolo */
.vini-categoria-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

/* Lista — colonna di card */
.vini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

/* Singola voce vino — card bianca */
.vini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.vini-row-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

/* Nome cantina — bold, Playfair */
.vini-row-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Anno e tipologia */
.vini-row-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Prezzo — grande, bold, allineato a destra */
.vini-row-price {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── NOTA SERVIZIO ── */

.vini-nota {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.75;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* ── CTA Torna al Menù ── */

.vini-back-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .vini-header-right .btn-chiama { display: none; }
  .vini-header-spacer { min-width: 44px; }

  .vini-hero-media-placeholder { height: 90px; }

  .vini-row {
    padding: 14px 16px;
    gap: 12px;
  }

  .vini-row-name { font-size: 0.95rem; }
  .vini-row-price { font-size: 0.95rem; }

  .vini-main { padding: 40px 0 60px; }
}
