body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #c0c0c0 !important; /* Gris clair */
    color: #333; /* Texte légèrement assombri */
}

/* Ajustement de l'image d'accueil */
.home-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #c0c0c0; /* Optionnel : ajoute un fond autour de l'image */
    padding: 20px 0; /* Espace autour de l'image */
}

.home-header img {
    width: 100%;
    max-height: 400px;
    height: auto; /* Permet à l'image de ne pas être tronquée */
    object-fit: contain; /* Garde l’image entière sans la couper */
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    background-color: #c0c0c0; /* Fond identique */
}

/* Liens */
a {
    color: blue;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Titre */
h1, h2 {
    text-align: center;
    margin-top: 20px;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

.gallery a {
    text-decoration: none;
}

/* Menu principal */
.menu {
    background-color: #c0c0c0 !important;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 50px; /* Permet d'avoir au moins cette hauteur */
    height: auto; /* Permet au menu de s'agrandir */
    overflow: visible; /* Permet l'affichage du menu déroulant */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Liste des liens du menu */
.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* Éléments du menu */
.menu li {
    margin: 0 15px;
}

/* Liens du menu */
.menu a {
   color: blue !important; /* Liens en bleu */
    font-weight: normal; /* Texte normal par défaut */
    text-decoration: none;
    padding: 10px;
    transition: font-weight 0.2s ease-in-out; /* Animation douce */
}

/* Effet au survol */
.menu a:hover {
    font-weight: bold; /* Texte en gras au survol */
    text-decoration: underline; /* Ajoute un soulignement au survol */
}

.menu a:hover {
    text-decoration: underline;
}

/* Ajustement du menu burger */
.menu-toggle {
    display: block;
    margin-bottom: 10px; /* Ajoute un espace sous le burger */
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Masquer le menu principal par défaut sur mobile */
@media screen and (max-width: 768px) {
    .menu ul {
        display: none;
        flex-direction: column;
        background-color: #c0c0c0;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        text-align: center;
        padding: 10px 0;
        z-index: 1000;
    }

    /* Afficher quand le menu est actif */
    .menu ul.show {
        display: flex !important;
    }

    /* Afficher l'icône du menu burger */
    .menu-toggle {
        display: block;
    }
}

/* Cacher l'icône burger sur grand écran */
@media screen and (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Style du bouton retour */
.back-button {
    text-align: center;
    margin-top: 20px;
}

.back-button a {
    background-color: blue;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.back-button a:hover {
    background-color: darkblue;
}

/* Espacement sous le menu fixe */
body {
    padding-top: 100px;
}

/* Style du texte sous la photo d'accueil */
.welcome-text {
    text-align: center;
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
}

/* Lien e-mail */
.welcome-text a {
    color: blue;
    font-weight: bold;
    text-decoration: none;
}

.welcome-text a:hover {
    text-decoration: underline;
}

/* Breadcrumb (chemin de navigation) */
.breadcrumb {
    display: none;
}

/* Lightbox */
.lb-data .lb-close {
    cursor: pointer;
}

.lb-data .lb-close:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    #menu-items a {
        color: blue !important;
        font-weight: normal;
    }

    #menu-items a:hover {
        font-weight: bold;
        text-decoration: underline;
    }
}


