.navbar {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.navbar-bg-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/media/happyMoto/homeBG.jpeg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -10;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.navbar-bottom {
    display: flex;
    justify-content: center;
    letter-spacing: 0.2rem;
    /* font-weight: 700; */
}

.menu-container {
    position: relative; /* important pour que .navbar-menu se positionne par rapport à ce conteneur */
    display: inline-block; /* pour ne pas prendre toute la largeur */
}

.navbar-menu {
    position: absolute;
    top: 100%; /* juste sous le bouton */
    right: 0;
    margin-top: 10px;
    background-color: rgb(0, 0, 0);
    /* border: 1px solid #ccc; */
    border-radius: 10px;
    padding: 1rem;
    z-index: 1000;
    /* min-width: 150px; */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    
    /* Animation */
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    
    pointer-events: none; /* ⛔️ bloque les clics quand masqué */
}

/* État affiché */
.navbar-menu.show {
    max-height: 500px; /* Doit être + grand que la hauteur réelle du menu */
    opacity: 1;
    pointer-events: auto; /* ✅ réactive les clics quand visible */
}

/* .navbar-menu.show {
    display: block;
} */

.menu-button {
    cursor: pointer;
}

.nav-link {
    color: white;
    text-align: right;
    letter-spacing: 0.2rem;
}

.nav-link:hover {
    color: #fab03a;
}

@media (max-width: 820px) {
    .logo-letter {
        display: none;
    }
}