body {
    font-family: 'Merriweather';
    padding-top: 100px
}

h1 {
    color: #007bff;
}


.container, .card, .box {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}


/* Classe per i paragrafi info-text */
.info-text {
  font-family: 'Merriweather', serif;  /* Font elegante */
  font-size: 18px;                      /* Dimensione testo leggibile */
  color: #333333;                      /* Colore grigio scuro */
  line-height: 1.6;                    /* Spaziatura riga per leggibilità */
  margin: 15px 0;                     /* Spazio sopra e sotto */
  max-width: 700px;                   /* Larghezza massima per contenuto più compatto */
  margin-left: auto;
  margin-right: auto;                 /* Centrare il testo */
}




.navbar ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #ffffff; /* Sfondo bianco */
  width: 100%;
  border-radius: 0;          /* Nessun angolo arrotondato se vuoi tutto a filo */
  box-shadow: none;          /* ✅ Elimina l'effetto bordo/ombra */
  position: relative;
  z-index: 1000;
}


   .room-icons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-availability-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

}

/* NAVBAR ELEGANTE DIVISA */
nav.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100px;
    padding: 20px 0px;
    font-family: 'Merriweather';
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* NAVBAR BRAND STILE ELEGANTE */
.navbar-brand {
    font-family: 'Merriweather '; /* Font moderno */
    font-size: 1.2rem; /* Grandezza del logo */
    font-weight: 600; /* Più spesso */
    color: #333333; /* Grigio scuro professionale */
    letter-spacing: 1.5px; /* Spaziatura tra le lettere */
    text-transform: uppercase; /* Tutto maiuscolo */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-brand:hover {
    color: #007bff; /* Azzurro elegante al passaggio */
    transform: scale(0.95); /* Leggero ingrandimento all'hover */
}

/* Sezione menu centrale */
.navbar-nav {
    display: flex;
    gap: 10px;
    margin: 0;
    list-style: none;
}
.navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: #007bff;
    transform: translateY(-1px); /* piccolo movimento verso l'alto all'hover */
}

/* Bottone a destra */
.btn-prenota {
    background-color: #33adff;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Merriweather', sans-serif; /* <<--- FONT AGGIUNTO */
    top: 10px;
    position: relative;
}
.btn-prenota:hover {
    background-color: #1a94e0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .navbar ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* evita che il testo resti tutto a sinistra */
    padding: 20px;           /* spazio interno al menu */
    gap: 15px;               /* spazio tra i link */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    margin: 0;
  }

  .navbar ul li a {
    width: 100%;
    font-size: 1rem;
    padding-left: 10px;
  }

  .btn-prenota {
    margin-top: 20px;
    align-self: center;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #33adff;
    color: white;
    font-size: 1rem;
  }
}

/* HERO SECTION */
.hero-container {
    background-image: url('../images/open1.jpg'); /* <-- Sostituisci con il tuo file */
    background-size: cover;
    background-position: center;
    height: 800px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;

}

.hero-content {
text-align: center;
}

.hero-content h1 {
    font-family: 'Merriweather', serif; /* Font elegante per titoli */
    font-size: 3rem; /* Più grande */
    font-weight: 700;
    color: #ffffff; /* Bianco puro */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Leggera ombra */
    margin-bottom: 20px;
    transform: translateY(100px); /* sposta tutto 100px più in basso */

}

.hero-content p {
    font-family: 'Merriweather', sans-serif; /* Font moderno per il sottotitolo */
    font-size: 1.2rem; /* Più grande del normale */
    font-weight: 400;
    color: #e0e0e0; /* Grigio chiaro elegante */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); /* Leggera ombra */
    margin-bottom: 10px;
    transform: translateY(100px); /* sposta tutto 100px più in basso */
}
/* Pulsanti */
.hero-buttons .btn-hero {
    background-color: #ffffff;
    color: #007bff;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-family: 'Merriweather', sans-serif;
    font-weight: 600;
    border-radius: 999px;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    transform: translateY(100px); /* sposta tutto 100px più in basso */
}

.hero-buttons .btn-hero:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Secondo pulsante colorato */
.hero-buttons .btn-prenota {
    background-color: #33adff;
    color: #ffffff;
}

