* { box-sizing: border-box; margin: 0; padding: 0; }
/* CSS */

    main {
      background-color: #f0f0f0;
      padding: 15px;
      line-height: 1.6;
      max-width: 1200px;
      margin: 0 auto;
      font-family: "Parastoo", serif;
        
      }
      #h2,p intro-seo,h2,p chi-sono-seo{
        text-align: center;
      }
      .contenitore-review{
        display: flex;
        justify-content: center;
      }
      #call-to-action{
        text-align: center;
        font-size:xx-large;
        font-weight: bolder;
      }
      .review {       
        border: 1px solid #ccc;
        border-radius: 12px;
        padding: 16px;
        margin: 10px 0;
        max-width: 600px;
        font-family: Arial, sans-serif;
        box-shadow: 0 0 8px rgba(0,0,0,0.05);
      }
      .stars {
        color: #fbbc04;
        font-size: 18px;
      }
      * .review{
        text-align: center;
      }
      
#servizi{
  text-align: center;
}
.sezioni{
  text-align: center;
}
#descrizione{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  background: white;

}

a li #link {
  text-decoration: none;
  cursor: pointer;
}
p #descrizione{
  text-align: center;
}
    h1 {
      font-size: 2.5rem;
      text-align: center;
      margin: 20px 0;
      color: #2c3e50;
    }

    h2 {
      font-size: 1.8rem;
      color: #34495e;
      margin: 25px 0 15px;
    }

    p {
      margin: 15px 0;
      font-size: 1.1rem;
      text-align: center;

    }

    
    button {
      padding: 12px 24px;
      font-size: 1rem;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      margin: 5px 5px 15px 0;
      transition: background-color 0.3s;
      width: 100%;
      max-width: 300px;
    }

    button:hover {
      background-color: #45a049;
    }

    #prenotazione {
      margin-top: 20px;
      display: block;
      margin: auto;
    }

    #servizi {
      margin-top: 20px;
    }

    table {
      margin-top: 15px;
      width: 100%;
      border-collapse:collapse;
      background-color: white;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }

    th, td {
      border: 1px solid #ddd;
      padding: 12px;
      text-align: left;
    }

    th {
      background-color: #4CAF50;
      color: white;
    }

    tr:nth-child(even) {
      background-color: #f2f2f2;
    }

    label {
      display: block;
      margin: 10px 0 5px;
      font-weight: bold;
    }

    input[type="date"] {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 1rem;
    }

    #risultato {
      font-weight: bold;
      margin-top: 15px;
      padding: 15px;
      background-color: #e8f5e9;
      border-radius: 5px;
    }

    ul {
      list-style: none;
      padding: 20px;
      background: white;
      border-radius: 5px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    li {
      margin: 10px 0;
      font-size: 1.1rem;
    }

    #paypal-button-container {
     
        margin: 1.5rem auto;   /* margine sopra e sotto + centrare orizzontalmente */
        max-width: 300px;      /* larghezza massima per non occupare tutta la pagina */
        display: flex;
        justify-content: center; /* centra il contenuto orizzontalmente */
      
    }
    #logo{
      border-radius: 50%;
      width: 13rem;
      height: 11rem;
      padding: 0;
      margin: 0;
    }
    #header {
      background: linear-gradient(45deg, #e6d3b3, #8b5e3c);
      color: #fff; /* o #5a3a1e per marrone scuro */
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      padding: 2rem;
      margin: 0;
    }
    
    #h1-header {
      margin: 0;
      font-size: 2.5rem;
      color: white;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
      text-align: center;
    }
    #p-header{
      color: white;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
      text-align: center;
      margin: 0;
    }
 /* Stili per il carosello */
 .carousel-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: relative;  /* Importante per il posizionamento dei pulsanti */

}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
min-width: 100%;
height: 400px;
background-size: contain;  /* invece di cover */
background-position: center;
background-repeat: no-repeat;
background-color: #f5f5f5;  /* sfondo chiaro per le immagini più piccole */
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);

}

.carousel-button:hover {
  background: rgba(255,255,255,0.9);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.dot.active {
  background: white;
}

main {
padding: 10px;
max-width: 100%;
}

.whatsapp-button {
  text-decoration: none;
  display:inline-block ;
  width: 100%;
}
ul{
  padding: 0;
  margin-left: 3rem;
}
ul li a{
  font-size:medium;
  text-decoration: none;
}
#whatsapp {
  background-color: #25D366;
  transition: background-color 0.3s;
}

