/* Reset de base pour la navbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles de la navbar */
.navbar {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding-top: 20px;
}

.nav-container {
    background-color: #000; /* Fond noir */
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;


}

  
.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 10px;
}

.nav-links li {
    margin: 0 0.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.nav-links a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: white;
    background-color: #e74c3c;
}

/* Responsive styles pour la navbar */
@media (max-width: 600px) {
    .nav-container {
        width: 90%;
        border-radius: 20px;
        padding: 0.5rem 0.7rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 5px;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}