body {
  font-family: "Readex Pro", sans-serif; /* Corretto il nome del font */
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  position: relative;
  background: #fff;
  color: #000;
}

/* ---------- NAVIGAZIONE E MENU ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Spaziatura tra logo e menu */
  background-color: #e82d8a;
  padding: 10px 20px;
  position: relative;
  z-index: 1000; /* Assicura che il menu sia sempre in primo piano */
}

/* Logo */
.logo {
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0; /* Impedisce al logo di restringersi */
}

.logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* Menu principale */
#menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  transition: all 0.3s ease;
}

#menu li {
  margin-left: 20px;
}

#menu li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#menu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
/* Menu burger per dispositivi mobili */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001; /* Sopra il menu mobile */
}

.burger-menu div {
  width: 100%;
  height: 3px;
  background-color: #ffffff; /* Bianco puro con valore esatto */
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1); /* Leggera ombra per migliorare visibilità */
}

/* Animazione per il burger menu quando è attivo */
.burger-menu.active div:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: #ffffff; /* Mantiene il colore bianco quando attivo */
}

.burger-menu.active div:nth-child(2) {
  opacity: 0;
}

.burger-menu.active div:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: #ffffff; /* Mantiene il colore bianco quando attivo */
}

/* ---------- MEDIA QUERIES PER MENU RESPONSIVE ---------- */
@media (max-width: 768px) {
  .burger-menu {
    display: flex; /* Mostra il burger menu su schermi piccoli */
  }
  
  #menu {
    position: fixed;
    top: 0;
    right: -100%; /* Inizialmente fuori dallo schermo */
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(232, 45, 138, 0.95); /* Sfondo rosa semi-trasparente invece di trasparente */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }
  
  #menu.active {
    right: 0; /* Mostra il menu quando è attivo */
  }
  
  #menu li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  #menu li a {
    display: block;
    padding: 12px;
    width: 100%;
    font-size: 20px;
    color: white; /* Assicura che il testo del menu sia bianco */
  }
  
  /* Assicura che le linee del burger siano sempre bianche */
  .burger-menu div {
    background-color: #ffffff;
  }
}

/* ---------- SEZIONE HERO ---------- */
.mainTitle {
  font-size: 4rem;
  font-family: "Readex Pro", sans-serif;
  z-index: 2;
  font-weight: bold;
  margin: 30px auto;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

#sensitive-art {
  height: 100vh;
  width: 100%;
  background-image: url("img/IMG_3233.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#sensitive-art::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* ---------- TITOLI E PARAGRAFI ---------- */
h2 {
  font-size: 4rem;
  font-family: "Readex Pro", sans-serif;
  font-weight: bold;
  color: #e82d8a;
  margin-bottom: 30px;
  z-index: 2;
  position: relative;
}

.paragrafo {
  font-size: 1.8rem;
  font-family: "Readex Pro", sans-serif;
  z-index: 2;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.6;
  color: #fff;
}

.paragrafoBlack {
  font-size: 1.5rem;
  font-family: "Readex Pro", sans-serif;
  z-index: 2;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.6;
  color: black;
}

/* ---------- SEZIONE CHI SONO ---------- */
#chisono {
  text-align: center;
  padding: 40px 20px;
}

.chi-sono-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.chi-sono-text {
  padding-top: 20px;
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
}

.chi-sono-image {
  margin-bottom: 20px;
}

.img-cerchio {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ---------- SEZIONE LABORATORI ---------- */
#laboratori {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 20px;
}

.laboratori-container {
  margin-bottom: 30px;
}

/* ---------- SWIPER SLIDESHOW ---------- */
swiper-container {
  width: 100%;
  height: 500px;
  margin: 60px auto;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- SEZIONE CONTATTAMI ---------- */
#contattami {
  background-color: #e82d8a;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  color: white;
}

#contattami h2 {
  font-family: "Readex Pro", sans-serif;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input, textarea {
  padding: 12px;
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #d5008f;
  box-shadow: 0 0 0 3px rgba(213, 0, 143, 0.2);
}

button {
  padding: 12px 20px;
  background-color: #d5008f;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #52dbfd;
}

/* ---------- SEZIONE DOVE TROVARMI ---------- */
#dove-trovarmi {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* ---------- FOOTER E CONTATTI ---------- */
#footer {
  background-color: #e82d8a;
  padding: 30px 20px;
  text-align: center;
  color: white;
}

#Contatti h2 {
  color: rgb(255, 255, 255);
  font-size: 28px;
  margin-bottom: 20px;
}

.contatti-list {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.contatti-list li {
  margin-bottom: 15px;
  font-size: 18px;
}

.contatti-list a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 20px;
}

.contatti-list a:hover {
  text-decoration: underline;
  color: #52dbfd;
}
/* ---------- SWIPER SLIDESHOW RESPONSIVO ---------- */
swiper-container {
  width: 100%;
  height: auto; /* Altezza automatica invece di fissa */
  margin: 40px auto;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  height: auto; /* Altezza basata sul contenuto */
}

.laboratorio-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3/4; /* Mantiene proporzioni consistenti */
}
#laboratori-specifici h2 {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.laboratori-specifici-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}
.laboratorio-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 20px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.2s;
}
.laboratorio-card:hover {
    transform: translateY(-5px) scale(1.03);
}
.laboratorio-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.laboratorio-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #222;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
.laboratorio-link:hover {
    background: #444;
}

/* Media queries specifiche per lo swiper */
@media (max-width: 768px) {
  swiper-container {
    height: auto;
    margin: 30px auto;
  }
  
  swiper-slide {
    height: auto;
  }
  
  .laboratorio-image {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  swiper-container {
    margin: 20px auto;
  }
  
  .laboratorio-image {
    max-height: 250px;
  }
}
/* ---------- MEDIA QUERIES RESPONSIVE ---------- */
@media (max-width: 768px) {
  .mainTitle {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .paragrafo, .paragrafoBlack {
    font-size: 1.2rem;
  }

  .img-cerchio {
    width: 150px;
    height: 150px;
  }

  #contattami {
    padding: 20px;
    max-width: 90%;
  }

  swiper-container {
    height: 350px;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .mainTitle {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .paragrafo, .paragrafoBlack {
    font-size: 1rem;
  }

  .img-cerchio {
    width: 120px;
    height: 120px;
  }

  #contattami {
    padding: 15px;
    max-width: 100%;
  }

  swiper-container {
    height: 250px;
  }

  .map-container iframe {
    height: 300px;
  }
  

