/* styles.css */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: medium;
}

header {
    background-color: #0077cc;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link img {
    height: 80px;
    width: auto;
}

h1 {
    margin: 0;
    padding: 0 10px;
    font-size: 24px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 10px;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #eee;
    padding: 10px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

section {
    margin: 50px;
}

footer {
    border-top: 1px solid white;
    padding-top: 2em;
    max-width: 100%;
    background-color: #0077cc;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    color: white;
}

footer img {
    width: 40px;
    height: 40px;
    padding: 1em;
}

footer div:first-of-type {
    padding: 0 1em 2em 1em;
    text-align: center;
}

.reserver-btn {
    background-color: #fff;
    color: #0077cc;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

header img {
    width: 80px;
    padding: 1em;
}

header {
    display: flex;
    justify-content: center;
    align-content: center;
}

.presentation {
    display: flex;
    align-content: center;
    justify-content: space-around;
}

.texte {
    width: 30%;  
    display: flex; 
    align-items: center;
}

.images {
    margin: 20px;
    position: relative;
    width: 600px; /* ajustez la largeur selon vos besoins */
    height: 400px; /* ajustez la hauteur selon vos besoins */
}

.image1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
}

.image2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
}

section {
    margin-bottom: 50px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* Définissez la largeur maximale du carrousel */
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%; /* Assurez-vous que la track a une largeur de 100% */
}

.carousel-slide {
    flex: 0 0 100%; /* Chaque diapositive occupe toute la largeur du carrousel */
    box-sizing: border-box; /* Inclure la bordure et le padding dans la largeur */
    padding: 0 10px; /* Ajouter un padding à gauche et à droite pour l'espace entre les diapositives */
    max-width: 100%; /* Ajustez la largeur maximale des diapositives */
}

.carousel-slide img {
    width: 100%; /* Les images occupent toute la largeur de leur conteneur */
    height: auto; /* Hauteur proportionnelle */
    border-radius: 10px; /* Coins arrondis de 10px */
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: background 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gray;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: black;
}

p {
    margin: 10px;
}

.bandeau {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    padding: 10px 20px;
}

.etape {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.titre {
    flex-grow: 1;
    text-align: center;
}

.active {
    background-color: #007bff;
}

.etapeContent {
    display: none;
}

.active.etapeContent {
    display: block;
}

header {
    display: flex;
    align-items: center;
}

.logo-link {
    margin-right: 10px; /* Ajoute une marge à droite du logo pour l'éloigner du texte */
}

h1 {
    margin: 0; /* Supprime les marges par défaut du titre */
    text-align: center; /* Centre le texte horizontalement */
    color: white; /* Définit la couleur du texte en blanc */
    flex: 1; /* Fait en sorte que le texte occupe tout l'espace disponible */
}

h1 a {
    text-decoration: none; /* Supprime le soulignement du lien */
    color: inherit; /* Utilise la couleur du texte du parent */
}

.allentour {
    display: flex;
    align-items: center;
}

.allentour div {
    flex-grow: 1;
    flex-basis: 50%;
    text-align: center;
    margin: 10px;
}

h2 {
    text-align: center;
}

.allentour div img {
    height: 200px;
}

.allentour div img:hover {
    height: 300px;
    border: #0077cc;
}

nav a:hover {
    color: #0077cc;
    background-color: white;
}

@font-face {
    font-family: 'mondayRain';
    src: url('fonts/MondayRain.otf') format('opentype'), 
        url('fonts/MondayRain.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: 'mondayRain', sans-serif; 
    font-size: 4em;
}

.cadreMP {
    text-align: center;
    line-height: 1.5;
}

.cadreMP h2, .titreBleu {
    font-family: 'mondayRain', sans-serif;
    color: #0077cc;
    font-weight: bolder;
    font-size: 1.8em;
}

.texte {
    line-height: 1.5;
    font-family: 'mondayRain', sans-serif;
    font-size: 1.5em;
}

.images {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.images img {
    border-radius: 10px;
    width: 350px; /* Taille des images */
    height: auto; /* Ajustement automatique de la hauteur */
}

.image1 {
    order: 2; /* Changer l'ordre d'affichage */
}

.image2 {
    order: 1; /* Changer l'ordre d'affichage */
}

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

.cadreMP > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Espacement entre chaque div */
    max-width: 1200px; /* Largeur maximale pour les div */
}

.cadreMP > div img {
    height: 300px;
    border-radius: 10px;
    margin-left: 20px; /* Espacement à droite de l'image */
}

.cadreMP > div p {
    flex: 1; /* Permet au texte de s'étendre pour occuper l'espace restant */
    padding-right: 20px; /* Espacement à gauche du texte */
}

.cadreMP > div .png {
    height: auto;
    width: 50px;
}

#int {
    height: 400px;
}

/* Style pour le conteneur de la section */
#reservationForm {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

/* Style pour les labels */
label {
    display: block;
    margin-bottom: 8px;
}

/* Style pour les champs de saisie */
input[type="date"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Style pour le conteneur du prix total */
div {
    margin-bottom: 16px;
}

/* Style pour le prix total */
#prixTotal {
    font-weight: bold;
    color: #007bff;
}

/* Style pour le bouton Réserver */
#reserverBtn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Style pour le bouton Réserver au survol */
#reserverBtn:hover {
    background-color: #0056b3;
}

/* Style pour les détails de réservation */
#detailsReservation {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Style pour les éléments du formulaire */
#formulaireOccupants {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none; /* Masquer initialement le formulaire */
    margin-bottom: 20px;
}

#formulaireOccupants h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

#formOccupants {
    width: 100%;
}

/* Style pour les labels */
label {
    display: block;
    margin-bottom: 8px;
}

/* Style pour les champs de saisie */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Style pour le lien des conditions et règlements */
#lienReglement {
    color: #007bff;
    text-decoration: none;
}

/* Style pour le bouton "Procéder au paiement par PayPal" */
#btnProceedToPaypal {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#btnProceedToPaypal:hover {
    background-color: #0056b3;
}

.contact {
    text-align: center;
}

/* Style pour les dates bloquées */
.date-bloquee {
    color: #ccc; /* Couleur grise */
    pointer-events: none; /* Désactive les événements de la souris */
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .logo-link img {
        height: 50px;
    }

    h1 {
        font-size: 25px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .navbar.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
    }

    .images {
        flex-direction: column;
        align-items: center; /* Centrer les images horizontalement */
    }

    .image1, .image2 {
        position: static;
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

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

    .texte {
        width: 90%; /* Augmente la largeur à 60% de l'écran */
        font-size: 20px; /* Définit la taille de la police à 16 pixels */
    }

    .allentour {
        flex-direction: column;
    }

    .allentour div {
        flex-basis: auto;
    }

    .bandeau {
        flex-direction: column;
    }

    .bandeau .etape {
        width: 40px;
        height: 40px;
    }
    
    .carousel-container {
        margin-top: 20px; /* Ajouter une marge supérieure au carrousel d'images */
    }
}

.date-bloquee a.ui-state-default {
    background: #ffcccc !important;
    color: red !important;
}