body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: #000000;
  /* Evita lo scroll orizzontale quando i div sono fuori schermo */
  overflow-x: hidden; 
}

@font-face {
  font-family: adelia;
  src: url(fonts/adelia_3/adelia.ttf);
}
@font-face {
  font-family: googleSans;
  src: url(fonts/Google_Sans/GoogleSans.ttf);
}

.titleFont {
  font-family: adelia;
  font-size: clamp(30px, 6vw, 40px);
  background: linear-gradient(to right, #9d6820, #debe68);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.productFont{
  font-family: googleSans;
  font-size: 20px;
  background: #a86d21;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.productTitleFont{
  font-family: googleSans;
  font-size: 20px;
  background: #FFFFFF;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.productPriceFont{
  font-family: googleSans;
  font-size: 20px;
  background: #FFFFFF;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.productDescFont{
  font-family: googleSans;
  font-size: 15px;
  background: #FFFFFF;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spacer {
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #94a3b8;
}
.spacerProductCategory {
  height: 3vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #94a3b8;
}

/* Stile del testo/box */
.slide-box {
  width: 80%;
  max-width: 500px;
  margin: 1rem auto;
  padding: 0.5rem;
  background: #000000;
  border-radius: 16px;
  text-align: left;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

  /* Stato di base: FUORI A SINISTRA e invisibile */
  opacity: 0;
  transform: translateX(-60vw);
  
  /* Transizione fluida */
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
			   opacity 0.6s ease;
}

/* STATO 1: Visibile al centro */
.slide-box.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* STATO 2: Uscita a destra */
.slide-box.out-view {
  opacity: 0;
  transform: translateX(60vw);
}

/* Sezione Introduttiva con Logo */
.hero-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Stile del Logo (Inizialmente invisibile) */
.logo-container {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.8s cubic-bezier(0.25, 1, 0.5, 1), 
			  transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}

/* Classe per attivare la dissolvenza */
.logo-container.visible {
  opacity: 1;
  transform: scale(1);
}

/* Misura variabile per tutti gli Smartphone (es. 60% della larghezza dello schermo) */
.logo-img {
  max-width: 60vw;
  height: auto;
  margin-bottom: 1rem;
}

/* Quando lo schermo supera i 768px (Tablet e PC), si blocca a 250px */
@media (min-width: 768px) {
  .logo-img {
	max-width: 500px;
  }
}

.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  font-size: 1.2rem;
  color: #debe68;
}

/* Stile standard delle tabelle */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.menu-table td {
  width: 100%;
  table-layout: fixed;
  padding: 0.2rem 0;
  vertical-align: middle;
}

.menu-table-category td {
  width: 100%;
  table-layout: fixed;
  padding: 1rem 0;
  vertical-align: middle;
}

/* Contenitore per ammorbidire la mappa e integrarla col tema scuro */
.map-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #222222;
}

.map-container iframe {
  display: block;
  /* Rendiamo la mappa leggermente scura/desaturata per abbinarla al sito nero e oro */
  filter: grayscale(20%) invert(90%) hue-rotate(180deg);
}


/* Footer Contatti */
.footer-section {
  width: 100%;
  background-color: #050505;
  border-top: 1px solid #222222;
  padding: 3rem 1rem 2rem 1rem;
  margin-top: 4rem;
  box-sizing: border-box;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-family: 'adelia', system-ui, sans-serif;
  font-size: 24px;
  background: linear-gradient(to right, #9d6820, #debe68);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.footer-info {
  font-family: googleSans, system-ui, sans-serif;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-info a {
  color: #debe68;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-info a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-copyright {
  color: #555555;
  font-size: 0.8rem;
  border-top: 1px solid #111111;
  padding-top: 1rem;
  margin-top: 1.5rem;
}

/* Contenitore social nell'header */
.header-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;            /* Spaziatura tra un'icona e l'altra */
  margin-top: 0.8rem;     /* Distanza dal logo */
  margin-bottom: 1.5rem;  /* Distanza dai box del menu */
}

/* Stile icone in linea con il tema dorato */
.header-social a {
  color: #debe68;         /* Oro ripreso dal gradiente del titolo */
  font-size: 1.5rem;      /* Dimensione bilanciata per mobile */
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

/* Effetto al tocco/hover */
.header-social a:active,
.header-social a:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 0 6px rgba(222, 190, 104, 0.6));
}