#whatsapp:hover {
  background-color: #128C7E;
}

.fa-whatsapp {
  color: white;
}

.site-footer {
  background-color: #f8f8f8;
  color: #333;
  padding: 30px 15px;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #ddd;
}

.site-footer .container {
  max-width: 1000px;
  margin: 0 auto;
}

.site-footer a {
  color: #0077cc;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ... existing code ... */

#prezzo-container {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#prezzo-container h3 {
  color: #333;
  margin-bottom: 15px;
}

#prezzo-summary {
  font-size: 1.1rem;
  color: #4CAF50;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  main {
    padding: 15px;
    max-width: 100%;
  }
  
  #header {
    padding: 1.5rem;
  }
  
  #logo {
    width: 11rem;
    height: 9rem;
  }
  
  .carousel-slide {
    height: 350px;
  }
  
  button {
    max-width: 250px;
  }
}

@media screen and (max-width: 768px) {
  main {
    padding: 10px;
  }
  
  #header {
    padding: 1rem;
  }
  
  #logo {
    width: 9rem;
    height: 7rem;
  }
  
  #h1-header {
    font-size: 2rem;
  }
  
  .carousel-slide {
    height: 300px;
  }
  
  table {
    display: block;
  }
  
  th {
    display: none;
  }
  
  td {
    display: block;
    padding: 0.5rem;
    text-align: right;
    border-bottom: 1px solid #ddd;
  }
  
  td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
  
  button {
    width: 100%;
    max-width: none;
  }
}

@media screen and (max-width: 480px) {
  #header {
    padding: 0.8rem;
  }
  
  #logo {
    width: 7rem;
    height: 5.5rem;
  }
  
  #h1-header {
    font-size: 1.5rem;
  }
  
  .carousel-slide {
    height: 250px;
  }
  
  #whatsapp {
    width: 100%;
    max-width: 200px;
    margin: 10px auto;
  }
}
@media screen and (max-width: 478px) {
  main {
    padding: 10px;
    width: 100%;
}
#whatsapp {
  display: block;
  margin: 20px auto;
  width: 10rem;
  height: 2rem;
  padding-bottom: 2rem;

}

#header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
  margin-bottom: 3rem;
}

#h1-heade {
  margin-left: 2rem;
  font-size: 2.2rem;
}

#logo {
    width: 120px;
    height: auto;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    padding: 0 10px;
}

table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

button {
    max-width: none;
    width: 90%;
    margin: 10px auto;
}

.carousel-container {
    width: 100%;
    margin: 10px 0;
}

.carousel-slide {
    height: 250px;
}

.carousel-button {
    width: 35px;
    height: 35px;
}
}

@media (max-width: 600px) {
  .site-footer {
    font-size: 13px;
    text-align: center;
  }
}

@media screen and (min-width: 478px) and (max-width: 768px) {
  main {
    padding: 10px;
    width: 100%;
}
#whatsapp {
  display: block;
  margin: 20px auto;
  width: 10rem;
  height: 2rem;
  padding-bottom: 2rem;
}

#header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
  margin-bottom: 3rem;
}

#h1-heade {
  margin-left: 2rem;
  font-size: 2.2rem;
}

#logo {
    width: 120px;
    height: auto;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    padding: 0 10px;
}

table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

button {
    max-width: none;
    width: 90%;
    margin: 10px auto;
}

.carousel-container {
    width: 100%;
    margin: 10px 0;
}

.carousel-slide {
    height: 250px;
}

.carousel-button {
    width: 35px;
    height: 35px;
}
}
/* Aggiungere media queries per dispositivi mobili */

