/* ==========================================================
   Cantina Picavino — Stylesheet
   Colori: Verde #36552E · Rosso #B21F24 · Oro/Beige #9B7950 · Bianco #FFFFFF
   Font: Bodoni Moda (display, Bodoni/Didot-style) + EB Garamond (body)
   ========================================================== */

:root {
  --verde: #36552E;
  --rosso: #B21F24;
  --oro: #9B7950;
  --bianco: #FFFFFF;
  --nero: #1B1B1B;
  --panna: #FAF8F5;
  --verde-scuro: #223A1D;

  --font-display: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --font-body: "EB Garamond", Georgia, serif;

  --max-width: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--nero);
  background: var(--bianco);
  font-size: 18px;
  line-height: 1.6;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--verde-scuro);
}

.btn {
  display: inline-block;
  width: 17rem;            /* einheitliche Breite für alle Buttons */
  max-width: 100%;
  text-align: center;
  padding: 0.9em 1em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--rosso);
  color: var(--bianco);
  border-color: var(--rosso);
}
.btn-primary:hover { background: #8f181c; border-color: #8f181c; }
.btn-ghost {
  background: transparent;
  color: var(--bianco);
  border-color: var(--bianco);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-soldout {
  background: transparent;
  color: var(--rosso);
  border-color: var(--rosso);
  cursor: default;
  pointer-events: none;
}

.btn-secondary {
  background: var(--verde);
  color: var(--bianco);
  border-color: var(--verde);
}
.btn-secondary:hover { background: #2a4224; border-color: #2a4224; }

.info-card .btn-ghost {
  color: var(--verde-scuro);
  border-color: var(--verde-scuro);
}
.info-card .btn-ghost:hover { background: rgba(54,85,46,0.08); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(155,121,80,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo img { height: 200px; width: auto; }

.main-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--verde-scuro);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rosso);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }

.lang-toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: var(--verde-scuro);
  display: flex;
  gap: 0.35em;
  white-space: nowrap;
}
.lang-opt { opacity: 0.45; transition: opacity 0.2s; }
.lang-opt.active { opacity: 1; color: var(--rosso); font-weight: 600; }
.lang-sep { opacity: 0.4; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span { width: 24px; height: 2px; background: var(--verde-scuro); display: block; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,15,10,0.82) 0%, rgba(20,15,10,0.35) 45%, rgba(20,15,10,0.15) 100%);
}
.vesuvio-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 90px;
  z-index: 2;
  opacity: 0.9;
}
.vesuvio-line path {
  fill: none;
  stroke: var(--oro);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  width: 100%;
  color: var(--bianco);
}
.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--oro);
  margin: 0 0 1rem;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 0.95;
  color: var(--bianco);
  margin: 0;
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.32em;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  color: var(--oro);
  margin: 1.2rem 0 2.2rem;
  text-transform: uppercase;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============ INTRO ============ */
.intro {
  background: var(--panna);
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}
.intro-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.intro-text {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.75;
  color: var(--verde-scuro);
  font-style: italic;
}

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem 2.5rem;
  text-align: center;
}
.section-num {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.section-lead {
  max-width: 620px;
  margin: 0 auto;
  color: #4a4a4a;
  font-size: 1.08rem;
}
.section-head.light .section-num,
.section-head.light h2 { color: var(--bianco); }
.section-head.light .section-num { color: var(--oro); }

/* ============ STORIA / TEAM ============ */
.storia { padding-bottom: 3rem; }
.team-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.team-block.reverse .team-media { order: 2; }
.team-block.reverse .team-text { order: 1; }
.team-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}
.team-text h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.3rem; }
.team-role {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--rosso);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.team-text p:not(.team-role) { color: #3d3d3d; }

/* ============ CUCINA / FOOD ============ */
.cucina { background: var(--panna); padding-bottom: 4rem; }
.food-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.food-item { margin: 0; position: relative; overflow: hidden; border-radius: 2px; }
.food-item img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  transition: transform 0.5s ease;
}
.food-item:hover img { transform: scale(1.06); }
.food-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(0deg, rgba(20,15,10,0.75), transparent);
  color: var(--bianco);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.menu-buttons {
  width: 100%;
  max-width: var(--max-width);
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.menu-buttons .btn {
  min-width: 200px;
  text-align: center;
}

/* ============ AMBIENTE ============ */
.ambiente { background: var(--verde-scuro); padding-bottom: 5rem; }

.ambiente-gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============ EVENTS / SERATA NAPOLETANA ============ */
.events { background: var(--panna); padding-bottom: 5rem; }
.events-grid {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.event-card {
  background: var(--bianco);
  border: 1px solid rgba(155,121,80,0.3);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.events-grid .event-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 0.8rem);
}
.event-card:hover {
  box-shadow: 0 12px 32px rgba(27,27,27,0.08);
  transform: translateY(-3px);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.event-day {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--rosso);
  font-weight: 700;
}
.event-month {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oro);
  margin-top: 0.3rem;
}
.event-card h3 {
  font-size: 1.4rem;
  margin: 0.2rem 0 0;
}
.event-details {
  color: #4a4a4a;
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}
.event-card .btn { min-width: 160px; }

