/* =========================================================
   STYLE.CSS - COMPLETO + RESPONSIVE MOBILE/IPHONE
   ========================================================= */

*{
  color: #B7B6B7;
  font-family: 'Lato', sans-serif;
  box-sizing: border-box;
}

.container-xxl{
  max-width: 1600px !important;
}

html, body{
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ✅ evita blocchi pagina su iPhone */
html, body{
  overflow-x: hidden;
  overflow-y: auto;
}

body{
  background: #0D161B;
  padding-top: 80px; /* altezza barra menu */
}

/* =========================
   NAVBAR
   ========================= */
.barra_menu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  height: 80px;
  background-color: #141F25;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 22px rgba(0,0,0,0.55);
  white-space: nowrap;
}

.barra_menu a{
  text-decoration: none;
  color: #B7B6B7;
}

.menu{
  display: grid;
  align-items: center;
}

.seleziona{
  display: inline;
  padding-top: 25px;
  text-align: right;
}

.logo{
  text-align: left;
}

.logo img,
img.logo{
  width: auto;
  max-height: 45px;
  height: auto;
  display: block;
  padding-top: 15px;
}

.icona_menu,
.icona_lingua{
  width: 26px;
  height: auto;
  display: block;
}

.icona_menu{
  display: none; /* desktop */
}

/* =========================
   DROPDOWN LINGUE
   ========================= */
.btn-lingua{
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
}

