/* ==================================================
   NAVBAR
================================================== */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    padding: 0 40px;

    background: #11192d;

    display: flex;

    justify-content: space-between;
    align-items: center;

    z-index: 9999;

    box-sizing: border-box;

}


/* ==================================================
   SCROLLED NAVBAR
================================================== */

.navbar.scrolled {

    background: rgba(8, 12, 25, .95);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);

    height: 80px;

}


/* ==================================================
   LOGO
================================================== */

.logo img {

    height: 65px;

    width: auto;

    display: block;

    transition: .3s ease;

}

.logo img:hover {

    transform: scale(1.08) rotate(-2deg);

}


/* ==================================================
   DESKTOP NAVIGATION
================================================== */

.nav-links {

    display: flex;

    align-items: center;

    gap: 35px;

    list-style: none;

    margin: 0;
    padding: 0;

}

.nav-links li {

    list-style: none;

}

.nav-links a {

    color: #fff;

    text-decoration: none;

    font-size: 18px;

    font-weight: 500;

    transition: .3s;

}

.nav-links a:hover {

    color: #FBBF24;

}


/* ==================================================
   JOIN / BECOME A SHERPA BUTTON
================================================== */

.join-btn {

    background: #F97316;

    color: white !important;

    padding: 12px 24px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}

.join-btn:hover {

    background: #EA580C;

    color: white !important;

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(249, 115, 22, .45);

}


/* ==================================================
   MOBILE MENU BUTTON
================================================== */

.menu-toggle {

    display: none;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    background: transparent;

    border: none;

    color: white;

    font-size: 24px;

    cursor: pointer;

    z-index: 10001;

}


/* ==================================================
   MOBILE NAVIGATION
================================================== */

@media (max-width: 768px) {


    /* ----------------------------------------------
       NAVBAR
    ---------------------------------------------- */

    .navbar {

        height: 64px;

        padding: 0 16px;

    }


    .navbar.scrolled {

        height: 64px;

    }


    /* ----------------------------------------------
       LOGO
    ---------------------------------------------- */

    .logo img {

        height: 52px;

        width: auto;

    }


    /* ----------------------------------------------
       HAMBURGER
    ---------------------------------------------- */

    .menu-toggle {

        display: flex;

    }


    /* ----------------------------------------------
       MOBILE MENU
    ---------------------------------------------- */

    .nav-links {

        position: fixed;

        top: 64px;

        left: 0;
        right: 0;

        width: 100%;

        height: auto;

        padding: 15px 20px 25px;

        margin: 0;

        background: rgba(8, 16, 31, .98);

        backdrop-filter: blur(15px);

        -webkit-backdrop-filter: blur(15px);

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        list-style: none;

        box-shadow:
            0 15px 35px rgba(0, 0, 0, .35);

        transform: translateY(-20px);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;

    }


    /* ----------------------------------------------
       OPEN MENU
    ---------------------------------------------- */

    .nav-links.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

    }


    /* ----------------------------------------------
       MOBILE MENU ITEMS
    ---------------------------------------------- */

    .nav-links li {

        width: 100%;

    }


    .nav-links a {

        display: block;

        width: 100%;

        padding: 13px 15px;

        border-radius: 10px;

        font-size: 16px;

        color: white;

    }


    .nav-links a:hover {

        background: rgba(249, 115, 22, .15);

        color: #FBBF24;

    }


    /* ----------------------------------------------
       MOBILE JOIN BUTTON
    ---------------------------------------------- */

    .nav-links .join-btn {

        margin-top: 8px;

        text-align: center;

        background: #F97316;

        color: white !important;

        padding: 13px 20px;

    }


    .nav-links .join-btn:hover {

        background: #EA580C;

        color: white !important;

    }

}