/* Author:Matthias */
/* Top Bar */
.top-bar {
    background-color: #2c3e50; /* Couleur du texte du topbar */
    color: #ecf0f1;
    font-size: 14px;
    padding: 5px 0;
}

.top-bar .contact-info span {
    margin-right: 20px;
    display: inline-block;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector select {
    background-color: #f8f9fa;
    /* background: #86B64F; */
    color: #2c3e50;
    border: 2px solid #86B64F;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    width: 80px;
    /* border: 1px solid #FF0000; */
}


.language-selector select:hover {
    border: 1px solid #86b64f90;
    color: #ff0000;
}

/* Navbar */
.navbar {
    /* background-color: transparent; */
    padding: 10px 20px;
    /* transition: background-color 0.3s, box-shadow 0.3s; */
    z-index: 999;
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
}
.navbar-scrolled {
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* .navbar .search-wrapper {
    display: flex;
    flex: 1;
    align-items: center;
} */

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #86b64f90; /* Couleur de fond en vert-clair */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 50px;
}
/* Navbar Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-nav .nav-item .nav-link {
    color: #2c3e50;
    font-weight: bold;
    padding: 8px 15px;
    transition: color 0.3s;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
    color: #fff;
    /* letter-spacing: 1.3px; */
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


/* Barre de recherche élégante */
.search-box {
    display: flex;
    align-items: center;
    background-color: #ecf0f1; /* Couleur de fond douce */
    border: 2px solid #86b64f90; /* Couleur principale */
    border-radius: 30px; /* Coins arrondis */
    padding: 5px 15px; /* Espace interne */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Légère ombre */
    min-width: 250px; /* Largeur minimum */
}

.search-box:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Effet au survol */
    border-color: #86b64f90; /* Accentuation au survol */
}

.search-input {
    border: none; /* Enlever les bordures par défaut */
    outline: none; /* Pas de contour au focus */
    flex-grow: 1; /* Occupe tout l'espace disponible */
    padding: 8px 10px; /* Espacement interne */
    font-size: 14px; /* Taille de la police */
    background: transparent; /* Fond transparent */
    color: #2c3e50; /* Couleur du texte */
}

.search-input::placeholder {
    color: #95a5a6; /* Placeholder doux */
    font-style: italic;
}

.search-button {
    background-color: #86B64F; /* Couleur principale */
    border: none;
    border-radius: 50%; /* Bouton rond */
    color: #fff; /* Icône blanche */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.search-button:hover {
    background-color: #ff0000; /* Accentuation au survol */
    transform: scale(1.1); /* Légère animation */
}


/* Auth Buttons */
.auth-buttons .btn {
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s;
}

/* Boutons d'authentification */
.navbar .auth-buttons .btn {
    background-color: #86b84f; /* Couleur de fond */
    border: 2px solid #86B64F; /* Bordure avec une teinte plus opaque */
    color: #ffffff; /* Couleur du texte */
    border-radius: 25px; /* Coins arrondis pour une meilleure esthétique */
    padding: 10px 20px; /* Espacement interne */
    font-size: 14px; /* Taille de la police */
    transition: all 0.3s ease-in-out; /* Transition douce pour les effets */
}

/* Effet au survol */
.navbar .auth-buttons .btn:hover {
    background-color: #ff0000b3; /* Couleur plus vive au survol */
    color: #ecf0f1; /* Texte légèrement plus doux */
    border-color: #86b64f90; /* Bordure identique */
    transform: scale(1.05); /* Légère mise en avant */
}

/* Bouton "Connexion" (Style spécifique si nécessaire) */
.navbar .auth-buttons .btn-outline-primary {
    background-color: transparent; /* Fond transparent */
    color: #86b64f; /* Texte en vert clair */
}

.navbar .auth-buttons .btn-outline-primary:hover {
    background-color: #ff0000b3; /* Fond rempli au survol */
    color: #ffffff; /* Texte blanc au survol */
    border-color: #86b64f; /* Bordure correspondante */
}


