/* Palette di colori e variabili */
:root {
  /* Colori principali */
  --cream: #F4EDE6;
  --stone: #C9C6C1;
  --blush: #D9A7A0;
  --olive: #6C7154;
  --mustard: #D4A017;
  --ink: #2B2D33;

  /* Oro "metallico" */
  --gold-start: #E3C36B;
  --gold-mid: #B9933B;
  --gold-end: #F1D787;

  /* Neutri e stati */
  --white: #FFFFFF;
  --black: #0B0B0D;
  --success: #6ea36e;
  --warning: #d8a447;
  --danger: #b45e5e;

  /* Tipografia & spaziatura */
  --font-sans: "Inter", ui-sans-serif, system-ui, "SF Pro Text", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --radius: 8px;
  --shadow-soft: 0 4px 20px rgba(43, 45, 51, 0.1);
  --shadow-elev: 0 8px 30px rgba(43, 45, 51, 0.15);
  --container: 1200px;
}

/* Tema Natale - Variabili */
body.theme-natale {
  /* Colori natalizi */
  --cream: #FFFFFF;
  --stone: #F5F5F5;
  --blush: #E84855;
  --olive: #165B33;
  --mustard: #C52A3D;
  --ink: #2B2D33;
  --red: #e26664;

  /* Oro natalizio */
  --gold-start: #FFD700;
  --gold-mid: #C52A3D;
  --gold-end: #FFD700;

  /* Neutri e stati natalizi */
  --white: #FFFFFF;
  --black: #0B0B0D;
  --success: #165B33;
  --warning: #FFD700;
  --danger: #C52A3D;
}

/* Reset e base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-serif);
  line-height: 1.6;
  color: var(--ink);
  min-height: 100vh;
  position: relative;
}

/* Sfondo fisso che rimane fermo durante lo scroll */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sfondo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Sfondo natalizio */
body.theme-natale::before {
  background-image: url('sfondo-natale1.jpg');
}

/* Overlay beige per migliorare la leggibilità */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(244, 237, 230, 0.80);
  z-index: -1;
}

/* Overlay natalizio - più chiaro per far vedere meglio lo sfondo */
body.theme-natale::after {
  background: rgba(255, 255, 255, 0.15);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.loading-content {
  text-align: center;
  color: var(--ink);
}

.loading-logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(var(--shadow-soft));
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--stone);
  border-top: 3px solid var(--gold-mid);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.8;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Main Header */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--stone);
}

/* Main Header Tema Natale */
body.theme-natale .main-header {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(197, 42, 61, 0.3);
  box-shadow: 0 4px 20px rgba(197, 42, 61, 0.15);
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
  position: relative;
  overflow: visible;
}

.main-logo {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(var(--shadow-soft));
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.main-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: var(--radius);
}

.nav-link:hover {
  color: var(--gold-mid);
  background: rgba(227, 195, 107, 0.1);
}

/* Nav Link Tema Natale */
body.theme-natale .nav-link {
  color: var(--cream);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

body.theme-natale .nav-link:hover {
  color: var(--gold-mid);
  background: rgba(197, 42, 61, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold-mid);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 20px;
  margin-top: -80px; /* Compensa l'altezza della navbar */
  padding-top: 100px; /* Aggiunge spazio per la navbar */
}

.hero-content {
  max-width: 800px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-logo {
  max-width: clamp(300px, 50vw, 500px);
  height: auto;
  filter: drop-shadow(0 8px 25px rgba(43, 45, 51, 0.2));
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.02);
}

.cta-button {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(43, 45, 51, 0.15),
              0 2px 8px rgba(227, 195, 107, 0.3);
  text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.5);
  width: 100%;
  max-width: 280px;
}

body.theme-natale .cta-button {
  background: linear-gradient(135deg, var(--cream), var(--gold-mid));
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 45, 51, 0.2),
              0 4px 12px rgba(227, 195, 107, 0.4);
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-end));
}

