body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}
header {
    width: 100%; /* Ajoutez cette propriété */
}


h1 {
    text-align: center;
    color: #333;
    margin-top: 0;
    padding-top: 20px;
    font-family: 'Lobster Two', cursive; /* Police Google Courgette */
}

.font_gite {
    font-family: 'Lobster Two', cursive; /* Police Google Courgette */
    text-align: center;
}

.header-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

       /* Style pour la carte du Verdon */
        .image-left {
            float: left;
            margin-right: 20px; /* Marge entre l'image et le texte */
            max-width: 400px; /* Largeur maximale de l'image */
        }

.container1 {
            max-width: auto;
            margin: 0 auto;
            padding: 20px;
        }

/* pour la page gite et la mise en page */
.container {
    margin: 20px auto;
    margin-left: 0.5%;
    margin-right: 0.5%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.gite-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.gite {
    width: calc(50% - 20px);
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}
.gite:hover {
    transform: translateY(-5px);
}
.gite h2 {
    margin-top: 0;
    color: rgba(149, 191, 82, 1);
}

.gite img {
    max-width: 100%;
    height: auto;
    border-top-left-radius: 10px; /* Arrondir le coin supérieur gauche */
    border-bottom-right-radius: 10px; /* Arrondir le coin inférieur droit */
    border-top-right-radius: 0; /* Bord droit supérieur à zéro pour garder l'aspect angulaire */
    border-bottom-left-radius: 0; /* Bord gauche inférieur à zéro pour garder l'aspect angulaire */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ajouter une ombre pour un effet de profondeur */
}
.gite p {
    margin-bottom: 5px; /* Espacement entre chaque caractéristique */
}
.gite p i {
    margin-right: 5px; /* Espacement entre l'icône et le texte */
    color: rgba(149, 191, 82, 1); /* Couleur des icônes */
}
.gite1 {
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-bottom: 20px;
            padding: 10px;
            display: flex;
        }
        .gite1 img {
            width: 50%;
            height: auto;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        .gite-content1 {
            padding: 10px;
            width: 50%;
        }
        .gite1 h2 {
            margin-top: 0;
        }
        .gite1 p {
            margin: 0;
        }
        .result {
            margin-top: 10px;
        }

/* Styles personnalisés pour le bouton */
.description-button {
    margin-left: 40%;
}
.description-button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.description-button a:hover {
    background-color: #45a049;
}


/* Styles de la barre de navigation */
nav {
    width: 100%; /* Ajoutez cette propriété */
}
.navbar {
    width: 100%;
    height: 50px;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ajoutez une ombre pour plus de profondeur */
    transition: all 0.3s ease;
    z-index: 1000; /* Assurer que la barre de navigation reste au-dessus du contenu */
    box-shadow: none; /* Supprimer l'ombre de la barre de navigation */
}

.navbar li {
    height: auto;
    width: 155.8px;
    float: left;
    text-align: center;
    list-style: none;
    font: normal bold 15px/1em Arial, Verdana, Helvetica;
    padding: 0;
    margin: 0;
     background-color: transparent; /* Rendre les éléments de la barre de navigation transparents */
}

.navbar a {
    padding: 18px 0;
    text-decoration: none;
    color: #000; /* Changer la couleur du texte en noir */
    display: block;
}
/* Lorsque survolé, changer la couleur de fond et du texte */
.navbar li:hover,
a:hover {
    background-color: rgba(149, 191, 82, 0.5); /* Ajouter une couleur de fond avec transparence */
    color: #000; /* Changer la couleur du texte en noir */
}
.navbar li ul {
    display: none;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: transparent; /* Rendre le sous-menu transparent */
}
.navbar li:hover ul {
    display: block;
}
.navbar li ul li {
    background-color: rgba(149, 191, 82, 0.1);
    transition: background-color 0.3s; /* Animation pour une transition en douceur */
}


.navbar li ul li a:hover {
    background-color: rgba(149, 191, 82, 0.5);
}

/* Styles du pied de page */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 20px;
}
footer p {
    margin: 5px 0;
}

/* Media queries pour rendre le logo responsive */
.logo img {
    max-width: 50%;
    height: auto;
    padding-top: 70px;
}
.logo_index {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width : 40%;
}
/* mettre les drapeau de langue à droite */
.drapeau {
    float: right;
    margin-top: 50px;
    margin-right: 50px;
}

/* page alentours */
 .lieux {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.center-text {
    text-align: center;
}
.lieu {
    position: relative; /* Position relative pour référencer les éléments absolus à l'intérieur */
    width: calc(50% - 20px);
    border: 1px solid #ddd;
    margin: 10px;
    padding: 10px;
    text-align: center;
    overflow: hidden; /* Cacher les parties dépassant de l'élément parent */
    box-sizing: border-box; /* Inclure les bordures et les marges dans le calcul de la largeur */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ajouter une ombre pour un effet de profondeur */
    background-color: rgba(255, 255, 255, 0.7); /* Ajoutez un fond semi-transparent */

}

.lieu-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alentours/verdon.jpeg'); /* Remplacez 'images/verdon.jpeg' par le chemin de votre image */
    background-size: cover;
    filter: blur(1px); /* Appliquer un flou à l'image de fond */
    z-index: -1; /* Envoyer l'image en arrière-plan */
}
.lieu-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alentours/moustiers.jpeg'); /* Remplacez 'images/verdon.jpeg' par le chemin de votre image */
    background-size: cover;
    filter: blur(1px); /* Appliquer un flou à l'image de fond */
    z-index: -1; /* Envoyer l'image en arrière-plan */
}
.lieu-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alentours/lac.jpeg'); /* Remplacez 'images/verdon.jpeg' par le chemin de votre image */
    background-size: cover;
    filter: blur(1px); /* Appliquer un flou à l'image de fond */
    z-index: -1; /* Envoyer l'image en arrière-plan */
}
.lieu-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alentours/valensole.jpeg'); /* Remplacez 'images/verdon.jpeg' par le chemin de votre image */
    background-size: cover;
    filter: blur(1px); /* Appliquer un flou à l'image de fond */
    z-index: -1; /* Envoyer l'image en arrière-plan */
}
.lieu-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alentours/activite/aerodrome.jpg'); /* Remplacez 'images/verdon.jpeg' par le chemin de votre image */
    background-size: cover;
    filter: blur(1px); /* Appliquer un flou à l'image de fond */
    z-index: -1; /* Envoyer l'image en arrière-plan */
}
.lieu-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alentours/activite/ferreols.jpg'); /* Remplacez 'images/verdon.jpeg' par le chemin de votre image */
    background-size: cover;
    filter: blur(1px); /* Appliquer un flou à l'image de fond */
    z-index: -1; /* Envoyer l'image en arrière-plan */
}

