:root {
  --green: #2b3f26;
  --green-light: #3a5433;
  --cream: #f5f0e6;
  --cream-dark: #e8e0cf;
  --gold: oklch(72% 0.09 82);
  --gold-dim: oklch(72% 0.06 82);
  --white: #faf8f3;
  --text-dark: #1a2417;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

body.dark {
  background: var(--green);
  color: var(--cream);
  min-height: 100vh;
  display:flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(43, 63, 38, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}
nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
nav .nav-logo svg {
  width: 42px;
  height: 42px;
}
nav .nav-logo span {
  font-family: "Dancing Script", cursive;
  font-size: 22px;
  color: var(--cream);
  letter-spacing: 0.5px;
}
nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}
nav ul a {
  color: rgba(245, 240, 230, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul a:hover {
  color: var(--gold);
}
nav ul a.active {
  color: var(--gold);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;     /* fallback */
  min-height: 100dvh;
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 60%,
      rgba(90, 120, 70, 0.18) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse at 70% 30%,
      rgba(60, 90, 50, 0.15) 0%,
      transparent 60%
    );
}
#hero .hero-logo {
  width: min(320px, 72vw);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}
#hero h1 {
  font-family: "Dancing Script", cursive;
  font-size: clamp(22px, 3vw, 44px);
  white-space: nowrap;
  color: var(--cream);
  letter-spacing: 4px;
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.15s ease both;
}
#hero p {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.25s ease both;
}
.hero-address {
  margin-top: 28px;
  color: rgba(245, 240, 230, 0.55);
  font-size: 13px;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.35s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: auto;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 230, 0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 0.9s 0.5s ease both;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245, 240, 230, 0.4), transparent);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION SHARED ── */
section {
  padding: 96px 40px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  color: var(--green);
}
.section-title.light {
  color: var(--cream);
}
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 36px;
}

/* ── CHI SIAMO ── */
#chi-siamo {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 40px;
}
#chi-siamo .text-col p {
  font-size: 17px;
  line-height: 1.75;
  color: #4a5a44;
  font-weight: 300;
}
#chi-siamo .text-col p + p {
  margin-top: 18px;
}
.visual-block {
  aspect-ratio: 4/5;
  background: var(--green);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.visual-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 12px
  );
}
.visual-block svg {
  width: 180px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.visual-block .since {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 22px;
  position: relative;
  z-index: 1;
}

/* ── EVENTI ── */
#eventi {
  background: var(--green);
  padding: 96px 0;
}
#eventi .menu-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.event-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 28px 28px 26px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.event-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}
.event-card--wide {
  grid-column: 1 / -1;
}
.event-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.event-body h4 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 10px;
}
.event-body p {
  font-size: 15px;
  color: rgba(245, 240, 230, 0.65);
  line-height: 1.65;
  font-weight: 300;
}
.event-body strong {
  color: var(--gold);
  font-weight: 500;
}
.event-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 165, 80, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.event-link:hover {
  border-color: var(--gold);
}

/* ── CONTATTI ── */
#contatti {
  background: var(--cream);
  padding: 96px 40px;
}
#contatti .inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.contact-value {
  font-size: 16px;
  color: var(--green);
  font-weight: 400;
  line-height: 1.5;
}
.contact-value a {
  color: var(--green);
  text-decoration: none;
}
.contact-value a:hover {
  color: var(--green-light);
}