/*
@media screen and (max-width: 768px) {
  main {
      padding: 10px;
      width: 100%;
  }
  #whatsapp {
    display: block;
    margin: 20px auto;
    width: 10rem;
    height: 2rem;
  }

  #header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-image: linear-gradient(135deg, #457fb8 0%, #3a539b 50%, #6dd5fa 100%);
    padding: 1rem;
    margin-bottom: 3rem;
  }
  
  #h1-header {
    margin-left: 2rem;
    font-size: 2.2rem;
  }
  
  #logo {
      width: 120px;
      height: auto;
  }

  h1 {
      font-size: 2rem;
  }

  h2 {
      font-size: 1.5rem;
  }

  p {
      font-size: 1rem;
      padding: 0 10px;
  }

  table {
      display: block;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
  }

  button {
      max-width: none;
      width: 90%;
      margin: 10px auto;
  }

  .carousel-container {
      width: 100%;
      margin: 10px 0;
  }

  .carousel-slide {
      height: 250px;
  }

  .carousel-button {
      width: 35px;
      height: 35px;
  }
}


@media screen and (max-width: 480px) {
  #header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-image: linear-gradient(135deg, #457fb8 0%, #3a539b 50%, #6dd5fa 100%);
    padding: 1rem;
    margin-bottom: 3rem;
  }
  
  #h1-header {
    margin-left: 2rem;
    font-size: 2.2rem;
  }
  
  h1 {
      font-size: 1.5rem;
  }

  .carousel-slide {
      height: 200px;
  }

  table td, table th {
      padding: 8px;
      font-size: 0.9rem;
  }

  ul {
      padding: 10px;
  }

  li {
      font-size: 0.9rem;
      margin: 8px 0;
  }
  #whatsapp {
    display: block;
    margin: 20px auto;
    max-width: 60px;
  padding-bottom: 2rem;
  
}
}
*//* Tablet e dispositivi mobili */
@media screen and (max-width: 768px) {
  /* Layout principale */
  main {
    padding: 10px;
    width: 100%;
    overflow-x: hidden;
  }
  body{
    margin: 0;
  }
  /* Header e logo */
  #header {
    background: linear-gradient(45deg, #e6d3b3, #8b5e3c);
    color: #fff; /* o #5a3a1e per marrone scuro */
    padding: 1rem;
    margin-bottom: 2rem;
  }

  #logo {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
  }

  #h1-header {
    font-size: 1.8rem;
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
  }

  /* Sezione descrizione */
  #descrizione {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  /* Sezioni e servizi */
  .sezioni {
    margin: 1rem 0;
  }

  #servizi {
    margin: 1rem 0;
    padding: 0 10px;
  }

  /* Liste */
  ul {
    margin: 0;
    padding: 15px;
  }

  ul li {
    margin: 8px 0;
    font-size: 0.95rem;
  }

  ul li a {
    font-size: 0.95rem;
  }

  /* Bottoni e pulsanti */
  button {
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Carosello */
  .carousel-container {
    margin: 1rem 0;
    height: auto;
  }

  .carousel-slide {
    height: 200px;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .carousel-dots {
    bottom: 5px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  /* Tabella */
  @media screen and (max-width: 768px) {
    table {
      width: 100%;
      margin: 15px 0;
    }
  
    table, thead, tbody, tr, th, td {
      display: block;
    }
  
    thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
  
    tr {
      margin-bottom: 15px;
      border: 1px solid #ddd;
    }
  
    td {
      border: none;
      position: relative;
      padding: 12px 10px 12px 50%;
      text-align: right;
    }
  
    td:before {
      position: absolute;
      left: 10px;
      top: 12px;
      content: attr(data-label);
      font-weight: bold;
      text-align: left;
    }
  }

  /* Form e input */
  input[type="date"] {
    width: 100%;
    padding: 8px;
    font-size: 0.9rem;
  }

  label {
    font-size: 0.95rem;
    margin: 8px 0 4px;
  }

  /* WhatsApp button */
  #whatsapp {
    width: 100%;
    max-width: 200px;
    margin: 15px auto;
    padding: 10px;
    height: auto;
    margin: auto;
  }

  .whatsapp-button {
    width: 100%;
    text-align: center;
  }

  /* PayPal container */
  #paypal-button-container {
    width: 100%;
    max-width: 250px;
    margin: 1rem auto;
  }
}

/* Smartphone piccoli */
@media screen and (max-width: 480px) {
  #h1-header {
    font-size: 1.5rem;
  }

  #logo {
    width: 80px;
  }

  .carousel-slide {
    height: 150px;
  }
  table{
    width: 100%;
  }
  button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  p {
    font-size: 0.9rem;
  }
  #header {
    background: linear-gradient(45deg, #e6d3b3, #8b5e3c);
    color: #fff; /* o #5a3a1e per marrone scuro */
    padding: 1rem;
    margin-bottom: 2rem;
  }
  #whatsapp {
    max-width: 180px;
    margin: auto;
  }
}