/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }

/* --- Tipografia generale --- */
body {
  font-size: 19px;        /* base più grande (default 16px) */
  line-height: 1.7;       /* più aria tra le righe */
  font-family: 'Times New Roman', serif;
  color: #000;
}

/* Titoli */
h1, h2, h3, h4 {
  line-height: 1.3;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }

/* Paragrafi */
p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* HEADER */
header {
  background: #7a0707;
  padding: 1rem;
}

header nav {
  display: flex;
  align-items: center;
}

.logo {
  width: 176px;
  height: 99px;
}

/* wrapper dei link del menu */
.menu {
  display: flex;
  gap: 24px;
  margin: 0 auto;
  align-items: center;
}

/* spazio “fantasma” a destra per bilanciare il logo */
.bilanciamento {
  width: 176px;
  height: 1px;
}

/* stile dei bottoni del MENU */
.menu-btn {
  display: inline-block;
  padding: 10px 24px;        /* un po’ più grande */
  background-color: #d80000; 
  color: #fff;
  font-family: 'Times New Roman', serif;
  font-size: 19px;           /* testo pulsante più grande */
  text-decoration: none;
  border-radius: 999px;
  line-height: 1.2;
  transition: background-color .25s ease, color .25s ease;
}

.menu-btn:hover {
  background-color: #fff;
  color: #7a0707;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Fascia immagini */
.gallery-band {
  display: flex;
  width: 100%;
  height: 40vh;
  overflow: hidden;
}

.gallery-band figure {
  flex: 1;
  margin: 0;
}

.gallery-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Box con claim */
.claim {
  width: min(900px, 100% - 2rem);
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: .25rem;
  background: #fff;
}
.claim p {
  font-size: 1.6rem;      /* PIÙ GRANDE (prima 1.25rem) */
  line-height: 1.5;
  font-weight: bold;
  color: #7a0707;      /* più marcato */
}
/* --- Paragrafo centrato --- */
/* --- Paragrafo centrato --- */
.intro-text {
  max-width: 800px;
  margin: 2rem auto 6rem;   /* prima era 2rem auto -> ora 4rem sotto */
  text-align: justify;
  line-height: 1.6;
}
.intro-text p {
  font-size: 1.2rem;
}

/* --- Sezione testo + immagine --- */
.text-with-image {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  padding: 0 1rem;
  margin-left: 2rem;        /* margine sinistro extra */
}

.text-with-image .text-content h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #7a0707;
}

.text-with-image .text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.text-with-image .image-content {
  flex: 0 0 360px;   /* più grande (prima 300px) */
  margin: 0;
}

.text-with-image .image-content img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: .25rem;
}

/* Mobile: impila e immagine sopra */
@media (max-width: 768px) {
  .text-with-image {
    flex-direction: column;
    margin-left: 0; /* su mobile togliamo margine extra */
  }
  .text-with-image .image-content {
    flex: 1 1 auto;
    width: 100%;
    margin-top: 1rem;
  }
}
/* --- CTA Salone --- */
.cta-salone {
  display: flex;
  justify-content: center;
  margin: 3rem 0 2rem;    /* più spazio sopra e sotto il bottone */
}

/* Bottone doppio per CTA salone 2 */
.cta-salone-2 {
  display: flex;
  justify-content: center;
  margin: 3rem 0 2rem;
}

.cta-salone-2 .menu-btn {
  padding: 24px 64px;       /* grande ma non enorme (¾ della misura “doppia”) */
  font-size: 28px;          /* testo più grande degli altri */
  border: 2px solid transparent;  /* bordo invisibile di base */
  border-radius: 60px;
  transition: all 0.25s ease;
}

.cta-salone-2 .menu-btn:hover {
  background-color: #fff;
  color: #7a0707;
  border-color: #7a0707;    /* bordo visibile all'hover */
}
/* Hover con bordo visibile SOLO per i bottoni del body */
.cta-salone .menu-btn,
.cta-maps .menu-btn {
  border: 2px solid transparent;   /* bordo invisibile di base */
}