.hero-buttons .btn-prenota:hover {
    background-color: #1a94e0;
}


/* CONTAINER ELEGANTE */
.info-container {
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.info-container h2 {
    font-family: 'Merriweather', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;

}

.info-container p {
    font-family: 'Merriweather', sans-serif; /* Font per il testo */
    font-size: 1.1rem;
    font-weight: 400;
    color: #333333; /* Nero/grigio scuro elegante */
    max-width: 800px;
    margin: 0 auto;
}
/* TITOLO DELLA SEZIONE SERVIZI */
.services-title {
    font-family: 'Merriweather', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #003366; /* Blu scuro elegante */
    margin-bottom: 10px;
    text-align: center;
}

/* CONTAINER SERVIZI */
.services-container {
    background-color: #f5f5f5; /* Grigio chiaro */
    padding: 50px 20px;
}

.services-subtitle {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #555555; /* Grigio scuro */
    margin-bottom: 60px;
}

.next-section {
    background-color: #ffffff; /* Bianco normale */
    padding: 50px 50px;
}

.service-card {
    background: #ffffff;
    padding: 20px 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.2rem; /* stessa dimensione dell'h2 */
    font-weight: 700; /* grassetto */
    color: #003366;
    margin-bottom: 15px;
}
.service-card p {
    font-family: 'Merriweather', sans-serif;
    font-size: 1rem;
    color: #333333;
}
.service-icon {
    font-size: 30px;
    color: #003366; /* Blu scuro per coerenza */
    margin-bottom: 20px;
}

/* Font Merriweather import */
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');

/* Container generale */
.next-section {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Merriweather', serif;
  color: #222;
}

/* Titolo e sottotitolo */
.rooms-title {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.rooms-subtitle {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 60px;

}

.room-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.room-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.room-card h3 {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.70rem;
    font-weight: 550;
    color: #007bff;
    margin-bottom: 10px;
}

.room-desc {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 10px;
}



.room-icons {
    font-family: 'Merriweather', sans-serif;
    font-size: 1rem;
    color: #555555;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 3px; /* Distanza minima tra icona e testo */
    flex-wrap: wrap;
    justify-content: center; /* CENTRA tutte le icone orizzontalmente */
    text-align: center; /* CENTRA il contenuto dentro ogni blocco */
}

.room-icons i {
    margin-right: 10px;

}
.btn-book {
    background-color: #33adff;
    color: #ffffff;
    padding: 10px 30px;
    font-size: 1.2rem;
    font-family: 'Merriweather', sans-serif;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-book:hover {
    background-color: #1a94e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.affitta-camere-section {
  background-color: #f9f9f9;
  padding: 50px 20px;
  margin: 40px auto;
  font-family: 'Merriweather', serif;
  color: #333;
  max-width: 900px;
  border-radius: 8px;
  text-align: center;
}

.affitta-camere-section h2 {
  color: #1a3d7c;
  margin-bottom: 20px;
  font-size: 2rem;
}

.affitta-camere-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.affitta-camere-section ul {
  list-style-position: inside;
  padding: 0;
  margin: 20px auto;
  text-align: left;
  display: inline-block;
}

.affitta-camere-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.affitta-camere-section strong {
  color: #2962ff;
  font-weight: 600;
}







/* SEZIONE PARALLAX CON OVERLAY */
.cta-parallax {
    background-image: url('../images/open3.jpg'); /* tua immagine */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay blu trasparente */
.overlay {
    background-color: rgba(0, 51, 102, 0.5); /* blu scuro semi-trasparente */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenuto dentro l'overlay */
.cta-content h2 {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-content p {
    font-family: 'Merriweather', sans-serif;
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.btn-cta {
    background-color: #33adff;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 1rem;
    font-family: 'Merriweather', sans-serif;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    background-color: #1a94e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.site-footer {
    background-color: #ffffff; /* Sfondo bianco */
    color: #003366; /* Testo blu scuro */
    padding: 60px 20px 30px 20px;
    font-family: 'Merriweather', sans-serif;
}

.site-footer h5 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #003366; /* Titoli in blu scuro */
}

.footer-menu,
.footer-contacts {
    list-style: none;
    padding: 0;
}

.footer-menu li,
.footer-contacts li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #555555; /* grigio scuro */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contacts li {
    color: #555555; /* grigio scuro */
}

.footer-contacts i {
    color: #555555; /* anche le icone */
}


.footer-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    color: #003366; /* Icone blu scuro */
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #33adff;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #cccccc;
    padding-top: 10px;
    font-size: 0.9rem;
    color: #555555;
}

.intro-about {
    background: url('../images/Ragusa.jpg') no-repeat center center/cover; /* se vuoi anche immagine sotto */
    background-size: cover;
    background-position: center;
    height: 800px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    top: -120px; /* Spingi la sezione verso l'alto */
}

.intro-about-box {
    background-color: rgba(255, 255, 255, 0.7); /* Bianco semi-trasparente */
    padding: 50px 20px;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.intro-title {
    font-family: 'Merriweather', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.intro-subtitle {
    font-family: 'Merriweather', sans-serif;
    font-size: 1rem;
    color: #555555;
}

.about-container {
    background-color: #f9f9f9;
    margin-top: -120px; /* sovrappone leggermente */
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-title {
    font-family: 'Merriweather', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.about-subtitle {
    font-family: 'Merriweather', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #555555;
    margin-bottom: 30px;
}

.about-content {
    font-family: 'Merriweather', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.8;
}

.about-images img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
}

.about-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* fine INTRO CHI SIAMO */



/*  inizio INTRO gallery */
.gallery-section {
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)),
                url('../images/CameraMatrimoniale.jpg') no-repeat center center/cover;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    color: #ffffff;
    top: -50px;
}

.gallery-title {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.property-overview {
  background-color: #f9f9f9;
  margin-top: -120px;
  padding-top: 200px;
  padding-bottom: 100px;
}

.overview-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.overview-text {
    font-family: 'Merriweather', serif;
    font-size: 1.0rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.filter-btn {
    background-color: #ffffff;
    border: 2px solid #33adff;
    color: #33adff;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #33adff;
    color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Blocchi belli larghi */
  gap: 30px;
  justify-items: center; /* centra le card nella riga */
  margin-bottom: 80px;
}


    .gallery-item {
    background-color: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 15px;
    overflow: hidden; /* Contenere l'immagine */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px; /* Controlla la larghezza massima della card */
}

.gallery-item img {
    width: 100%;
    height: 300px; /* Altezza fissa */
    object-fit: cover; /* Fondamentale: immagine riempie senza deformarsi */
    border-radius: 10px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(85%);
}

/*  fine INTRO gallery */
.location-section {
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)),
                url('../images/Sicilia.jpg') no-repeat center center/cover;
                min-height: 400px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                padding: 60px 20px;
                position: relative;
                color: #ffffff;
                top: -50px;

}

.location-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.location-text {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    max-width: 800px;
    line-height: 1.8;
    margin: 0 auto;
}



.map-info-section {
    background-color: #f9f9f9;
    margin-top: -120px;
    padding-top: 200px;
    padding-bottom: 100px;

}

.map-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.map-container {
    width: 100%;
}

}

.info-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: #003366;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #555555;
    line-height: 1.8;
}

.info-list li {
    margin-bottom: 15px;
}



.contact-section {
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)),
                url('../images/contact-us.png') no-repeat center center/cover;
                    padding: 50px 50px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    color: #ffffff;
                     top: -50px;
}

.contact-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-text {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 400;
    max-width: 800px;
    line-height: 1.8;
    margin: 0 auto;
}


/*  fine INTRO Contatti */

.contact-availability-section {
    background-color: #f9f9f9;
    padding: 100px 20px;
}

.contact-availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.contact-info, .availability-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
}

.contact-details {
    list-style: none;
    padding: 0;
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.8;
}

.contact-details li {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
}

textarea {
    resize: none;
}

.submit-btn {
    background-color: #33adff;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-family: 'Merriweather', serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    background-color: #1a94e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.success-message {
    display: none;
    font-family: 'Merriweather', serif;
    color: #28a745;
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.8s ease;
}
