/* VARIABLES GLOBALES */
:root {
    --couleur-orange: rgb(255, 125, 0);
    --couleur-foncee: rgb(0, 0, 45);
    --couleur-vert-fonce: #0A5C58;
    --couleur-beige: #d1bb9d;
    --couleur-fond-page: #f7f7f7;
    /* --police-titre: "Sansita", sans-serif; */
    --police-titre:"Open Sans", sans-serif;
}
body {
    margin: 0;
    font-family: var(--police-titre);
    background-color: var(--couleur-fond-page);
    line-height: 1.6; /* Améliore la lisibilité du texte long */
}

/* BANDEAU ORANGE (Bandeau du haut) */
.bandeau {
    background-color: var(--couleur-orange);
    padding: 40px 20px;
    text-align: center;
    color: var(--couleur-foncee);
    box-shadow: 0px 10px 5px rgba(68, 65, 62, 0.4);
    position: relative;
}

/* TITRE */
h1 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 700;
}

h2{
    font-size 1.4em;
    font-weight 700;
}
h3{
    font-size1.4 em;
    font-weight: 400;
}
 p {
    font-size: 1em;
    line-height: 1.6;
}
a {
  color: inherit;
  text-decoration-color: inherit;
  text-decoration-style: dotted;
}
a:hover {
    text-decoration: underline;
    text-decoration-color: rgb(170,4,4);
    text-decoration-style: solid;
  }
/* ===== MENU CLASSIQUE (DESKTOP) ===== */
.menu ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}
.menu ul li {
    display: inline-block;
    margin: 0 20px;
}
.menu ul li a {
    color: var(--couleur-foncee);
    text-decoration: none;
    font-size: 20px;
}
.menu li a:hover {
    text-decoration: underline;
}
/* ===== MINI SIDEBAR (MOBILE) - Styles inchangés ===== */
.mini-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    display: none; /* masqué par défaut */
}
.mini-icon {
    background-color: white;
    color: var(--couleur-orange);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    z-index: 10;
}
/* Mini-menu déroulant */
.mini-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 180px;
    animation: fadeIn 0.3s ease;
}
.mini-menu.open {
    display: flex;
}
/* Liens du mini-menu */
.mini-menu li {
    padding: 10px;
}
.mini-menu li a {
    text-decoration: none;
    font-size: 16px;
    color: var(--couleur-orange);
}
.mini-menu li a:hover {
    text-decoration: underline;
}
/* Animation légère du menu mobile */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==== GALERIE 3 PHOTOS ==== */
.banniere-3photos {
    display: flex;
    width: 100%;
    height: 450px; /* hauteur fixe moins haute que 100vh */
    margin: 0;
    padding: 0;
}

.banniere-3photos .photo {
    flex: 1;
}

.banniere-3photos .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* RESPONSIVE GALERIE */
@media (max-width: 900px) {
    .banniere-3photos {
        flex-wrap: wrap;
        height: auto; /* s’adapte au contenu */
    }
    .banniere-3photos .photo {
        flex: 0 0 50%; /* 2 images par ligne */
        height: 300px; /* hauteur raisonnable sur tablette */
    }
}

@media (max-width: 900px) {
    .banniere-3photos .photo {
        flex: 0 0 100%; /* 1 image par ligne */
        height: 200px; /* hauteur adaptée sur mobile */
    }
}

/* ===== IMAGE PLEINE LARGEUR ===== */

.banniere-photo {
    width: 100%;
    margin: 0;
    padding: 0;
}

.banniere-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -------- CONTENEUR DE TEXTE (pour introduction/conclusion) -------- */

.contexte {
    max-width:90%; /* Limite la largeur du texte */
    margin: 0.1rem auto; /* Centre le bloc de texte et ajoute de l'espace */
   padding: 0.2rem;
  /* background-color:  red;*/
   padding: 0.1 rem;
   text-align: justify;

}


/* ===== BLOCS CHAMBRES (NOUVELLE MISE EN PAGE) ===== */

.chambres-container {
    padding: 2% 1%; /*Distance vers le bandeau et autour */
}

