/* =========================================================
 * Cucina ZeroGrano - App Layout & Responsive Styles
 ========================================================= */

* {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff; /* Sfondo Totale Bianco */
  color: #222222;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

/* Watermark Sfondo Continuo su Tutta la Pagina */
body::before {
  content: "CUCINA ZERO GRANO CUCINA ZERO GRANO CUCINA ZEROGRANO CUCINA ZEROGRANO CUCINA ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO ZEROGRANO";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 70px;
  line-height: 110px;
  letter-spacing: 4px;
  color: rgba(27, 77, 62, 0.09); /* Verde scuro delicato ed elegante in trasparenza */
  word-break: break-all;
  overflow: hidden;
  pointer-events: none;
  z-index: 0; /* Sotto a tutti gli elementi della pagina */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
}

/* Layer di primo piano per contenuti e header/footer */
#header, #main, #footer {
  position: relative;
  z-index: 1;
}

/* Colori e Tipografia - Verde Scuro */
.text-gold {
  color: #1b4d3e !important;
}

.border-gold {
  border: 1px solid #1b4d3e !important;
}

/* Header Snello e Centrato con Effetto Vetro */
#header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 2px solid #1b4d3e;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.header-title {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Sezione Menu */
.menu.section-bg {
  background-color: transparent; /* Permette la visione del watermark di sfondo */
  padding-bottom: 40px;
}

/* Contenitore Scheda */
.media-container {
  width: 92%;
  max-width: 360px;
  margin: 0 auto 35px auto;
}

/* Titolo e Prezzo in Verde Scuro */
.menu-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  padding-bottom: 6px;
  margin-bottom: 8px;
  width: 100%;
}

.menu-content a {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: #1b4d3e !important;
}

.menu-content span {
  font-weight: 700;
  font-size: 18px;
  color: #1b4d3e !important;
}

/* Box Riquadro Video/Immagini - Card Moderna con Ombra Marcata */
.media-box {
  padding: 0;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(27, 77, 62, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.media-box video,
.media-box img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover !important;
  border-radius: 16px;
  display: block;
}

.menu-ingredients {
  font-style: italic;
  font-size: 14px;
  color: #666666;
  text-align: center;
  margin-top: 10px;
}

/* Footer Sfondo Chiaro con Accenti Verde Scuro */
#footer {
  background: rgba(248, 249, 250, 0.95);
  border-top: 1px solid #eeeeee;
  color: #444444;
  backdrop-filter: blur(5px);
}

.social-links a {
  font-size: 18px;
  display: inline-block;
  background: #1b4d3e;
  color: #ffffff;
  line-height: 36px;
  margin: 0 4px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  text-decoration: none;
}

.social-links a:hover {
  background: #12352b;
}