.entete-fond {
    background-image: url('../ressources/banniere_acceuil_site.jpg');
    background-size: cover;            /* Remplit toute la largeur et rogne haut/bas */
    background-position: center;       /* Centre l’image pour le rognage */
    background-repeat: no-repeat;
    width: 100%;
    height: 60vh;                     /* Hauteur du bandeau visible */
}

@media (min-width: 576px) {
    .entete-fond {
        height: 70vh;
    }
}
@media (min-width: 768px) {
    .entete-fond {
        height: 80vh;
    }
}

.container {
    padding: 2px !important;
}

.navbar {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ameliorer le rendu du logo */
.navbar-brand img {
    filter: drop-shadow(2px 2px 5px black) brightness(1.2);
}

/* Effet de survol du logo */
.navbar-brand img:hover {
    transform: scale(1.1);
}

/* Liens principaux de la navbar */
.navbar-nav .nav-link {
    color: #f2f3a7 !important;
    font-size: 1.1rem;
    font-weight: bold; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    float: left;
}

.nav-link {
    padding-top: 1px !important;
    padding-bottom : 1px !important;
}
.nav-item {
    padding-bottom: 2px !important;
    padding-left: 3px !important;
    z-index: 3;
}

/* Style menu deroulant 
.dropdown-menu {
    background-color: #87CEEB !important;
    border: none !important;
    box-shadow: none !important; 
} */

/* Liens dans les menus deroulants 
.dropdown-menu .dropdown-item {
    color: #f8f9fa !important;
    font-size: 1.15rem;
    font-weight: normal;
} */

/* Effet au survol 
.dropdown-menu .dropdown-item:hover {
    background-color: #000;
    color: #f0f0f0 !important;
} */

/* Desactive les liens par rapport a la page actuel */
.nav-link.active {
    color: #9b9b9b !important;
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
    text-decoration: none;
}

/*
.dropdown-item.active {
    color: #9b9b9b !important;
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
    text-decoration: none;
} */

/* Effet au survol des liens principaux */
.navbar-nav .nav-link:hover:not(.active) {
    color: #d1b97c !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

/* Effet au survol des elements du menu déroulant 
.dropdown-menu .dropdown-item:hover:not(.active) {
    background-color: #8ecde6; fond sombre mais plus clair que le fond normal 
    color: #d1b97c !important;  couleur dorée 
    transition: background-color 0.3s ease, color 0.3s ease;
} */

.navbar-toggler {
    border: none;
    background-color: transparent;
    padding: 0.25rem 0.5rem;
}

/* Remplace l'icône Bootstrap par une version custom */
.navbar-toggler-icon {
    background-image: none !important;
    width: 1.5em;
    height: 1.5em;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Les 3 barres du menu burger */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
    content: '';
    display: block;
    background-color: white;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
}

.image-centree {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* width: 250px; /* âÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ Taille réduite */
    width: 70%;
    Max-width: 400px;
}

@media (min-width: 768px) {
    .image-centree {
        top: 50%;}
    }

/*.image-centree img {
    width: 100%;
    height: auto;
}*/

@media (max-width: 767.98px) {
    /* Liens du menu burger alignés à gauche sous le logo */
    .navbar-collapse {
        text-align: left;}
    
    

    .navbar-nav {
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding-left: 1rem;
    }
    
}


