* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header {
    background: white;
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo {
    width: 10%;
}

nav {
    display: flex;
    align-items: center;
}

header ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

header ul li {
    position: relative;
}

header ul li a {
    font-size: 20px;
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

header ul li a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Styles pour les dropdowns */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    color: #555;
    font-weight: normal;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background-color: #cccccc;
    color: white;
}

/* Indicateur de dropdown */
.dropdown>a::after {
    content: " ▼";
    font-size: 0.8em;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover>a::after {
    transform: rotate(180deg);
}