@import url("https://fonts.googleapis.com/css2?family=Italiana&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap");

/* General Reset & Fonts */
#langue {
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: bold;
}

.logo-menu {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.2em;
    text-transform: uppercase;
}

header {
    background: linear-gradient(#ffffff, #ffffff60), url(/static/assets/img/abstract.jpg);
    box-shadow: 0px 0px 6px #2525255d;
    border-bottom: #0b73b6 4px solid; /* تم التغيير هنا */
    top: 0;
    z-index: 1000;
}

header .icon {
    width: 2rem;
}

header nav a {
    text-decoration: none;
    text-transform: uppercase;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #000000;
    transition: 1s;
    font-size: 14px;
}

header nav a:hover {
    color: #0b73b6; /* تم التغيير هنا */
}

#nav-bar-about,
#logistic,
#nav-bar-logistic {
    position: sticky;
    top: 0;
    z-index: 999; /* You can adjust z-index as needed */
}

hr {
    height: 0.3rem;
    border: none;
    margin: 0.2rem 0;
}

#nav-bar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999999;
    box-shadow: 1px 0.5px 10px #2525255d;
    border-bottom: #0b73b6  4px solid;
}

#decouvert-btn,
#close-decouvert-btn,
#decouvert-btn-logistic,
#close-decouvert-btn-logistic,
#decouvert-btn-about,
#close-decouvert-btn-about {
    display: none;
}

.mobile-only-title {
    display: none;
}

/* Responsive Design */
@media (max-width: 870px) {
    #nav-bar .nav-bar-title {
        display: none;
    }

    #nav-bar-menu {
        width: 100%;
        justify-content: flex-end;
    }

    #nav-bar nav a {
        display: none;
    }

    #decouvert-btn-about,
    #decouvert-btn-logistic {
        display: inline-block;
        background: transparent;
        border: none;
        font-size: 2em;
        cursor: pointer;
    }

    #nav-menu-logistic a {
        display: none;
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .hide-nav {
        width: 100vw;
        height: 0;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        transition: 0.4s;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
    }

    .show-nav {
        height: 100vh;
        background: white;
        z-index: 999999999;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        gap: 1.5rem;
    }

    .show-nav .mobile-only-title {
        display: block;
        font-size: 1.8em;
        color: #333;
        margin-bottom: 1rem;
    }

    .show-nav a {
        display: block !important;
    }

    .show-nav #close-decouvert-btn-about,
    .show-nav #close-decouvert-btn-logistic {
        display: inline-block;
        background: transparent;
        border: none;
        font-size: 2em;
        position: fixed;
        right: 2rem;
        top: 2rem;
    }

    .show-nav button {
        position: fixed;
        right: 2rem;
        top: 2rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        justify-content: center;
        gap: 1rem;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Navigation Links */
nav a {
    text-decoration: none;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #000000;
    transition: 1s;
    font-size: 14px;
}

nav a:hover {
    color: #72c3fa; /* تم التغيير هنا */
}


@media screen and (max-width: 870px) {
    #nav-bar-about #nav-menu.show-nav,
    #nav-bar-logistic #nav-menu-logistic.show-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 1000;
    }

    #nav-bar-about #nav-menu.show-nav #close-decouvert-btn-about,
    #nav-bar-logistic #nav-menu-logistic.show-nav #close-decouvert-btn-logistic {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 1.5rem;
        color: black;
        background: none;
        border: none;
        cursor: pointer;
    }

    #decouvert-btn-about,
    #decouvert-btn-logistic {
        display: block;
        font-size: 1.5rem;
        background: none;
    }
}