.navbar {
    
    width: 100%;

    background: #ffff;

    border-bottom: 1px solid #eeeeee;


    position: sticky;

    top: 0;

    z-index: 1000;
}

.navbar-container {

    max-width: 1200px;
    height: 75px;

    margin: 0 auto;


    padding: 0 24px;


    display: flex;

    align-items: center;

    justify-content: space-between;



    gap: 40px;
}


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

.navbar-logo {

    display: flex;

    align-items: center;



    gap: 10px;


    text-decoration: none;

    color:#222222;


    font-size: 20px;

    font-weight: 700;


    white-space: nowrap;

}


.navbar-logo img {

    width: 45px;

    height: 45px;


    object-fit: contain;
}

.navbar-logo span {
    font-size: 20px;
    font-weight: 700;
}

/*===================
        Menu
===================*/

.navbar-menu {
    display: flex;
    align-items: center;
    gap:8px;

}

.nav-link {
    position: relative;
    padding: 10px 14px;
    text-decoration: none;
    color: #555555;

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

    border-radius: 8px;

    transition: all 0.3 ease;

}

.nav-link:hover {
    color: #b87924;
    background: #fff8ef;    
}

/* Garis bawah active */

.nav-link.active {
    color: #b87924;
}

.nav-link.active::after {
    content: "";

    position:absolute;
    left:14px;
    right: 14px;
    bottom: 3px;

    height: 2px;

    background: #b87924;
    border-radius: 10px;

}

/*===================
Button
===================*/

.navbar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    background: #b87924;
    color: #ffffff;

    text-decoration: none;

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

    border-radius: 10px;

    white-space: nowrap;

    transition:all 0.3s ease;
}

.navbar-button:hover {
    background: #98621d;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(184,121,36,0.25);
}

/*==============================
        HAMBURGER MENU
==============================*/

.navbar-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: none;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.navbar-toggle span{
    display: block;

    width: 23px;
    height: 2px;

    background: #222222;

    border-radius: 5px;

    transition: all 0.3s ease;
}

/*===================================
            RESPONSIVE
===================================*/

@media (max-width: 900px) {
    .navbar-container {
        gap: 15px;
    }

    .navbar-menu {
        gap: 0;
    }

    .nav-link {
        padding:10px 8px;
        font-size: 14px;
    }

    .navbar-button {
        padding: 10px 14px;
    }

}

@media (max-width: 700px) {
    .navbar-container {
        height: 68px;
        padding:0 18px;
    }

    .navbar-logo span {
        font-size: 18px;

    }

    .navbar-logo img {
        width:40px;
        height: 40px;

    }

    /* Tampilkan Hamburger */

    .navbar-toggle {
        display: flex;
    }

    /* Sembunyikan menu awal */

    .navbar-menu {
        display: none;

        position: absolute;

        top: 68px;
        left: 0;
        right: 0;

        padding: 15px;

        background: #ffffff;

        border-bottom: 1px solid #ffffff;

        box-shadow: 0 10px 25px rgba (0,0,0,0.08);

        flex-direction: column;
        align-items: stretch;

    }


    /* Saat menu dibuka */

    .navbar-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        
        padding: 13px 15px;

    }

    .nav-link.active::after {
        display: none;
    }

    .navbar-button {
        display: none;
    }
}

/* ========================================
   PAGE TRANSITION
======================================== */

body {
    animation: pageEnter 0.5s ease;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Saat pindah halaman */

body.page-exit {
    animation: pageExit 0.35s ease forwards;
}

@keyframes pageExit {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}