/* Review Button */
.review-button {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 30px;
  background: linear-gradient(135deg, rgba(244, 237, 230, 0.8), rgba(255, 255, 255, 0.9));
  color: var(--ink);
  border: 2px solid var(--gold-mid);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(43, 45, 51, 0.1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
}

.review-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 45, 51, 0.15);
  background: var(--gold-mid);
  color: var(--ink);
}

/* Scroll Down Icon */
.scroll-down-icon {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--gold-mid);
  border-bottom: 3px solid var(--gold-mid);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

body.theme-natale .scroll-arrow {
  border-right: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
}

.scroll-down-icon:hover .scroll-arrow {
  border-color: var(--gold-end);
  transform: rotate(45deg) scale(1.2);
}

.scroll-down-icon:hover {
  animation-play-state: paused;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Menu Tooltip */
.menu-tooltip {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 200;
  pointer-events: none;
}

.menu-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.tooltip-content {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(43, 45, 51, 0.15),
              0 8px 20px rgba(227, 195, 107, 0.1);
  border: 1px solid rgba(227, 195, 107, 0.2);
  min-width: 280px;
  text-align: center;
}

.tooltip-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  margin-top: 0;
}

.tooltip-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tooltip-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 12px;
  background: rgba(244, 237, 230, 0.8);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.tooltip-btn:hover {
  background: rgba(227, 195, 107, 0.2);
  border-color: var(--gold-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 195, 107, 0.2);
}

.btn-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.btn-text {
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
}

.tooltip-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(255, 255, 255, 0.98);
  filter: drop-shadow(0 2px 4px rgba(43, 45, 51, 0.1));
}

/* Menu Section */
.menu-section {
  padding: 120px 0 40px 0;
  position: relative;
  /* background: rgba(255, 255, 255, 0.85); */
  /* backdrop-filter: blur(10px); */
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  color: var(--ink);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold-mid);
  border-radius: 2px;
}

body.theme-natale .section-title::after {
  background: var(--red);
}

body.theme-natale .section-title {
  color: var(--red);
}

.consumazione-minima {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 30px auto 40px;
  color: var(--ink);
  padding: 15px 30px;
  background: linear-gradient(135deg, rgba(244, 237, 230, 0.8), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 2px solid var(--gold-mid);
  box-shadow: var(--shadow-soft);
  max-width: 600px;
}

/* Menu Grid Layout */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.category-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 198, 193, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev);
}

/* Category Card Tema Natale - Trasparente con blur */
body.theme-natale .category-card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(197, 42, 61, 0.2);
}

body.theme-natale .category-card:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(197, 42, 61, 0.5);
  box-shadow: 0 8px 30px rgba(197, 42, 61, 0.3);
}

.category-header {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 237, 230, 0.8), rgba(255, 255, 255, 0.9));
  border-bottom: 2px solid var(--gold-mid);
  position: relative;
  overflow: visible;
}

/* Category Header Tema Natale */
body.theme-natale .category-header {
  background: linear-gradient(135deg, rgba(197, 42, 61, 0.15), rgba(255, 255, 255, 0.15));
  border-bottom: 2px solid var(--gold-mid);
}

.category-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

/* Category Title Tema Natale */
body.theme-natale .category-title {
  color: var(--red);
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.category-description {
  font-size: 1rem;
  color: var(--olive);
  font-style: italic;
  line-height: 1.4;
}

.category-content {
  padding: 0;
}

.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(201, 198, 193, 0.3);
  transition: background-color 0.3s ease;
}

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

.menu-item:hover {
  background: rgba(227, 195, 107, 0.05);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.item-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  flex: 1;
}

/* Item Name Tema Natale */
body.theme-natale .item-name {
  color: var(--red);
}

.item-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: 20px;
}

.item-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-mid);
  white-space: nowrap;
}

.price-bottle,
.price-glass {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gold-mid);
  white-space: nowrap;
}

body.theme-natale .item-price,
body.theme-natale .price-bottle,
body.theme-natale .price-glass {
  color: var(--red);
}

