/* === Menu (navbar) === */
header {
    background-color: #c39595; /* remplace var(--color-rose) */
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* var(--shadow-default) */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo img {
    max-height: 45px;
    width: auto;
}

/* NAVIGATION LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.nav-links a:hover {
    color: #fffbe8;
}

/* BURGER MENU */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        background-color: #c39595;
        padding: 1rem;
        margin-top: 1rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}
