/* Variables de couleurs */
:root {
    --blanc-casse: #F8F8F8;
    --gris-fonce: #1C1C1C;
    --gris-moyen: #6E6E6E;
    --anthracite: #0F0F0F;
    --jaune-accent: #FFC300;
}

/* Header et Navigation */
header {
    background-color: var(--blanc-casse);
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gris-moyen);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gris-fonce);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--jaune-accent);
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 3%;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        background-color: var(--blanc-casse);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        height: calc(100vh - 70px);
    }
    .nav-links.active {
        right: 0;
    }
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--gris-fonce);
    transition: 0.3s;
}

@media (max-width: 480px) {
    .burger-menu {
        display: flex;
    }
}