body{
  
    font-family: arial;
    color: #fff;
    margin: 0;
    padding: 0;
}


/* ------------------------------------------------------- barre de navigation ----------------------------------------------------------------*/

.main-header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Pour s'assurer que le header est au-dessus des autres éléments */
    background-color: #000000; /* Ajoutez un fond pour plus de visibilité */
    color: rgb(20, 20, 20);
    padding: 10px;
    box-shadow: 0px 4px 2px -2px rgb(43, 43, 43); /* Ajouter une ombre pour le style */
  
}



.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
}

.company-name {
    margin-left: 10px;
    font-size: 1.2em;
    font-family: Verdana, sans-serif;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.menu-list li {
    position: relative;
}

.menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    text-transform: uppercase;
    
}

.menu-list li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px; /* Hauteur de la ligne orange */
    background-color: orange;
    transition: width 0.4s ease;
    text-decoration: ;
}

.menu-list li a:hover::after {
    width: 60%; /* La ligne orange s'agrandit à 60% lors du survol */
    text-decoration: none;
}

.has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    margin: 5px 0;
}

.user-buttons {
    display: flex;
    gap: 10px;
}

.user-actions a{
    color: #fff;
    text-decoration: none;
    padding: 8px;
}

.user-actions a:hover{
    color: orange;
    transition: 0.5s;
}



/* Hamburger Menu */
.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #000;
        width: 100%;
        height: 50px;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10;
    }

    .logo-img  img{
        height: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-list {
        flex-direction: column;
        gap: 10px;
        margin-left: 10%;
    }
    

    .menu-toggle {
        display: block;
        z-index: 1001;
        margin: 50px;
    }

    .user-buttons {
        display: flex;
        flex-direction: column;
        font-size: 0.9em;
        gap:2px;
    }
}


/* ---------------------------------------------------Pied de page --------------------------------------------------------*/



.main-footer {
    background: #000; /* Fond noir */
    color: #fff; /*lettre blanche */
    padding: 40px 20px;
    width: 100%;
}

.foot-container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
    text-align: left;
}

.footer-content {
    display: flex; 
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1 1 calc(20% - 20px);
    margin-bottom: 20px;
}

.footer-section.logo img {
    max-width: 250px;
    margin-bottom: 15px;
}

.footer-section h3 {
    font-family: Verdana, sans-serif;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: orange;
}

.footer-section p, .footer-section a {
    color: #fff;
    font-size: 0.9em;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
}

.footer-section ul li a:hover {
    color: orange; /* Changement de couleur pour l'effet de survol */
}

.footer-section.social a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    font-size: 1em;
}

.footer-section.social a:hover {
    color: orange; /* Changement de couleur au survol */
}

.footer-section i {
    margin-right: 10px;
    color: orange;
}

.footer-section a:hover {
    text-decoration: none;
    color: orange;
    transition: 0.5s;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding: 1px 0;
    font-size: 0.9em;
    background-color: #333;
    width: 100%;
    color: #fff;
}

.footer-bottom p{
    color: white;
}

/* Responsive Footer - Masquer tout sauf le copyright sur les petits écrans */
@media (max-width: 768px) {
    .footer-content {
        display: none; /* Masquer les sections de contenu sur les petits écrans */
    }

    .footer-bottom {
        padding: 2px 0;
    }
}


/* -----------------------------------------------------------------Section Header ------------------------------------------------------------------------ */