.cta-salone .menu-btn:hover,
.cta-maps .menu-btn:hover{
  background-color: #fff;
  color: #7a0707;
  border-color: #7a0707;          /* bordo visibile all'hover */
}

.cta-maps {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
/* --- Brand + Recensioni --- */
.brand-and-reviews {
  width: min(1100px, 100% - 2rem);
  margin: 2rem auto 3rem;
}

.brand-and-reviews .brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;   /* più spazio tra brand e recensioni */
}
.brand-and-reviews .brand img {
  max-width: 260px;
  height: auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;              /* più spazio tra le recensioni */
}

.review {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  padding: 1.5rem;        /* un po’ più aria dentro la card */
}

.review .stars {
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.review p {
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .review .stars { width: 120px; }
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  font-weight: bold;
  color: #7a0707;   /* stesso bordeaux del tema */
}
.section-title-2 {
  text-align: left;
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem 0 1rem;
  margin-left: 2rem;
  font-weight: bold;
  color: #7a0707;   /* stesso bordeaux del tema */
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* formato 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: .5rem;
  margin: 2rem auto;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.elenco-container {
  display: flex;
  justify-content: center;   /* centra orizzontalmente */
  margin: 2rem 0;
}

.elenco-due-colonne {
  list-style: disc inside;   /* pallino + testo allineato */
  columns: 2;                /* due colonne */
  column-gap: 3rem;          /* spazio tra le colonne */
  max-width: 600px;          /* limita la larghezza totale */
  padding-left: 0;
  margin: 0 auto;
  text-align: left;          /* testo allineato a sinistra dentro le colonne */
  margin-bottom: 4rem;
}

.elenco-due-colonne li {
  break-inside: avoid;       /* evita spezzature tra colonne */
  margin: .4rem 0;
}

/* Mobile: una colonna */
@media (max-width: 768px) {
  .elenco-due-colonne { columns: 1; }
}

.tre-colonne {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem;
  width: min(1100px, 100% - 2rem);
  margin: 2rem auto;
  text-align: justify;
}

.colonna h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #7a0707;   /* bordeaux per titoli */
}

.colonna p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive: una colonna sotto l’altra */
@media (max-width: 900px) {
  .tre-colonne {
    grid-template-columns: 1fr;
  }
}

.mappa-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: .5rem;
}
.mappa-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
/* Mappa versione piccola (solo dove serve) */
.mappa-embed--small{
  position: relative;
  height: 280px;        /* altezza ridotta */
  padding-bottom: 0;    /* disattiva il 16:9 globale */
  max-width: 520px;     /* larghezza massima */
  margin: 0 auto;       /* centra */
  border-radius: .5rem;
  overflow: hidden;
}
.mappa-embed--small iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}

/* Griglia 3 colonne per contatti / info / mappa */
.contact-grid{
  width: min(1100px, 100% - 2rem);
  margin: 2.5rem auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:.5rem;
  padding:1.25rem;
}

.card h3{
  font-size:1.4rem;
  color:#7a0707;
  margin-bottom:.75rem;
}

.card p{ margin-bottom:.5rem; }

/* Su mobile: una colonna */
@media (max-width: 900px){
  .contact-grid{ grid-template-columns:1fr; }
}

.orari {
  list-style: none;
  padding: 0;
  margin: 0;
}
.orari li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

/* Pagamenti */
.pagamenti {
  list-style: disc inside;   /* pallini standard */
  padding-left: 0;
  margin: 0;
}

.pagamenti li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

/* Mappa sotto le card, stessa larghezza */
.mappa-lunga {
  width: min(1100px, 100% - 2rem); /* uguale alle card */
  margin: 2rem auto;
}

.mappa-lunga .mappa-embed {
  position: relative;
  padding-bottom: 35%; /* altezza proporzionale */
  height: 0;
  border-radius: .5rem;
  overflow: hidden;
}

.mappa-lunga .mappa-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.galleria {
  width: min(1200px, 100% - 2rem);
  margin: 2rem auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.galleria img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* Mantiene sempre forma quadrata */
  object-fit: cover;     /* Ritaglia senza deformare */
  border-radius: .5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galleria img:hover {
  transform: scale(1.05);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: .5rem;
}

#lightbox .chiudi {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #7a0707;
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  z-index: 9999;
  flex-wrap: wrap;
  text-align: center;
}

#cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

#cookie-banner button {
  background: #fff;
  color: #7a0707;
  border: none;
  padding: .6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

#cookie-banner button:hover {
  background: #dcdcdc;
}

/* ====== MOBILE HEADER / MENU FIX ====== */
@media (max-width: 900px){
  html, body { overflow-x: hidden; }

  header { padding: .5rem 0; }
  header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;        /* i bottoni possono andare a capo */
    gap: .5rem .75rem;
    padding: 0 .75rem;
  }

  .logo {
    height: 56px;           /* logo più piccolo */
    width: auto;
    flex: 0 0 auto;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;        /* evita lo “sbordo” */
    justify-content: center;
    gap: 8px 10px;
    margin: 0 auto;
    max-width: 100%;
  }

  .menu-btn {
    padding: 8px 14px;      /* pulsanti più compatti */
    font-size: 15px;
    line-height: 1.2;
  }

  /* Bande foto iniziali un po’ più basse su mobile */
  .gallery-band { height: 28vh; }

  /* Claim / intro più comodi ai lati */
  .claim { width: calc(100% - 2rem); margin: 1rem auto; padding: 1rem; }
  .claim p { font-size: 1.15rem; }
  .intro-text { width: calc(100% - 2rem); margin: 1.5rem auto 2.5rem; }
  .intro-text p { font-size: 1.05rem; }

  /* Text + image impilati */
  .text-with-image {
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem auto;
    padding: 0 1rem;
  }
  .text-with-image .text-content h2 { font-size: 1.6rem; }
  .text-with-image .text-content p { font-size: 1.05rem; }
  .text-with-image .image-content img { width: 100%; height: auto; object-fit: cover; }

  /* CTA del body più piccoli */
  .cta-salone .menu-btn,
  .cta-maps .menu-btn,
  .cta-salone-2 .menu-btn {
    padding: 10px 18px;
    font-size: 17px;
  }

  /* Video e sezioni larghe con margini */
  .video-section { width: calc(100% - 2rem); margin: 1.75rem auto; }

  /* Contatti e mappa */
  .contact-grid { width: calc(100% - 2rem); grid-template-columns: 1fr; gap: 1rem; }
  .mappa-lunga { width: calc(100% - 2rem); margin: 1.5rem auto 2rem; }
  .mappa-lunga .mappa-embed { padding-bottom: 45%; min-height: 220px; }

  /* Galleria quadrata: 2 per riga (1 sugli schermi più piccoli) */
  .galleria { width: calc(100% - 2rem); grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .galleria img { aspect-ratio: 1 / 1; object-fit: cover; }
}
@media (max-width: 480px){
  .galleria { grid-template-columns: 1fr; }
}

/* Banner cookie meno ingombrante su mobile */
#cookie-banner { padding: .75rem .75rem 1rem; font-size: .95rem; }
#cookie-banner button { padding: .45rem .9rem; font-size: .95rem; }

/* ======= MOBILE DESKTOP-LIKE TUNING ======= */

