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

nav{
    position:sticky;
    top:0;
    z-index:9999;

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

    background:#fff;
    padding:15px 40px;

    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#8c6b45;
    letter-spacing:1px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:8px;
    list-style:none;
}

.nav-links li{
    position:relative;
}

.nav-links a{
    display:block;

    padding:10px 16px;

    text-decoration:none !important;
    color:#333;

    font-size:15px;
    font-weight:600;

    border-radius:8px;

    transition:all .3s ease;
}

/* Hover Effect */
.nav-links a:hover{
    background:#8c6b45;
    color:#fff;
}

/* Animated Underline */
.nav-links a::after{
    content:'';
    position:absolute;
    left:15px;
    bottom:5px;

    width:0;
    height:2px;

    background:#8c6b45;
    transition:.3s;
}

.nav-links a:hover::after{
    width:calc(100% - 30px);
}

/* Active Menu */
.nav-links a.active{
    background:#8c6b45;
    color:#fff;
}

.logo{
    font-size:20px;
    font-weight:600;
}

/* DESKTOP MENU */

.nav-links{
    display:flex;
    gap:20px;
    list-style:none;
    align-items:center;
}

.menu-toggle{
    display:none;
}


@media(max-width:768px){

    .menu-toggle{
        display:block;
        font-size:30px;
        cursor:pointer;
        z-index:10001;
    }

    .nav-links{
        display:none;
        flex-direction:column;

        position:fixed;
        top:70px;
        left:0;

        width:100%;
        height:calc(100vh - 70px); /* IMPORTANT */

        background:#fff;
        padding:20px;

        overflow-y:auto;           /* IMPORTANT */
        overflow-x:hidden;

        z-index:10000;

        box-shadow:0 5px 20px rgba(0,0,0,.15);
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links li{
        width:100%;
        text-align:center;
        padding:8px 0;
        flex-shrink:0;
    }

    .nav-links::-webkit-scrollbar{
        width:6px;
    }

    .nav-links::-webkit-scrollbar-thumb{
        background:#8c6b45;
        border-radius:10px;
    }
}
/* MOBILE MENU */