:root {
  --night: #080c14;
  --deep: #0d1525;
  --blue-dark: #0a1628;
  --blue-glow: #1a2846;
  --azure: #52809b;
  --gold: #b9931c;
  --cream: #f5ede0;
  --white: #ffffff;
  --text-muted: rgba(245, 237, 224, 0.5);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--night);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8, 12, 20, 0.9) 0%, transparent 100%);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  cursor: none;
}

.nav-logo span {
  color: var(--azure);
}

.nav-logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: 5rem;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  cursor: none;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-links a:not(.btn) {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid transparent;
  transition: opacity 0.3s, color 0.3s, border-color 0.3s;
}

.nav-links a:not(.btn):hover {
  border-bottom-color: var(--gold);
}

/* Hamburger toggle (mobile only, stile del bottone lingua) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.4rem;
  height: 2.1rem;
  padding: 0 0.5rem;
  background: none;
  border: 1px solid rgba(245, 237, 224, 0.2);
  border-radius: 2px;
  cursor: none;
  opacity: 0.7;
  transition: opacity 0.3s, border-color 0.3s;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.nav-toggle:hover {
  opacity: 1;
  border-color: var(--gold);
}

.nav-toggle:hover span {
  background: var(--gold);
}

/* Stato aperto: le barre diventano una X */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: none;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 237, 224, 0.3);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* MENU TABS */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.menu-tab {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
  margin-bottom: -1px;
}

.menu-tab.active,
.menu-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* MENU HEADER SECTION */
.menu-header-section {
  background: var(--blue-glow);
  padding-top: 9rem;
}

/* MENU HEADER */
.menu-header {
  position: relative;
  text-align: center;
  margin-bottom: 5rem;
}

.menu-header .label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.6);
  margin-bottom: 1.5rem;
}

.menu-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.menu-header h2 em {
  font-style: italic;
  color: var(--azure);
}

.back-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--cream);
  text-decoration: none;
  cursor: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
  margin-bottom: -1px;
}

.back-arrow:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* PAGES CONTAINER */
.pages-container {
  display: flex;
  flex-direction: column;
}

.page {
  width: 100%;
  padding: 8rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* MENU ROW STYLES */
.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0;
  gap: 1rem;
}

.menu-row:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.row-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.menu-row:hover .row-icon {
  opacity: 1;
}

.row-icon i {
  font-size: 2.2rem;
}

.row-left {
  flex: 1;
}

.row-name {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.row-sub {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.1rem;
}

.row-price {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  flex-shrink: 0;
}

/* BRUNCH STYLES */
.brunch-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.4rem;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.5rem;
}

.brunch-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
}

.brunch-price {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.brunch-desc {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.3rem 0 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.4;
}

.cat-block {
  margin-bottom: 1.4rem;
}

.allergen {
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1.2rem;
}

.wordmark {
  margin-top: auto;
  padding: 2rem 0 1rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

/* FOOTER */
footer {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
}

.footer-logo span {
  color: var(--azure);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.footer-privacy-link {
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}

.footer-privacy-link:hover {
  opacity: 1;
  color: var(--gold);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.page > .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 4rem !important;
  display: flex !important;
  flex-direction: column !important;
}

/* MENU PAGE STYLES */
.menu-language-selector {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.lang-btn:hover {
  color: var(--cream);
}

.lang-btn.active {
  color: var(--gold);
  font-weight: 500;
}

.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

#menu-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4rem;
}

.menu-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.menu-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 2rem;
  text-transform: capitalize;
  letter-spacing: 0.05em;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-left {
  flex: 1;
}

.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.2rem;
}

.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
  margin-top: 0.2rem;
}

/* WINE & CO PAGE */
.wine-co-page .section-title,
.wine-co-page .row-name,
.wine-co-page .brunch-title,
.wine-co-page .wordmark {
  color: var(--blue-glow);
}

.wine-co-page .row-sub {
  color: rgba(26, 40, 70, 0.6);
}

.wine-co-page .row-price,
.wine-co-page .brunch-price {
  color: rgba(26, 40, 70, 0.9);
}

.wine-co-page .menu-row {
  border-top-color: rgba(26, 40, 70, 0.3);
}

.wine-co-page .menu-row:last-of-type {
  border-bottom-color: rgba(26, 40, 70, 0.3);
}

.wine-co-page .brunch-header {
  border-top-color: rgba(26, 40, 70, 0.3);
}

.wine-co-page .brunch-desc {
  border-bottom-color: rgba(26, 40, 70, 0.3);
}

/* ORARI */
.info-section {
  background: var(--blue-glow);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  padding: 6rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.info-block {
  padding: 5rem 4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 901px) {
  .info-block.hours {
    order: -1;
  }
}

.info-block:last-child {
  border-right: none;
}

.info-block .label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  color: var(--cream);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.8rem;
  transition: color 0.3s;
  cursor: none;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-link:hover .contact-icon {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: none;
}

.social-link:hover {
  color: var(--gold);
}

.social-link i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.social-dash {
  width: 30px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.social-link:hover .social-dash {
  width: 50px;
}

/* Responsive */
@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  nav {
    position: absolute;
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-logo img {
    height: 3.5rem;
  }

  .nav-toggle {
    display: flex;
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 110;
  }

/* Overlay a schermo intero con i link a sinistra */
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0 0 0 3rem;
    background: rgba(8, 12, 20, 0.97);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 0.8rem !important;
  }

  .nav-links a:not(.btn) {
    padding-bottom: 0.6rem;
  }

.page {
    padding: 6rem 0 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .page > .container {
    padding: 0 1rem !important;
  }

  #menu-content {
    padding: 0 2rem;
  }

  .menu-section-title {
    font-size: 1.4rem;
  }

  .menu-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .menu-item-price {
    font-size: 0.95rem;
  }

  .menu-item-name {
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-block {
    padding: 3rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .info-block:last-child {
    border-bottom: none;
  }
}