/* ============ NEWSLETTER ============ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.btn-light {
  background: var(--bianco);
  color: var(--verde-scuro);
  border-color: var(--bianco);
}
.btn-light:hover { background: var(--panna); border-color: var(--panna); }

.newsletter {
  background: var(--verde-scuro);
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
  text-align: center;
}
.newsletter-inner { max-width: 640px; margin: 0 auto; }
.newsletter .section-num { color: #C9A574; }
.newsletter h2 {
  color: var(--bianco);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 0.4rem 0 1rem;
}
.newsletter-lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  margin: 0 auto 2rem;
}
.newsletter-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}
.newsletter-row input[type="email"] {
  flex: 1;
  min-width: 0;
  max-width: 380px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  border: 1.5px solid transparent;
  border-radius: 2px;
  background: var(--bianco);
  color: var(--nero);
}
.newsletter-row input[type="email"]:focus {
  outline: none;
  border-color: #C9A574;
}
.newsletter-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  margin: 1.2rem auto 0;
  max-width: 520px;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.5;
  cursor: pointer;
}
.newsletter-consent input { margin-top: 0.25em; accent-color: #C9A574; flex-shrink: 0; }
.newsletter-consent a { color: #C9A574; text-decoration: underline; text-underline-offset: 3px; }
.newsletter-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 1rem 0 0;
}
@media (max-width: 560px) {
  .newsletter-row { flex-direction: column; }
  .newsletter-row input[type="email"] { max-width: none; }
}

/* ============ INFO ============ */
.info { padding: clamp(4rem, 8vw, 6rem) 1.5rem; background: var(--bianco); }
.info-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.info-card {
  border-top: 2px solid var(--oro);
  padding-top: 1.6rem;
}
.info-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.info-card p { color: #4a4a4a; margin: 0 0 1.2rem; }
.hours-subhead {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--verde-scuro);
  font-size: 1rem;
  margin: 1.2rem 0 0.4rem;
}
.hours-subhead:first-of-type { margin-top: 0; }
.hours-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dotted rgba(0,0,0,0.15);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; color: var(--rosso); }
.reservation-buttons { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.contact-links { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; font-size: 0.95rem; }
.contact-links a:hover { color: var(--rosso); }
.info-card .btn { margin-top: 0.4rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--nero); color: #d9d4cc; padding-top: 4rem; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo { height: 200px; filter: brightness(0) invert(1); margin-bottom: 0.8rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--oro);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.footer-col h4 {
  color: var(--bianco);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.6; }
.footer-col a:hover { color: var(--oro); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.3rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8a8a8a;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 1.6rem; right: 1.6rem;
  width: 56px; height: 56px;
  background: var(--verde);
  color: var(--bianco);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .team-block { grid-template-columns: 1fr; }
  .team-block.reverse .team-media,
  .team-block.reverse .team-text { order: initial; }
  .events-grid { grid-template-columns: 1fr; max-width: 480px; }
  .events-grid .event-card:last-child:nth-child(odd) { width: auto; grid-column: auto; justify-self: stretch; }
  .ambiente-gallery { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .logo img { height: 120px; }
  .event-head { padding-top: 9rem; }
  .main-nav { display: none; }
  .burger { display: flex; }
  body.nav-open .main-nav {
    display: flex;
    position: absolute;
	top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.75);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(155,121,80,0.25);
  }
  .footer-inner { grid-template-columns: 1fr; }
  .menu-buttons { flex-direction: column; align-items: stretch; }
  .menu-buttons .btn { width: 100%; }
}

@media (max-width: 560px) {
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
