body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;

}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    top: 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}


.hero {
    position: relative;
    text-align: center;
}

.hero img {
    width: 100%;
    height: 100vh;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.hero-text h2 {
    font-size: 54px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 22px;
    margin-bottom: 30px;
}

.btn-reservation {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db; /* Bleu clair */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-reservation:hover {
    background-color: #2980b9; /* Bleu légèrement plus foncé au survol */
}
main{
    max-width: 2000px;
    margin: 0 auto;
}
/* Container qui masque tout ce qui dépasse de la galerie */
.gallery-container {
    overflow: hidden;
}

/* Galerie en utilisant Flexbox pour aligner les images horizontalement */
.gallery {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Style des images dans la galerie */
.gallery img {
    width: 16.6%; /* L'image occupe la largeur complète de son conteneur */
    height: auto; /* Hauteur ajustée automatiquement pour maintenir les proportions de l'image */
    object-fit: cover; /* Assure que l'image couvre complètement son conteneur, sans déformation */
    cursor: pointer; /* Curseur indiquant que l'image est cliquable */
    transition: transform 0.2s ease-in-out; /* Transition douce au survol */
}

/* Effet de zoom au survol de l'image */
.gallery img:hover {
    transform: scale(1.1); /* Zoom de 10% au survol */
}

/* Ajout d'une bordure et d'une ombre pour améliorer la visualisation des images */
.gallery img {
    border: 2px solid #fff; /* Bordure blanche de 2 pixels */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Légère ombre noire */
}

/* Marge entre les images pour améliorer l'esthétique */
.gallery img + img {
    margin-left: 10px; /* Marge de 10 pixels entre chaque image */
}

/* Rendre la galerie responsive avec des Media Queries */
@media screen and (max-width: 768px) {
    .gallery {
        flex-direction: column; /* Afficher les images en colonne sur les écrans plus petits */
        overflow-x: hidden; /* Désactiver le défilement horizontal */
    }

    .gallery img {
        width: 100%;
        margin-bottom: 10px; /* Ajouter de l'espace entre les images en mode colonne */
    }
}



#chambres {
    text-align: center;
}

#chambres h2 {
    font-size: 48px; /* Taille augmentée pour "Nos Chambres" */
    color: #333;
    margin-bottom: 20px;
}
.rooms{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 0 auto;
    justify-content: center;
}
.room {
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 600px;
    flex-direction: row;
    height: 1000px;
}
.room h3{
    text-align: left;

    font-size: 36px;
}
.room p{
    font-size: 24px;
    text-align: left;
}
.room img {
    width: 100%;
    max-width: 600px;
    max-height: 600px;
    border-radius: 20px;
}

.details{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
}
.luxe, .vue {
    width: 48%; /* Pour occuper moins que 50% de l'écran et les mettre côte à côte */
    margin-bottom: 20px;
}

  /* Styles pour la section SEO */
  .seo-block {
    padding: 40px 20px;
  }
  .seo {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .seo h2{
    text-align: center;
    font-size: 48px;
  }
  .seo-block {
    flex: 0 0 50%;
    box-sizing: border-box;
    padding: 20px;
  }
  
  .seo-block:nth-child(odd) .seo-content {
    flex-direction: row-reverse;
  }

  .seo-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    flex-direction: row;

  }
  
  .seo-text {
    width: 60%;
  }
  
  .seo-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
  }
  .seo-text h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
  }
  .seo-text p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
  }
  
  .seo-image img {
    width: 100%;
    max-width: 600px;
    max-height: 600px;
    border-radius: 20px;

  }
#booking{
    max-width: 120px;
}
#wubook{
    max-width: 120px;
}
#reservations{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    width: max-content;
    margin: 0 auto;
}
#reservations::before{
    margin-top: 1px solid black;
}
#reservations h2{
    color: #ff7800;
    font-size: 48px;
}
.links-reservations{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}
#reservations p {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.contact-section {
    max-width: 600px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info h2 {
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1e87d4;
}
.hotel-text {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin: 0 auto;
    width: 65%;
    margin-bottom: 10px;

}
main{
    margin-bottom: 100px;

}
footer {
    background-color: #2c3e50; /* Bleu foncé */
    color: #fff;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .seo-content{
        display: flex;
        flex-direction:column-reverse;
    }
    .seo-text{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .seo-block:nth-child(even) .seo-content {
      flex-direction: column;
    }
    .seo-block:nth-child(odd) .seo-content {
      flex-direction: column;
    }
    .footer-content{
        flex-direction: column;
    }
    .footer-contact{
        margin-top: 20px;
    }
    .contact-section {
        margin-bottom: 20px;
    }
    .hotel-text {
        margin-bottom: 200px;    
    }
    /* Marge entre les images pour améliorer l'esthétique */
    .gallery img + img {
        margin-left: 0px; /* Marge de 10 pixels entre chaque image */
        margin-bottom: 0px;
    }
  }