/* Positionnement du parent */
.main-nav ul {
    position: relative; /* Important pour le centrage du menu */
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}


.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.has-dropdown {
    position: static; /* Permet au mega-menu de prendre toute la largeur de la nav */
}

/* Le menu contextuel (masqué par défaut) */
.mega-menu {
    display: none; /* Masqué */
    position: absolute;
    top: 100%; /* Juste en dessous de la nav */
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    padding: 30px 10%;
    z-index: 100;
    justify-content: flex-start;
    gap: 50px;
}

/* Affichage au survol */
.has-dropdown:hover .mega-menu {
    display: flex; /* Devient visible */
}

/* Style intérieur du menu */
.menu-column {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.menu-column h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.menu-column a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    padding: 5px 0;
    text-transform: none; /* On enlève l'uppercase des sous-liens */
    transition: color 0.2s;
}

.menu-column a:hover {
    color: #b08d57; /* Couleur dorée au survol */
}

/* Optionnel : Image promo dans le menu */
.menu-image {
    margin-left: auto;
    width: 200px;
    height: 120px;
    background: #f4ece6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}