/* components/Header.module.css */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    /* Couleur de base */
    transition: var(--background-color) 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 13px 100px;
    /* Espace initial */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
    color: black;
}

.nav li a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 400;
    transition: color 0.3s;
    font-size: 14px;
}

.scrolled {
    background-color: transparent;
    /* Vert Solux */
}

.scrolled .nav {
    background: #263238b9;
    ;
    /* Vert principal de Solux */
    padding: 8px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    /* Adapte la largeur au menu */
    margin: auto;
    /* Centre le menu */
    color: white;
}

.scrolled .nav li a {
    color: #fff;
}


.logo {
    flex: 1;
}



.lien {
    list-style: none;
    margin: 0;
    padding-right: 0;
    display: inline-flex;
    gap: 40px;
}



.nav li a:hover {
    color: var(--color-primary);
}

.buttons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;

}

.buttons button {
    padding: 5px 10px;
    border: none;


    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 700;
}

.buttonDimens {
    color: #fff;
    background-color: var(--color-primary);
}

.buttonsShowroom {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.buttons button:hover {
    background-color: var(--color-tertiary);
}