header {
    background-color: #fff;
    color: #000;
    padding: 15px 20px;
    position: fixed;
    z-index: 100;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img{
    max-width: 75px; /* largeur maximale */
    height: auto;     /* garde les proportions */
    display: block;   /* évite les petits espaces sous l'image */
}

header .logo a {
    color: #000;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000;
    display: block;
    border-radius: 3px;
}

/* Mobile (<768px) */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed; /* fixe sur l'écran */
        top: 0;
        right: -100%; /* caché par défaut */
        height: 100vh; /* pleine hauteur de l'écran */
        width: 250px; /* largeur du menu */
        background-color: #000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000; /* au-dessus du contenu */
    }

    .nav-links.active {
        right: 0; /* menu visible */
    }

    .nav-links li a {
        color: #fff;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }
}