/* HEADER */
.header {
    background: #007BFF;
    color: white;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Boutons du header */
.header-buttons {
    display: flex;
    gap: 0.5rem;
}
.header-buttons button {
    padding: 0.5rem 1rem;
    background: white;
    color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.header-buttons button:hover {
    background: #f0f0f0;
}

/* NAVIGATION */
.navigation {
    background: #0056b3;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.navigation li {
    margin: 0.5rem;
}
.navigation a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
.navigation a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
.desktop-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.mobile-nav {
    display: none;
}

/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 3rem;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: #0056b3;
    padding: 3.5rem;
    border-radius: 5px;
}
.hamburger-menu a {
    color: white;
    text-decoration: none;
}

#cookie-banner {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    font-size: 14px;
    transform: translateY(-100%);
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#cookie-banner button {
    background-color: #4da3ff;
    border: none;
    color: #fff;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

#cookie-banner button:hover {
    background-color: #007BFF;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-buttons { display: none; }
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav {
        display: flex;
        list-style: none;
        justify-content: center;
        flex-wrap: wrap;
    }
    .cookie-buttons {
        display: flex;
        gap: 5px;
        justify-content: center;
        flex-wrap: wrap;
    }
}
