/* =============================== */
/* STILI GENERALI DELLA PAGINA della Bottiglieria */
/* =============================== */

/* Contenitore principale */
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* INTRO */
.sezione-intro {
  background-color: var(--colore-grigio);
  padding: 60px 20px;
  text-align: center;
}

.intro-text h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.3rem;
  color: #222;
  margin: 10px 0;
}

.intro-btn {
  display: inline-block;
}

/* IMMAGINE INTRO */
.sezione-intro-immagine {
  position: relative;
  text-align: center;
}

.sezione-intro-immagine .topbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--colore-grigio);
  z-index: 0;
}

.intro-image {
  position: relative;
  z-index: 2;
  width: 50%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .intro-image {
    width: 80%;
  }
}


/* =============================== */
/* SEZIONE CONTENUTI */
/* =============================== */
.sezione-servizi h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sezione-servizi p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .two-columns {
    grid-template-columns: 1fr;
  }
}

.sezione-servizi img {
  width: 100%;
  border-radius: 15px;
}

.sezione-servizi {
  margin: 50px auto 50px auto;
}

/* Griglia servizi */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .servizi-grid {
    grid-template-columns: 1fr;
  }
}

.servizio {
  padding: 10px 20px;
}

.servizio-icona {
  height: 70px;
  margin-bottom: 15px;
}

.servizio h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.servizio p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 350px;
}

.hero {
  min-height: 5rem;
}

.cta-buttons {
  margin-top: 1.5rem;
}

.noi-info h3 {
  margin-bottom: 1.5rem;
}

/* =========================
   Hero bottiglieria
========================= */
.hero .hero-content {
  position: relative;
  max-width: 900px;
  padding: 3rem 1.5rem;
}

.hero-compact {
  min-height: 0 !important;
  max-height: none !important;
  padding: 2rem 1rem !important;
}

@media (min-width: 992px) {
  .hero-compact {
    padding: 0.5rem 0 !important;
  }

  .hero-compact .hero-content {
    padding: 4rem 1rem !important;
  }
}

.hero-compact .btn-hero {
  margin: 0 auto;
}


/* =========================
   VIDEO BOX
========================= */

.video-box {
  margin-top: 4rem;
  border-radius: 12px;
  overflow: hidden;
  /* fondamentale per tagliare il video */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.video-box video {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   MAPPA + BOX INFO
========================= */

.map-section h2 {
  margin-bottom: 16px;
}

/* Contenitore mappa */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* Iframe Google Maps */
.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Box info sovrapposto */
.map-info {
  position: absolute;
  top: 50px;
  left: 50px;
  max-width: 350px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.map-info h4 {
  margin: 0 0 4px 0;
  font-size: 20px;
}

.map-info p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.map-info a {
  color: #f7a001;
  font-size: 16px;
  text-decoration: none;
}


/* =========================
   COME FUNZIONA
========================= */
.how-it-works h2 {
  margin-bottom: 24px;
}

/* Griglia principale */
.how-grid {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: auto;
}

/* Immagine */
.how-image img {
  object-fit: cover;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Colonna step */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Singolo step */
.how-step {
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Numero */
.step-number {
  font-size: 50px;
  font-weight: 800;
  color: #f7a001;

}

/* Testo */
.how-step p {
  text-align: left;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   negozi e contatti
   ========================== */
.section-item {
  background-color: #ffffff;
  padding-top: 3rem;
  border-radius: 0;
}

/* ==========================
   FAQ - Bottiglieria
   ========================== */


/* Titolo centrato */
.faq-title {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 24px;
}

/* Contenitore FAQ */
.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Singolo box FAQ */
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  /* stessa ombra delle immagini */
  overflow: hidden;
}

/* Rimuove triangolo di default */
.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Domanda */
.faq-item summary {
  cursor: pointer;
  padding: 16px 48px 15px 16px;
  font-size: 1.1rem;
  /* +2px rispetto al testo */
  position: relative;
  line-height: 1.4rem;
}

/* Freccia a destra */
.faq-item summary::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.25s ease;
  color: var(--colore-secondario);
}

/* Freccia ruotata quando aperto */
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

/* Contenuto */
.faq-content {
  padding: 0 16px 16px 16px;
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}

/* Link nel testo */
.faq-content a {
  color: var(--colore-secondario);
  text-decoration: none;
}

.faq-section {
  padding-bottom: 80px;
  /* regola il valore in base al footer */
  max-width: 650px;
}