/* 1) Telefono: base più “desktop” (testi più piccoli e compatti) */
@media (max-width: 900px){
  html, body { overflow-x: hidden; }
  body { font-size: 16px; line-height: 1.55; }

  /* Titoli più simili al desktop */
  .section-title {               /* H1 generico */
    font-size: clamp(1.4rem, 3.6vw, 1.7rem);
    margin: 1.5rem 0 1rem;
  }
  .section-title-2 {             /* i tuoi H2 rossi a sinistra */
    font-size: clamp(1.2rem, 3.2vw, 1.45rem);
    margin: 1.5rem 0 1rem 1rem;  /* meno indent */
  }

  /* Header/menu: più compatto, una riga se ci sta */
  .logo { height: 52px; width: auto; }
  .menu { gap: 8px 10px; flex-wrap: wrap; justify-content: center; }
  .menu-btn { font-size: 15px; padding: 8px 14px; }

  /* Claim card: meno grande */
  .claim { width: min(95%, 900px); padding: .9rem 1rem; }
  .claim p { font-size: clamp(1.05rem, 3.4vw, 1.2rem); }

  /* Bande foto iniziali un po’ più basse */
  .gallery-band { height: 26vh; }

  /* 2) TESTO + IMMAGINE: resta affiancato fino a 600px */
  .text-with-image {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem auto;
    padding: 0 1rem;
    flex-direction: row;             /* resta orizzontale */
  }
  .text-with-image .text-content { flex: 0 1 58%; }
  .text-with-image .image-content { flex: 0 1 42%; }
  .text-with-image .text-content h2 { font-size: 1.4rem; margin-bottom: .6rem; }
  .text-with-image .text-content p { font-size: 1rem; }

  /* CTA nel body più discreti */
  .cta-salone .menu-btn,
  .cta-maps .menu-btn,
  .cta-salone-2 .menu-btn {
    padding: 9px 16px;
    font-size: 16px;
  }

  /* Brand/Recensioni: spazi e dimensioni più sobrie */
  .brand-and-reviews { width: min(95%, 100%); margin: 1.25rem auto 1.75rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .review { padding: .9rem; }
  .review .stars { width: 100px; }

  /* Video */
  .video-section { width: min(95%, 100%); margin: 1.5rem auto; }

  /* Contatti */
  .contact-grid { width: min(95%, 100%); grid-template-columns: 1fr; gap: 1rem; }
  .mappa-lunga { width: min(95%, 100%); margin: 1.25rem auto 1.75rem; }
  .mappa-lunga .mappa-embed { padding-bottom: 42%; min-height: 200px; }

  /* Galleria: quadrate e compatte */
  .galleria { width: min(95%, 100%); grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .galleria img { aspect-ratio: 1/1; object-fit: cover; }
}

/* Sotto i 600px impila il blocco testo+immagine */
@media (max-width: 600px){
  .text-with-image { flex-direction: column; }
  .text-with-image .text-content,
  .text-with-image .image-content { flex: 1 1 auto; width: 100%; }
}

/* Banner cookie meno invadente */
#cookie-banner { padding: .7rem .8rem; font-size: .95rem; }
#cookie-banner button { padding: .45rem .9rem; font-size: .95rem; }

/* ===== FINAL MOBILE OVERRIDE (force desktop-like) ===== */
@media (max-width: 900px){
  .logo{height:52px !important; width:auto !important;}
  .menu-btn{padding:8px 14px !important; font-size:15px !important; line-height:1.2 !important;}
  .gallery-band{height:26vh !important;}

  .claim{width:min(95%,900px) !important; padding:.9rem 1rem !important; margin:1rem auto !important;}
  .claim p{font-size:clamp(1.05rem,3.4vw,1.2rem) !important;}

  .intro-text{width:calc(100% - 2rem) !important; margin:1.5rem auto 2rem !important;}
  .intro-text p{font-size:1rem !important;}

  /* Testo + immagine AFFIANCATI fino a ~520px */
  .text-with-image{flex-direction:row !important; align-items:center !important; gap:1rem !important; margin:1rem auto !important; padding:0 1rem !important;}
  .text-with-image .text-content{flex:0 1 58% !important;}
  .text-with-image .image-content{flex:0 1 42% !important;}
  .text-with-image .text-content h2{font-size:1.35rem !important; margin-bottom:.6rem !important;}
  .text-with-image .text-content p{font-size:1rem !important;}

  .brand-and-reviews{width:min(95%,100%) !important; margin:1.25rem auto 1.5rem !important;}
  .video-section{width:min(95%,100%) !important; margin:1.4rem auto !important;}

  /* CTA un filo più piccoli */
  .cta-salone .menu-btn,
  .cta-maps .menu-btn,
  .cta-salone-2 .menu-btn{padding:9px 16px !important; font-size:16px !important;}
}
/* Sotto i 520px impila il blocco testo+immagine */
@media (max-width:520px){
  .text-with-image{flex-direction:column !important;}
  .text-with-image .text-content,
  .text-with-image .image-content{flex:1 1 auto !important; width:100% !important;}
}