/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  line-height: 1.6;
}

 .menu-mobile {
    display: none;
  }

/* LOGO */
header {
  text-align: center;
  padding: 20px;
}

.logo {
  max-width: 200px;
  height: auto;
}

/* CONTAINER ESTERNI (fondi e clip) */
.containerExt1,
.containerExt2,
.containerExt4,
.containerExt6,
.containerExt8 {
  background-color: #000;
  color: #fff;
}
.containerExt2,
.containerExt4,
.containerExt6,
.containerExt8 {
  position: relative;
  z-index: 2;
}
.containerExt2 {
  clip-path: polygon(0 0, 100% 0, 100% 99.5%, 0 100%);
}
.containerExt4 {
  clip-path: polygon(0 0, 100% 0, 100% 99.5%, 0 100%);
}
.containerExt6 {
  clip-path: polygon(0px 20px , 100% 0px, 100% 100%, 0 100%)
}
.containerExt8 {
  clip-path: polygon(0px 20px , 100% 0px, 100% 100%, 0 100%)
  padding-top: 58px;
}

.containerExt3,
.containerExt5,
.containerExt7 {
  background-color: #fff;
  color: #000;
  position: relative;
  z-index: 1;
}

/* CONTAINER INTERNI */
.containerInt1,
.containerInt2,
.containerInt3,
.containerInt4,
.containerInt5,
.containerInt6,
.containerInt7,
.containerInt8 {
  width: 97%;
  max-width: 2000px;
  margin: 0 auto;
}
.containerInt2 {
  height: 57%;
}
.containerInt3 {
  margin-top: 120px;
  margin-bottom: 120px;
}
.containerInt4 {
  height: 100%;
}
.containerInt6 {
  padding-top: 40px;
}

/* FOTO STUDIO */
.studio-photo img.full-width {
  width: 100%;
  height: auto;
  display: block;
}

/* SEZIONI COMUNI */
section {
  padding: 40px 20px;
  text-align: center;
}

h2 {
  color: #eee;
  margin-bottom: 20px;
  font-size: 2em;
}

/* GRID COMUNI */
.servizi-grid,
.lavori-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* SERVIZI */
.servizi-grid div,
.lavori-grid a {
  background-color: #111;
  padding: 15px;
  border-radius: 8px;
}

.servizi-grid img,
.lavori-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* LAVORI */
.lavori-grid a {
  text-decoration: none;
  color: #fff;
  display: block;
}
.lavori-grid a:hover {
  background-color: #222;
}

/* CONTATTI */
.contatti img.full-width {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.email {
  background-color: #222;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 5px;
  color: #e10600;
  font-weight: bold;
}

/* HEADER con menu */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-box .logo {
  max-width: 160px;
  height: auto;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.menu-right ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu-right a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.menu-right a:hover {
  color: #e10600;
}

/* TESTO INTRO */
.intro-text,
.intro {
  text-align: center;
  padding: 30px 20px;
  font-size: 1.1em;
}
.intro-text {
  background-color: #fff;
}
.intro {
  color: #ccc;
}

/* FOOTER */
.site-footer {
  background-color: #000;
  text-align: center;
  padding: 30px 10px;
  color: #fff;
  font-size: 0.9em;
  border-top: 1px solid #222;
  margin-top: 40px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons img {
  width: 32px;
  margin: 0 10px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.social-icons img:hover {
  filter: grayscale(0%);
}

/* UTILITIES BG */
.bg-black {
  background-color: #000;
  color: #fff;
}

.bg-white {
  background-color: #fff;
  color: #000;
}

.bg-lightgray {
  background-color: #f5f5f5;
  color: #000;
}

/* Titoli su sfondi chiari: miglior contrasto */
.bg-white h2,
.bg-lightgray h2 {
  color: #111;
}

.bg-white p,
.bg-lightgray p {
  color: #111;
}

/* SPOTIFY LINK */
.spotify-link {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #000;
}

.spotify-link img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.spotify-link:hover img {
  transform: scale(1.05);
}

.spotify-link p {
  margin-top: 10px;
  font-weight: bold;
}

/* PORTFOLIO */
#portfolio {
  color: #000;
}
#portfolio h2 {
  color: #000;
}
/* CONTATTI */
#contatti {
  color: #fff;
}
#contatti h2 {
  color: #fff;
}
#booking h2 {
  color: #000;
}
/* Booking */
.booking-form {
  max-width: 860px;
  margin: 6px auto 0;
}
.booking-form .grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.booking-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 6px;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  background: #fff;
  color: #000;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}
.booking-form .full {
  grid-column: 1 / -1;
}
.booking-form .consent {
  align-items: center;
  flex-direction: row;
  gap: 10px;
  font-weight: 500;
}
.booking-form .hp {
  position: absolute;
  left: -5000px;
}
.smallprint {
  opacity: 0.75;
  font-size: 0.92rem;
  margin-top: 10px;
}
.alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.alert-success {
  background: #00e835;
  border: 1px solid #1f6b30;
  color: #000;
  margin: 0 auto;
  width: 65%;
}
.alert-error {
  background: #e10600;
  border: 1px solid #6b1f1f;
  color: #fff;
  margin: 0 auto;
  width: 65%;
}
.btnForm {
  display: inline-block;
  background: #e10600;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  font: inherit; /* usa lo stesso font del testo circostante */
  line-height: normal;
  background: #e10600; /* ridondante ma sicuro */
}
button.btn:focus {
  outline: none; /* facoltativo, per togliere il contorno blu */
}
#prenota {
  background-color: #e10600;
  padding: 5px;
  border-radius: 8px;
}
#prenota a {
  text-decoration: none;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .servizi-grid,
  .lavori-grid {
    grid-template-columns: 1fr;
  }
  .containerInt2 {
    height: 57%;
  }
  .containerInt3 {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.5em;
  }

  /* Responsive: nascondi il menu su mobile */
 .menu-right {
    display: none;
  }
.menu-mobile {
  display: flex;
  justify-content: center;   /* era space-between */
  align-items: center;
  padding: 20px 0;
  width: 100%;               /* assicura la piena larghezza per il centraggio */
}

.menu-mobile ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;   /* centra anche gli <li> all'interno */
}
  .menu-mobile a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

  .logo {
    margin: 0 auto;
  }

  .main-header {
    justify-content: center;
  }

  /* Adatta header */
  .header {
    flex-direction: column;
  }
  .booking-form .grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}