.map-placeholder {
  aspect-ratio: 1;
  background: var(--green);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(245, 240, 230, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.map-placeholder:hover {
  background: var(--green-light);
}
.map-placeholder svg {
  width: 36px;
  opacity: 0.6;
}

/* ── FOOTER ── */
footer {
  background: #1a2417;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer .footer-logo svg {
  width: 36px;
  height: 36px;
}
footer .footer-logo span {
  font-family: "Dancing Script", cursive;
  color: rgba(245, 240, 230, 0.6);
  font-size: 17px;
}
footer p {
  font-size: 12px;
  color: rgba(245, 240, 230, 0.25);
  letter-spacing: 0.5px;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.15);
  color: rgba(245, 240, 230, 0.5);
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}
.social-links svg {
  width: 18px;
  height: 18px;
}

@media screen and (max-width: 468px) {
    .hidden-mobile {
        display: none;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }
  nav ul {
    gap: 20px;
  }
  nav ul a {
    font-size: 11px;
  }
  section {
    padding: 72px 20px;
  }
  #chi-siamo {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 20px;
  }
  .visual-block {
    aspect-ratio: 16/9;
  }
  #contatti .inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #menu .menu-inner {
    padding: 0 20px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
}

      .page-wrapper {
        flex: 1;
      }

      

      /* ── HERO MINI ── */
      .menu-hero {
        padding: 120px 40px 56px;
        background: var(--green);
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
        overflow: hidden;
      }
      .menu-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(
          ellipse at 50% 80%,
          rgba(90, 120, 70, 0.15) 0%,
          transparent 70%
        );
      }
      .menu-hero .section-label {
        font-size: 11px;
        letter-spacing: 4px;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 10px;
        position: relative;
      }
      .menu-hero h1 {
        font-family: "Dancing Script", cursive;
        font-size: clamp(32px, 5vw, 60px);
        color: var(--cream);
        letter-spacing: 2px;
        position: relative;
      }
      .menu-hero p {
        font-size: 13px;
        color: rgba(245, 240, 230, 0.4);
        letter-spacing: 1px;
        margin-top: 8px;
        position: relative;
      }

      /* TABS */
      .tabs-wrap {
        position: sticky;
        top: 64px;
        z-index: 10;
        background: rgba(43, 63, 38, 0.98);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .tabs-wrap::-webkit-scrollbar {
        display: none;
      }
      .tabs {
        display: flex;
        gap: 0;
        white-space: nowrap;
        min-width: max-content;
        padding: 0 40px;
        margin: 0 auto;
      }
      @media (min-width: 769px) {
        .tabs-wrap {
          display: flex;
          justify-content: center;
        }
      }
      @media (max-width: 768px) {
        .tabs {
          padding: 0 16px;
        }
        nav {
          padding: 0 20px;
        }
        nav ul {
          gap: 20px;
        }
        nav ul a {
          font-size: 11px;
        }
        .menu-hero {
          padding: 100px 20px 44px;
        }
        .panel {
          padding: 32px 20px 64px;
        }
      }
      .tab {
        font-family: "DM Sans", sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(245, 240, 230, 0.45);
        background: none;
        border: none;
        cursor: pointer;
        padding: 16px 18px;
        border-bottom: 2px solid transparent;
        transition:
          color 0.2s,
          border-color 0.2s;
        flex-shrink: 0;
      }
      .tab:hover {
        color: rgba(245, 240, 230, 0.8);
      }
      .tab.active {
        color: var(--gold);
        border-bottom-color: var(--gold);
      }

      /* PANELS */
      .panel {
        display: none;
        padding: 48px 40px 80px;
        max-width: 860px;
        margin: 0 auto;
      }
      .panel.active {
        display: block;
        animation: fadeIn 0.25s ease;
      }
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(6px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .category {
        margin-bottom: 48px;
      }
      .category h3 {
        font-family: "Playfair Display", serif;
        font-size: 26px;
        color: var(--cream);
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 18px;
      }
      .item {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 10px 0;
        border-bottom: 1px dotted rgba(255, 255, 255, 0.07);
      }
      .item:last-child {
        border-bottom: none;
      }
      .item-name {
        font-size: 15px;
        color: rgba(245, 240, 230, 0.85);
        font-weight: 300;
      }
      .item-sub {
        font-size: 12px;
        color: rgba(245, 240, 230, 0.38);
        margin-top: 3px;
        line-height: 1.5;
      }
      .item-price {
        font-size: 15px;
        color: var(--gold);
        font-weight: 500;
        white-space: nowrap;
        margin-left: 20px;
        flex-shrink: 0;
      }

      .condiments {
        margin-top: 18px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
      }
      .condiments-title {
        font-size: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--gold-dim);
        margin-bottom: 10px;
      }
      .condiments ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 18px;
      }
      .condiments ul li {
        font-size: 12px;
        color: rgba(245, 240, 230, 0.45);
      }
      .menu-note {
        margin-top: 12px;
        font-size: 12px;
        color: rgba(245, 240, 230, 0.3);
        font-style: italic;
      }

      /* ── FOOTER ── */
      footer {
        background: #1a2417;
        padding: 36px 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
      }
      footer .footer-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
        justify-content: flex-start;
      }
      footer .footer-logo svg {
        width: 36px;
        height: 36px;
      }
      footer .footer-logo span {
        font-family: "Dancing Script", cursive;
        color: rgba(245, 240, 230, 0.6);
        font-size: 17px;
      }
      footer p {
        font-size: 12px;
        color: rgba(245, 240, 230, 0.25);
        letter-spacing: 0.5px;
        flex: 1;
        display:flex;
        justify-content: flex-end;
      }

      footer .middle {
        gap: 20px;
        flex-wrap: wrap;
        flex: 1;
        display: flex;
        justify-content: center;
      }
      .social-links {
        display: flex;
        gap: 16px;
        align-items: center;
      }
      .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid rgba(245, 240, 230, 0.15);
        color: rgba(245, 240, 230, 0.5);
        text-decoration: none;
        transition:
          border-color 0.2s,
          color 0.2s,
          background 0.2s;
      }
      .social-links a:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(255, 255, 255, 0.05);
      }
      .social-links svg {
        width: 18px;
        height: 18px;
      }
      @media (max-width: 768px) {
        footer {
          flex-direction: column;
          text-align: center;
          padding: 32px 20px;
        }
      }



 
  .page-header {
    background: var(--green); padding: 120px 40px 60px;
    text-align: center;
  }
  .page-header .label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
  .page-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 56px); color: var(--cream); }

  .content {
    max-width: 760px; margin: 0 auto; padding: 72px 40px 96px;
  }
  .content h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--green); margin: 48px 0 16px; }
  .content h2:first-child { margin-top: 0; }
  .content p { font-size: 15px; line-height: 1.8; color: #4a5a44; font-weight: 300; margin-bottom: 14px; }
  .content a { color: var(--green); }
  .divider { width: 40px; height: 2px; background: var(--gold); margin: 0 0 40px; }

/* ── AVVISO ALCOL ── */
.alcohol-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(200, 165, 80, 0.07);
  border: 1px solid rgba(200, 165, 80, 0.2);
  border-radius: 4px;
  padding: 16px 24px;
  max-width: 860px;
  margin: 8px auto 56px;
  color: rgba(245, 240, 230, 0.45);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.3px;
}
.alcohol-notice svg {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.6;
  margin-top: 2px;
}
.alcohol-notice strong {
  color: rgba(245, 240, 230, 0.65);
  font-weight: 500;
}
@media (max-width: 768px) {
  .alcohol-notice {
    margin: 8px 16px 48px;
    padding: 14px 16px;
  }
}