/* Sezione Hero */
.hero {
  height: 70vh; /* altezza copertina */
  background: url("img/giardino.jpg") no-repeat center top; /* foto centrata in alto */
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* sfumatura scura per rendere leggibile il testo */
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3em;
  margin: 0;
}

.hero p {
  font-size: 1.5em;
  margin-top: 10px;
}

/* Sezione descrizione */
.descrizione {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  background-color: #f9f9f9; /* colore di sfondo chiaro */
  border-radius: 10px;       /* angoli arrotondati */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* leggero effetto ombra */
}

.descrizione h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #2c3e50;
}

.descrizione p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

/* Menu di navigazione */
header {
  background: #2c3e50;
  padding: 15px;
  text-align: left;
}

nav a {
  display: inline-block;
  background: #34495e;     /* colore pulsante */
  color: white;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

nav a:hover {
  background: #1abc9c;    /* colore quando passo sopra */
  transform: scale(1.05); /* leggero ingrandimento */
}

/* Sezione Servizi */
.servizi {
  background-color: #c8e6c9; /* verde medio */
  padding: 50px 10px;
  text-align: center;
}

.servizi h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #2c3e50;
}

.servizi-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.servizio {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.servizio h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #1abc9c;
}

.servizio p {
  color: #444;
  font-size: 1em;
}

.hero p {
  font-size: 1.5em;
  margin-top: 10px;
  color: #f1f1f1;  /* testo chiaro per staccare dallo sfondo */
  font-weight: 400;
}

/* PAGINA CAMERE */
.camere {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.camere h1 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.camere p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

.lista-camere {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.camera {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.camera img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.camera h2 {
  font-size: 1.5em;
  margin: 15px 0 10px;
  color: #27ae60;
}

.camera p {
  margin: 0 15px 10px;
  color: #444;
}

.cta {
  font-size: 1.3em;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 30px;
}

.cta a {
  color: #27ae60;
  text-decoration: none;
  font-weight: bold;
}

.cta a:hover {
  color: #1e8449;
  text-decoration: underline;
}
/* PAGINA CONTATTI */
.contatti {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.contatti h1 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.contatti p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 20px;
}

.info-contatti p {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-contatti a {
  color: #27ae60;
  text-decoration: none;
}

.info-contatti a:hover {
  text-decoration: underline;
}

.mappa-info {
  margin-top: 20px;
  font-style: italic;
  color: #888;
}
/* ICONA WHATSAPP */
.whatsapp {
  margin: 30px 0;
}

.whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}

.whatsapp a:hover {
  background: #1EBE57;
  transform: scale(1.05);
}

.whatsapp img {
  width: 28px;
  height: 28px;
}
/* FORM CONTATTI */
.form-contatti {
  max-width: 600px;
  margin: 30px auto;
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  text-align: left;
}

.campo label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #2c3e50;
}

.campo input,
.campo textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.campo input:focus,
.campo textarea:focus {
  border-color: #27ae60;
  outline: none;
}

.btn-invia {
  display: inline-block;
  width: 100%;
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-invia:hover {
  background: #1e8449;
}
/* PAGINA DI CONFERMA */
.conferma {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  background: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.conferma h1 {
  font-size: 2em;
  color: #27ae60;
  margin-bottom: 20px;
}

.conferma p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

.btn-torna {
  display: inline-block;
  background: #27ae60;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-torna:hover {
  background: #1e8449;
}
/* Stile per la mappa */
.map-container {
  margin: 30px auto;
  max-width: 900px;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* rapporto 16:9 */
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* GALLERY */
.gallery {
  text-align: center;
  padding: 40px 20px;
}

.gallery h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.gallery p {
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #555;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.grid-gallery img:hover {
  transform: scale(1.05);
}

/* GALLERY */
.gallery {
  text-align: center;
  padding: 40px 20px;
}

.gallery h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.gallery p {
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #555;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.grid-gallery img:hover {
  transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #27ae60;
}

/* FOOTER */
.footer {
  background-color: #1b5e20; /* verde scuro */
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #c8e6c9;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9em;
  opacity: 0.8;
}
/* BANNER COOKIE */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1b5e20;
  color: white;
  padding: 15px 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 1em;
}

.cookie-banner button {
  background: white;
  color: #1b5e20;
  border: none;
  padding: 8px 15px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-banner button:hover {
  background: #c8e6c9;
}




