/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2%;
    background: #FFFFFF;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    background: #FFFFFF;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links li a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 50px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1%;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 1000;
        background: #fff;
    }
    .logo img {
        height: 50px;
    }
    .nav-container {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(255,255,255,0.98);
        transition: right 0.5s;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 70px;
    }
    .nav-container.active {
        right: 0;
    }
    .nav-links {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 1.5rem;
        width: 100%;
        align-items: center;
    }
    .nav-links li {
        display: flex;
        opacity: 0;
        transition: opacity 0.4s;
        width: 100%;
        justify-content: center;
    }
    .nav-container.active .nav-links li {
        opacity: 1 !important;
        display: flex !important;
        transition: opacity 0.4s;
    }
    .burger {
        display: block;
        position: fixed;
        top: 18px;
        right: 24px;
        z-index: 3000;
        background: none;
        border: none;
        padding: 0;
    }
    .burger div {
        width: 32px;
        height: 4px;
        background-color: var(--primary-color);
        margin: 6px 0;
        border-radius: 2px;
        transition: var(--transition);
    }
}

/* Animation for mobile menu */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Suppression des animations de scroll */
.navbar.scroll-down,
.navbar.scroll-up {
    transform: none;
} 