/* Top bar */
div#top-bar {
    background: linear-gradient(to right, #E91E63, #0083c8);
    color: #fff;
    text-align: center;
    font-size: 0.9em;
    padding: 5px 0;
}

/* Header container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    
    position: sticky;
    top: 0;
    z-index: 999;
}




.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.nav-menu a:hover {
    color: #e3221d;
}

/* Dropdown Styles */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {

    position: absolute;
    background: #fff;
    color: #333;
    padding: 10px;
    list-style: none;
    border-radius: 5px;
}

.dropdown-menu li a {
    color: #0d203b;
}

/* Mobile Menu */
.mobile-menu {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d203b;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    margin: 10px 0;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: flex;
        color: white
    }

    .menu-toggle {
        display: block;
    }
}
/* Sous-menu par défaut caché */
.nav-menu ul li ul {
    display: none;
    position: absolute;
    background: white;
    color: #0d203b;
    padding: 10px;
    list-style: none;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-menu ul li:hover > ul {
    display: block;
}

/* Sous-menu pour mobile */
.mobile-menu ul li ul {
    display: none;
    background: white;
    color: #0d203b;
    padding: 10px;
    list-style: none;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.mobile-menu ul li.active ul {
    display: block;
}
/* Menu mobile caché par défaut */
.mobile-menu {

    background-color: #0d203b;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


/* Menu mobile visible lorsque actif */
.mobile-menu.active {
    display: flex;
}
/* Style du bouton hamburger */
.menu-toggle {
    display: none; /* Caché par défaut sur les grands écrans */
    background: none;
    border: none;
    color: #0d203b; /* Couleur de l'icône */
    font-size: 24px; /* Taille de l'icône */
    cursor: pointer;
    z-index: 1000;
}

p {
    padding: 0px;
    margin: 0;
    font-family: sans-serif;
}


/* Couleur de fond des sous-menus */
.nav-menu ul li ul,
.mobile-menu ul li ul {
    padding: 10px;
    border-radius: 0px;
    border: 0px;
    font-size: 16px;
    line-height: 1.4;
    margin: 10px;
    top: 30px;
    border-radius: 10px;
    transition: trasform 10s ease-in-out;
}



    .menu-toggle {
        display: flex;
    }
}
/* Couleur des liens dans les sous-menus */
.nav-menu ul li ul li a,
.mobile-menu ul li ul li a {
    color: white; /* Texte blanc */
    text-decoration: none;
    padding: 5px 10px;
    display: block;
    border-radius: 4px;
}

/* Couleur au survol */
.nav-menu ul li ul li a:hover,
.mobile-menu ul li ul li a:hover {
    background-color: #d9d9d9; /* Bleu plus clair au survol */
}
.logo img {
    height: 50px;
}
div#top-bar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}
/* Navigation menu */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
        padding: 8px;
}

.nav-menu a:hover {
    color: #9E9E9E;
}

/* Header actions (call + menu toggle) */
.header-actions {
    display: flex;
    gap: 15px;
}

.header-actions .call-action {
    color: #e74c3c;
    font-size: 1.2em;
}

.menu-toggle {
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    text-decoration: none;
    font-size: 1.5em;
    color: #333;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #9E9E9E;
}

/* Show mobile menu when active */
.mobile-menu.active {
    display: flex;
}
/* Header avec fond transparent au départ */
#header-actions1 {
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: none;
    color: #fff;
}


#header-actions1 .scrolled{

    transition: background 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: none;
}
#header-actions1 .call-action {

    background: transparent;
    
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: none;
}
#main-header.scrolled#header-actions1.fa-phone {
    color: #555;
}
#header-actions1 .call-action .scrolled{

    background: transparent;
    color: #000;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: none;
}




#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: none;
}

#main-header.scrolled {
    background: #fff;
    color: red;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#top-bar.scrolled {
   
        opacity: ;

}
#main-header .nav-menu a {
    color: inherit;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

#main-header.scrolled .nav-menu a {
    color: #004eb4;
}



.topbars {
    width: 1240px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    display: inline-flex;
}
.topbars {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0;
    display: inline-flex;
    max-width: 1240px;
}
@media(max-width: 780px){
.fa-bars, .fa-navicon{
    color: #3c4044;

}}
@media(max-width: 780px){
.header-container {
    background: white;}}


@media(max-width: 780px){
.fa-phone {


    font-size: 20px;
    padding: 4px;
}}



#main-header .logo img {
    height: 50px;
    transition: filter 0.3sease, transform 0.3sease;
    content: url(/img/websteve-logo-bleu-23-02-2025.png);
    background: white;
    border-radius: 50px;
    border: 5px solid white;
}

#main-header.scrolled .logo img {
    height: 50px;
    transition: filter 0.3sease, transform 0.3sease;
    content: url(/img/websteve-logo-bleu-23-02-2025.png);
    background: white;
    border-radius: 50px;
    border: 5px solid white;
}









#status-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Lato;
    font-size: 1em;
}

#status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#status-dot.open {
    background-color: #2cb92c;
    box-shadow: 0px 0px 16px white;
}
.hero-buttons {
    position: relative;
    display: block;
    margin-top: 20px;
}
#status-dot.closed {
    background-color: red;
}

#current-date {
    color: #555;
    font-size: 0.9em;
}
@media(max-width: 780px){
div#top-bar {
    display: inline-block;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 100%
}}



@media(max-width: 780px){
#status-container {
    display: flex
;
    align-items: center;
    gap: 10px;
    font-family: Lato;
    font-size: 1em;
    text-align: center;
    width: 100%;
    margin-left: 10%;

    }}
@media(max-width: 780px){
span#current-date {
    /* width: 100%; */
    display: inline;
    position: relative;
    display: none;
}}



@media(max-width: 780px){
    .hero-buttons .btn {
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px;
    text-decoration: none;

}}

@media(max-width: 780px){
#main-header {
    position: relative;
    top: 0;
    width: 100%;
    background: transparent;
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: none;
}}