/* Responsive Design */
/* @media (max-width: 768px) {
    .top-bar .contact-info, .top-bar-right {
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar-nav {
        text-align: center;
    }
} */


/* Responsive Design */
@media (max-width: 768px) {
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-wrapper {
        width: 100%; /* Occupe toute la largeur sur les petits écrans */
        margin-bottom: 10px;
    }
}

.social-links {
    position: relative;
    margin-left: 200px;
    transition: color 0.3s;
    width: 50px;
    height: 50px;
}
.social-links {
    display: flex; /* Aligne les éléments horizontalement */
    justify-content: center; /* Centre les icônes horizontalement */
    gap: 15px; /* Espacement horizontal entre les icônes */
    margin-top: 20px; /* Ajout d'un peu d'espacement autour si nécessaire */
}

.social-links .social-icon i {
    font-size: 2.5rem; /* Ajustez la taille des icônes */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links .social-icon i:hover {
    transform: scale(1.2); /* Agrandit légèrement au survol */
    color: #000; /* Change la couleur au survol */
}



.numb{
    position: relative;
    margin-left: 180px;
    transition: color 0.3s;
    text-decoration: none;
}

span a:hover{
    color: #ff0000;
}


/* Style général du dropdown */
.navbar .dropdown-menu {
    background-color: #86B64F; /* Couleur principale */
    border: none; /* Pas de bordures */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre */
    padding: 10px 0; /* Espacement vertical */
    transition: all 0.3s ease-in-out;
    min-width: 200px; /* Largeur minimum */
}

/* Items du dropdown */
.navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px; /* Espacement interne */
    font-size: 14px; /* Taille de police */
    color: #ffffff; /* Couleur du texte */
    white-space: nowrap; /* Pas de retour à la ligne */
    transition: all 0.3s ease-in-out;
}

/* Effet au survol */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #ff0000; /* Accentuation au survol */
    color: #ecf0f1; /* Texte plus doux */
    border-radius: 5px;
    font-size: 1.2rem; /* Coins arrondis lors du survol */
}

/* Sous-dropdown */
.navbar .dropdown-menu .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-menu .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%; /* Décalage horizontal pour apparaître à droite */
    margin-left: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #86b64f;
    padding: 10px 0;
    display: none; /* Masqué par défaut */
}

.navbar .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
    display: block; /* Affiche le sous-dropdown au survol */
}

.navbar .dropdown-menu .dropdown-submenu .dropdown-item {
    padding: 10px 20px;
    font-size: 13px;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-submenu .dropdown-item:hover {
    background-color: #86B64F;
    color: #ecf0f1;
}

/* Indicateur pour les sous-dropdowns */
/* .navbar .dropdown-menu .dropdown-submenu > a::after {
    content: "›"; 
    float: right;
    color: #ffffff;
} */

/* Animation d'apparition */
.navbar .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.navbar .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Ajouter */
.dropdown-menu {
    background-color: #f8f9fa;
    border: none;
    border-radius: 0;
    transition: transform 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #86b64f90;
    color: white;
}

.dropdown-submenu .dropdown-menu {
    position: absolute;

    display: none;
}
/* .dropdown-submenu {
    position: relative;
}


.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    left: 100%; 
    top: 0;
    margin: 0;
}  */

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .navbar-nav {
        margin: 1rem 0;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
    }

    .search-box {
        width: 100%;
        margin: 1rem 0;
    }

    .nav-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Pour les petits écrans */
@media (max-width: 991px) {
    .navbar .nav-right {
        flex-direction: column;
        align-items: center;
    }

    .auth-buttons {
        margin-top: 10px;
    }
}

.carousel-item .slid .btn:hover {
    background-color: #ff0000b3; /* Couleur plus vive au survol */
    color: #ecf0f1; /* Texte légèrement plus doux */
    transform: scale(1.05); /* Légère mise en avant */
}