/*
.item-price::before {
  content: '€ ';
}*/

.item-description {
  font-size: 1.2rem;
  color: var(--olive);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

body.theme-natale .item-description {
  color: var(--ink);
}

/* Decorazioni Natalizie */
.christmas-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  z-index: 10000;
}

body.theme-natale .christmas-decoration {
  opacity: 1;
}

/* Decorazione 3 - sopra il logo della navbar */
.christmas-decoration.decoration-3 {
  position: absolute;
  z-index: 1;
  top: -14px;
  left: 51.1%;
  transform: translateX(-50%);
  max-width: 67px;
}

/* Animazione leggera per decorazione 3 */
@keyframes sway {
  0%, 100% {
    transform: translateX(-50%) rotate(-2deg);
  }
  50% {
    transform: translateX(-50%) rotate(2deg);
  }
}

.christmas-decoration.decoration-3 {
  animation: sway 3s ease-in-out infinite;
}

/* Decorazioni 1, 2, 4 sugli header delle categorie */
.christmas-decoration.decoration-1,
.christmas-decoration.decoration-2,
.christmas-decoration.decoration-4 {
  max-width: 90px;
}

/* Responsive decorazioni */
@media (max-width: 768px) {
  .christmas-decoration.decoration-3 {
    max-width: 55px;
    top: -13px;
    left: 31.5%;
  }
  
  .christmas-decoration.decoration-1,
  .christmas-decoration.decoration-2,
  .christmas-decoration.decoration-4 {
    max-width: 70px;
  }
}

/* Model Viewer Container 3D 
.model-viewer-container {
  margin-top: 20px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

model-viewer {
  width: 100%;
  height: 400px;
  background: #444;
  border-radius: 16px;
  position: relative;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

 Indicatore di caricamento per il modello 3D 
.model-loading-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(68, 68, 68, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 16px;
}

.spinner-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(227, 195, 107, 0.3);
  border-top: 4px solid var(--gold-mid);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.loading-text-model {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  model-viewer {
    height: 300px;
  }
}
 Fine */

/* Footer */
.footer {
  background: rgba(43, 45, 51, 0.95);
  backdrop-filter: blur(15px);
  color: var(--cream);
  padding: 60px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold-end);
}

.footer-address {
  line-height: 1.8;
  font-size: 1rem;
}

.footer-address a {
  color: var(--gold-end);
  text-decoration: none;
  font-weight: 500;
}

.footer-address a:hover {
  text-decoration: underline;
}

/* WhatsApp Button */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: var(--white);
  text-decoration: none;
}

.opening-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 237, 230, 0.2);
  font-size: 0.95rem;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-container iframe {
  filter: grayscale(20%) sepia(10%);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 237, 230, 0.3);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-end);
}

.footer-credits {
  font-size: 0.9rem;
}