.bloc_chambre {
    width: 100%;
    max-width: 1200px; /* Largeur maximale sur grand écran */
    margin: 2% auto; /* Centre le bloc et ajoute de l'espace */

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* Permet aux éléments de passer à la ligne */
    align-items: stretch;

    background-color: var(--couleur-beige);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    /* overflow: hidden; */
}

/* Texte descriptif (100% de large, entre les deux images) */
.bloc_chambre_texte {
    /* Prend 100% de la largeur du parent */
    flex: 1 1 100%;
    order: 2; /* S'assure qu'il se place au milieu (Image 1 - Texte - Image 2) */
    padding: 40px 30px;
    text-align: left;
    /* Styles de texte spécifiques */
    font-size: 1.2em; /* Taille adaptée pour la description */
    color: var(--couleur-foncee);
}

.bloc_chambre_texte h2 {
    font-size: 1.2em;
    margin-top: 0;
    color: var(--couleur-foncee);
}

/* .bloc_chambre_texte p {
    font-family: Arial, sans-serif; /* Assure la lisibilité du corps de texte */
    margin-top: 15px;
} */

/* Images (50% de large chacune sur grand écran) */
.bloc_chambre_image {
    /* Image 1 prend 50% */
    flex: 1 1 100%;
    max-width: 30%;
    height: 400px; /* Hauteur fixe pour un look uniforme */
    object-fit: cover;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-inline-start: 5px;
    margin-inline-end: 5px;
    border-radius: 8px;
}

/* PAGE PIED DE PAGE */
.footer {
    background-color: var(--couleur-vert-fonce);
    color: white;
    padding: 40px 20px 20px;
    font-family: var(--police-titre);
    margin-top: 40px; /* Ajout d'une marge pour le séparer du contenu */
    img{
        width: 10%;
        max-width: 40px;
        margin: 0 1%;
        background-color: white;
        padding: 0.2%;

    }
}

.footer-contenu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bloc {
    width: 250px;
    margin-bottom: 20px;
}

.footer-bloc h3 {
    color: white;
}

.footer-bloc ul {
    list-style: none; /* Enlève les points de liste du texte */
    padding: 0;
}

.footer-bloc ul li a {
    color: white;
    text-decoration: none;
    line-height: 2
}

.footer-bloc ul li a:hover {
    text-decoration: underline; /* Souligne le texte */
}

.footer-bas {
    text-align: center;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9em;
    opacity: 0.9;
}


/* ===== PAGES ET LIEN MENTIONS LEGALES ===== */
.mentions {
    text-decoration: none; /* Enlève les décorations du texte */
    list-style: none;
    color: white;
}
.mentions:hover {
    text-decoration: underline;
}

/* ########## Page Activités & Tourisme ########## */

.carte_umap { /* Carte de Quimper et lieux à visiter */
    width: 60%;
    height: 600px;
    border-radius: 10px;
    background-color: var(--couleur-beige);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carte_legende {
    padding-right: 3%;
    padding-left: 3%;
    background-color: #0A5C58;
    text-decoration: none;
    color: white;
}

.marche_image {
    max-width: 70%;
    border-radius: 8px;
    margin-left: auto;
    margin-right:auto,
}


/* ===== RESPONSIVE (MEDIA QUERIES) ===== */
@media (max-width: 768px) {

    /* Titre */
    h1 {
        font-size: 38px;
    }

    .sous-titre {
        font-size: 18px;
    }

    /* Cacher le menu classique, Afficher le menu mobile */
    .menu {
        display: none;
    }

    .mini-sidebar {
        display: block;
    }

        /* Conteneurs de présentation des chambres : tout en colonne */
    .bloc_chambre {
        flex-direction: column;
        margin: 20px auto;
    }

    .bloc_chambre_image, .bloc_chambre_texte {
        flex: 1 1 100%;
        max-width: 100%;
        height: auto;
    }

    .bloc_chambre_texte {
        /* On conserve l'ordre 2 pour que le texte soit entre les images même en colonne si on le souhaite */
        order: 2;
    }

    /* Page Activités & Tourisme */
    .marche_image {
        max-height: 75%;
        max-width: 75%;
    }

    /* Footer en colonne */
    .footer-contenu {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-bloc {
        width: 100%;
    }