.lingua-box{
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-lingua{
  position: absolute;
  right: 0;
  top: 65px;
  background: #141F25;
  padding: 6px;
  border-radius: 10px;
  z-index: 999999;
  border: 1px solid rgba(255,255,255,0.15);
  min-width: 120px;
}

.lingua-link{
  display: block;
  padding: 8px 14px;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
}

.lingua-link:hover{
  background: rgba(255,255,255,0.12);
}

.nascosto{
  display: none !important;
}

/* =========================
   HOME BANNER (se usato in alcune pagine)
   ========================= */
.foto_banner{
  padding: 0px;
  height: 100vh;
  position: relative;
}

.foto_banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vuoto_2{
  height: 80px;
}

.barra_annuncio{
  background-color: #141F25;
  padding: 20px 0px;
  z-index: 50;
  position: absolute;
  right: 0;
  top: 35%;
  width: 50%;
}

.genitore_flex_annuncio{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.flex_item_annuncio{
  padding: 20px 50px;
}

.flex_item_annuncio p{
  color: #B7B6B7;
  font-size: 20px;
}

.flex_item_annuncio h2{
  color: #B7B6B7;
  margin-bottom: 20px;
}

/* =========================
   CONTATTI
   ========================= */
.banner_contatti{
  padding: 0px;
  position: relative;
}

.foto_banner_contatti{
  background-image: url(images/banner_contatti.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 800px;
}

.genitore_flex{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 15px;
}

.container{
  padding: 250px 150px 0px 200px;
  background-color: transparent;
}

.flexino{
  width: 50%;
  background-color: transparent;
}

.contatti{
  font-size: 20px;
  background-color: transparent;
}

.titolo{
  font-size: 50px;
  background-color: transparent;
  padding-bottom: 40px;
}

.titolo p{
  color: #FFFFFF;
}

.informazioni,
.orari{
  font-size: 25px;
  color: #FFFFFF;
}

.informazioni p,
.orari p{
  color: #FFFFFF;
}

.informazioni img{
  width: 40px;
  margin: 0px 30px 0px 0px;
}

.trasparente{
  background-color: transparent !important;
}

/* =========================
   AZIENDA
   ========================= */
.info_azienda{
  background-color: #141F25;
  padding-top: 100px;
  font-size: 20px;
}

h3{
  font-size: 40px;
  padding-bottom: 25px;
}

.genitore_flex_azienda{
  display: flex;
  padding: 100px 0px;
  gap: 200px;
}

.flex_item_azienda{
  width: calc(50% - 10px);
}

.flex_item_azienda img{
  width: 500px;
  max-width: 100%;
  box-shadow: 15px 15px #0D161B;
}

/* =========================
   MARCHE
   ========================= */
.barra_download{
  background-color: #B7B6B7;
  padding: 20px 0px;
}

.vuoto{
  height: 150px;
}

button{
  background-color: #0D161B;
  width: 150px;
  height: 50px;
  border-radius: 100px;
  border: 1px solid #0D161B;
  font-size: 18px;
}

button:hover{
  background-color: #20333d;
}

button img{
  width: 30px;
}

#btnTop{
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: 1px solid #000000;
  outline: none;
  background-color: #0D161B;
  color: white;
  cursor: pointer;
  border-radius: 100px;
  font-size: 18px;
}

#btnTop:hover{
  background-color: #20333d;
}

.genitore_flex_download{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.flex_item_download{
  width: calc(50% - 12px);
  text-align: center;
}

.flex_item_download p{
  color: #000000;
  font-size: 22px;
  font-weight: 500;
}

.titolazione{
  color: #000000;
  padding-top: 50px;
  padding-left: 45px;
}

.lettere{
  background-color: #0D161B;
  color: #B7B6B7;
  margin: 50px 45px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}

.lett_link{
  text-decoration: none;
  background-color: #0D161B;
  color: #B7B6B7;
  font-size: 20px;
}

.lett_link:hover{
  background-color: #20333d;
  color: #B7B6B7;
}

.genitore_flex_marche{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 40px;
}

.flex_item_marche{
  text-align: center;
  width: calc(20% - 9px);
}

.card-body{
  background-color: #B7B6B7;
}

.card-text{
  color: #000000;
  font-size: 20px;
}

/* =========================
   FOOTER (PAGINE INTERNE)
   ========================= */
.footer_mowe{
  padding: 25px 15px 20px 15px; /* ✅ meno spazio rispetto a prima */
  background-color: #0D161B !important;
}

.footer_mowe p{
  margin: 0 !important;              /* ✅ compatto */
  padding: 0 !important;
  line-height: 1.25 !important;
}

.indirizzo_footer a,
.link_pagine a{
  text-decoration: none;
  color: #B7B6B7;
}

.indirizzo_footer a:hover,
.link_pagine a:hover{
  text-decoration: underline;
}

.link_pagine p{
  margin: 5px 0 !important;
}

.social{
  text-align: center;
  padding-top: 10px; /* ✅ più compatto */
  white-space: nowrap;
}

.social img{
  width: 50px;
  margin: 5px;
}

.riga_finale{
  opacity: 60%;
  text-align: center;
  margin-top: 35px;
}

.riga_finale img{
  width: 20px;
  height: 20px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media screen and (max-width: 1200px){
  .container{
    padding: 250px 50px 0px 50px;
  }

  .genitore_flex_azienda{
    gap: 100px;
  }
}

@media screen and (max-width: 1100px){
  .genitore_flex_azienda img{
    width: 400px;
  }

  h3{
    white-space: nowrap;
  }
}

@media screen and (max-width: 870px){
  .genitore_flex_azienda img{
    width: 400px;
  }

  .genitore_flex_azienda{
    flex-wrap: wrap-reverse;
  }

  .flex_item_azienda{
    width: 100%;
  }

  .foto_azienda{
    text-align: center;
  }

  .genitore_flex_download{
    display: block;
    text-align: center;
  }

  .flex_item_download{
    width: 100%;
  }

  .barra_annuncio{
    top: 20%;
    width: 60%;
  }
}

@media screen and (max-width: 767px){

  /* menu su mobile: nascondi testo, mostra icone */
  .nascondi{
    display: none !important;
  }

  .icona_menu{
    display: inline-block;
    margin-right: 15px;
  }

  img.logo{
    max-height: 34px;
  }

  .container{
    padding: 200px 0px 0px 0px;
  }

  .flexino{
    width: 100%;
  }

  .lettere{
    margin: 0px 0px 40px 0px;
  }

  .vuoto{
    display: none;
  }

  /* footer centrato */
  .indirizzo_footer,
  .link_pagine,
  .social{
    text-align: center;
    margin-bottom: 20px;
  }
}

/* mobile landscape */
@media (max-width: 767px) and (orientation: landscape){
  .barra_menu{
    height: 70px;
  }
  body{
    padding-top: 70px;
  }
  .dropdown-lingua{
    top: 55px;
  }
}