.footer-credits a {
  color: var(--gold-end);
  text-decoration: none;
  font-weight: 500;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Su mobile manteniamo lo sfondo fisso ma con fallback */
  body::before {
    background-attachment: scroll;
  }

  .header-container {
    padding: 15px;
    gap: 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .main-logo {
    max-width: 200px;
    order: 1;
  }

  .mobile-menu-toggle {
    display: block;
    order: 3;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 105;
    order: 2;
  }

  body.theme-natale .main-nav {
    background: rgba(201, 69, 81, 0.98);
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 15px 20px;
    color: var(--ink);
    text-align: center;
    width: 200px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: all 0.3s ease;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: rgba(227, 195, 107, 0.2);
    border-color: var(--gold-mid);
    color: var(--ink);
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    height: 100vh;
    padding: 20px 15px;
    margin-top: -60px; /* Compensa navbar mobile più piccola */
    padding-top: 80px; /* Spazio per navbar mobile */
  }

  .hero-content {
    padding: 20px 15px;
    gap: 30px;
  }

  .hero-logo {
    max-width: clamp(250px, 60vw, 400px);
  }

  .review-button {
    font-size: 0.9rem;
    padding: 12px 24px;
  }

  .scroll-down-icon {
    bottom: 20px;
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  .tooltip-content {
    min-width: 260px;
    padding: 20px;
  }

  .tooltip-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tooltip-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 15px;
    gap: 12px;
  }

  .btn-icon {
    font-size: 1.3rem;
  }

  .btn-text {
    font-size: 0.85rem;
    text-align: left;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .category-header {
    padding: 25px 20px;
  }

  .category-title {
    font-size: 1.6rem;
  }

  .menu-item {
    padding: 20px;
  }

  .item-header {
    flex-direction: column;
    gap: 5px;
  }

  .item-name {
    font-size: 1.6rem;
  }

  .item-price-container {
    align-self: flex-end;
    margin-left: 0;
    align-items: flex-end;
  }

  .item-price {
    align-self: flex-end;
    margin-left: 0;
  }
  
  .price-bottle,
  .price-glass {
    font-size: 1.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .whatsapp-button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .main-logo {
    max-width: 200px;
  }

  .main-nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 5px 10px;
  }

  .hero {
    margin-top: -100px; /* Compensa navbar mobile extra small */
    padding-top: 70px;
  }

  .hero-content {
    padding: 15px;
    gap: 25px;
  }

  .hero-logo {
    max-width: clamp(200px, 70vw, 300px);
  }

  .review-button {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .scroll-down-icon {
    bottom: 80px;
  }

  .scroll-arrow {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .menu-grid {
    gap: 20px;
  }

  .category-header {
    padding: 20px 15px;
  }

  .menu-item {
    padding: 15px;
  }

  .loading-logo {
    max-width: 180px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animazioni per il caricamento del menu */
.category-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles per accessibilità */
.nav-link:focus,
.cta-button:focus {
  outline: 2px solid var(--gold-mid);
  outline-offset: 2px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background: var(--cream);
  border: 3px solid var(--gold-mid);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.4s ease;
  position: relative;
}

.cookie-banner.show .cookie-content {
  transform: scale(1);
}

.cookie-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.cookie-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.cookie-text {
  color: var(--ink);
  margin-bottom: 30px;
}

.cookie-text h4 {
  margin: 0 0 15px 0;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-mid);
  font-weight: 600;
}

.cookie-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-dark);
}

.cookie-text a {
  color: var(--gold-mid);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-text a:hover {
  color: var(--gold-end);
}

.cookie-accept {
  background: var(--gold-mid);
  color: var(--ink);
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cookie-accept:hover {
  background: var(--gold-end);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
  .cookie-content {
    padding: 30px 20px;
    max-width: 90%;
  }
  
  .cookie-logo {
    max-width: 150px;
    margin-bottom: 15px;
  }
  
  .cookie-text h4 {
    font-size: 1.5rem;
  }
  
  .cookie-text p {
    font-size: 0.9rem;
  }
  
  .cookie-accept {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Event Photo Overlay */
.event-photo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-photo-overlay.show {
  opacity: 1;
  visibility: visible;
}

.event-photo-container {
  position: relative;
  max-width: min(90vw, 820px);
  max-height: 90vh;
}

.event-photo-image {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  background: var(--white);
}

.event-photo-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.event-photo-close:hover {
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.9);
}

body.event-photo-open {
  overflow: hidden;
}

/* Miglioramenti per la stampa */
@media print {
  body::before {
    display: none;
  }
  
  .main-header,
  .hero,
  .footer {
    background: white !important;
    color: black !important;
  }
  
  .category-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .cookie-banner {
    display: none !important;
  }
}

/* Colore solo del numero del prezzo */
.price-value {
    color: var(--ink); /* oppure un colore fisso tipo #c9a24b */
    font-weight: 800; /* opzionale, se vuoi leggermente più marcato */
    font-size: 1.5rem;
}

/* Mantieni Bottiglia / Calice in grassetto ma senza cambiare colore */
.item-price strong {
    font-weight: 900;
}