* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #fce0d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    z-index: 999;
}

.logo img {
    height: 150px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #a05542;
}

.hero {
    background: url('cover.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.hero h1 {
    display: none;
}


.calendario,
.camere,
.recensioni,
.blog,
footer {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #a05542;
}

.camere, .blog {
    padding: 40px 20px;
    margin-bottom: 0;
}

/* ----- SEZIONE CAMERE RESPONSIVE ----- */

/* Layout PC/tablet */
.camere .flex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.camera {
  background: #fff4f0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
  flex: 1 1 340px;
  max-width: 380px;
  min-width: 270px;
  box-sizing: border-box;
  width: 100%;
}

.camera .swiper {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  height: 230px;
}

.camera .swiper-slide img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
}

/* ----------- Mobile: una colonna ----------- */
@media (max-width: 900px) {
  .camere .flex-grid {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0;
  }
  .camera {
    width: 97vw;
    max-width: 97vw;
    min-width: 0;
    padding: 13px 4px;
    margin-bottom: 22px;
  }
  .camera .swiper {
    height: 55vw;
    min-height: 160px;
    max-width: 97vw;
  }
  .camera .swiper-slide img {
    height: 55vw;
    min-height: 160px;
  }
}


.recensioni {
    background-color: #fce0d6;
    padding: 40px 20px;
}

.recensione {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    flex: 1 1 280px;
    max-width: 360px;
}

.blog article {
    flex: 1 1 300px;
    max-width: 400px;
    background: #fff4f0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.blog a {
    text-decoration: none;
    color: #a05542;
    font-weight: bold;
}

footer {
    background: #a05542;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

footer .footer-logo {
    margin-bottom: 20px;
}

footer .footer-logo img {
    height: 120px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer .social img {
    height: 24px;
    width: 24px;
    margin-top: 10px;
    filter: brightness(100%);
    transition: opacity 0.3s;
}

footer .social img:hover {
    opacity: 0.7;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background: #fce0d9;
        position: absolute;
        right: 10px;
        top: 60px;
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .flex-grid {
        flex-direction: column;
        align-items: center;
    }
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* ridotto da 30px */
    padding: 0 20px;
}


.flex-grid > div,
.flex-grid > article {
    flex: 1 1 300px;
    max-width: 400px;
    background: #fff4f0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* SwiperJS: immagini camere */
.swiper {
  width: 100%;
  height: 220px;
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.swiper-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.galleria {
    background: #fce0d6; /* Stesso colore delle testimonianze */
    text-align: center;
    padding: 50px 20px 35px 20px;
}

.galleria h2 {
    color: #a05542;
    margin-bottom: 28px;
}

.galleria .swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fce0d6;
  border-radius: 18px;
  padding: 30px 0;
}

.galleria .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Qui decidi la misura del box */
  height: 100px;   /* Cambia questa per piÃ¹ alto o basso */
}

.galleria img {
  width: 340px;
  height: 340px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .galleria .swiper {
    max-width: 100vw !important;
    padding: 7vw 0 !important;
  }
  .galleria .swiper-slide {
    height: 60vw !important; /* rettangolo orizzontale, NON quadrato */
    min-height: 170px !important;
    max-height: 280px !important;
  }
  .galleria img {
    width: 94vw !important;
    max-width: 98vw !important;
    height: 60vw !important;
    min-height: 170px !important;
    max-height: 280px !important;
    border-radius: 13px !important;
  }
}

.comfort {
    text-align: center;
    padding: 40px 20px;
}
.comfort-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-top: 20px;
}

.comfort-box {
  background: #fff4f0;
  color: #a05542;
  border-radius: 10px;
  padding: 18px 24px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.icon {
  font-size: 1.5em;
}

.stars {
  color: gold;
  font-size: 1.2em;
  margin-bottom: 7px;
}