/* ---------------------------------- */
/*               NAVBAR               */
/* ---------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between; /* menu left, logo right */
    padding: 0 2rem;
    background-color: #ebe4d1;
    transition: top 0.3s ease;
}

/* ---------------------------------- */
/*                LOGO                */
/* ---------------------------------- */
.navbar-logo img {
    height: 2rem;
    max-width: 13rem;
    transition: 0.3s;
}

/* ---------------------------------- */
/*            DESKTOP MENU            */
/* ---------------------------------- */
.navbar-items {
    display: flex;
    gap: 1rem;
}

.nav-item {
    font-family: "Macan Regular", sans-serif;
    font-size: 1.2rem;
    color: #3d422e;
    padding: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.nav-item:hover {
    scale: 1.2;
}

.nav-item.active {
    font-family: "Macan Regular", sans-serif;
}

/* ---------------------------------- */
/*              BURGER                */
/*     (shown only on mobile)         */
/* ---------------------------------- */
.navbar-burger {
    display: none;
    cursor: pointer;
}

.navbar-burger img {
    height: 5rem;
    max-width: 3.5rem;
}

/* ---------------------------------- */
/*            MOBILE MENU             */
/* ---------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ebe4d1;
    z-index: 999999 !important;
    transition: right 0.4s ease;
    overflow-y: auto;
    padding-bottom: 20vh;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-inner {
    padding: 0rem 3rem 2rem 2rem;
}

.mobile-logo img {
    width: 40%;
    margin: 2rem auto;
    display: block;
}

.mobile-item {
    display: block;
    padding: 1rem 0;
    font-size: 2rem;
    color: #3d422e;
    border-bottom: 1.5px solid #C5B695;
    text-decoration: none;
    font-family: "Macan Regular", sans-serif; /* ensure correct font */
}

.mobile-item:hover {
    color: #00faa0;
}

/* ---------------------------------- */
/*             RESPONSIVE             */
/* ---------------------------------- */
@media (max-width: 1300px) {

    /* Hide desktop menu */
    .navbar-items {
        display: none;
    }

    /* Navbar flex */
    .navbar {
        padding-left: 0;
        padding-right: 0;
        height: 5rem;
        display: flex;
        align-items: center;
        justify-content: flex-start; /* start from left */
    }

    /* LOGO — flush left */
    .navbar-logo {
        order: 0;
        margin: 0;            /* remove margins */
        padding-left: 1rem;   /* optional tiny space from screen edge */
        width: auto;          /* shrink container to image width */
    }

    .navbar-logo img {
        height: 1.5rem;
        display: block;
        max-width: 13rem;
    }

    /* BURGER — flush right */
    .navbar-burger {
        display: block;
        order: 1;             /* after logo */
        margin-left: auto;    /* push to far right */
        margin-right: 1rem;   /* tiny breathing room */
    }

    .navbar-burger img {
        height: 4rem !important;           /* bigger burger */
        height: auto;
        display: block;
    }
}