/* Pour une paire de lieux */
.lieu-pair {
    display: flex;
    flex-wrap: wrap; /* Permettre le wrapping sur les petits écrans */
    justify-content: space-around; /* Centrer les paires de lieux horizontalement avec un espace égal entre eux */
    margin-bottom: 20px;
}


.lieu img {
    max-width: 100%;
    height: auto;
}

.lieu p {
    margin-bottom: 10px;
}

.bouton {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.bouton:hover {
    background-color: #0056b3;
}


/* Style de l'image en haut de la page */
.header-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
/* Style pour le lien "Bon plan" */
.bonplan {
    font-family: 'Dancing Script', cursive;  /* Utilisation d'une police manuscrite */
    color: #FF6347 !important; /* Couleur chaude, ici un rouge orangé */
    font-size: 18px;
    text-decoration: none;
}

.bonplan:hover {
    color: #FF4500; /* Couleur plus foncée au survol */
}

/* CSS pour le dernier iframe pour éviter le marging-right */
.iframe-container {
    width: calc(25% - 20px); /* 25% pour chaque iframe et un espacement de 20px (10px de marge droite et 10px de marge gauche) */
    float: left;
    margin-right: 20px; /* Espacement entre les iframes */
}

.iframe {
    width: 100%;
}
/* Ajustements pour les petits écrans */
@media screen and (max-width: 600px) {
    .navbar {
        height: auto; /* Modifier la hauteur de la barre de navigation */
    }
    
    .navbar li {
        width: 100%; /* Ajuster la largeur à 100% */
        display: block; /* Afficher chaque élément sur une ligne différente */
        border-bottom: 1px solid #ccc; /* Ajouter une ligne de séparation */
    }
    
    .navbar li:last-child {
        border-bottom: none; /* Ne pas afficher de bordure inférieure pour le dernier élément */
    }
    /* Ajustement de la marge supérieure du logo */
    .logo {
        margin-top: 90px; /* Augmenter la marge supérieure pour éviter que la barre de navigation ne le cache */
    }
    /* Définir une largeur de 100% pour chaque lieu sur les petits écrans */
    .lieu {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Aligner les boutons au centre sur les petits écrans */
    .bouton {
        margin: 0 auto;
    }
    /* Ajustements pour les petits écrans */
@media screen and (max-width: 600px) {
    /* Réduire l'espacement entre les iframes sur les petits écrans */
    .iframe-container {
        width: calc(50% - 20px); /* 50% pour chaque iframe sur les petits écrans */
    }
}

    /* Ajuster la marge pour les paires de lieux */
    .lieu-pair {
        margin-bottom: 10px;
    }

}

/* gallerie photos*/
.gallery {
        display: flex;
        gap: 10px;
    }
    .thumbnail {
        width: 100px;
        height: auto;
        cursor: pointer;
        border-radius: 5px;
        transition: transform 0.2s;
    }
    .thumbnail:hover {
        transform: scale(1.1);
    }
    /* Styles pour la modale */
/* Styles pour la modale */
.modal {
    display: none; /* Cachée par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Assombrit l'arrière-plan */   
}

/* Image agrandie */
.modal-content {
    max-width: 90vw; /* Largeur max relative à la fenêtre */
    max-height: 90vh; /* Hauteur max relative à la fenêtre */
    margin-left: 10%;
    margin-top: 5%;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}

/* Bouton de fermeture */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}


