/* ========== NAVBAR ========== */
body {
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 50px;
    background: transparent;
    transition: background 0.15s ease, box-shadow 0.3s ease;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.navbar .nav-menu a {
    color: #000000;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    line-height: normal;
    display: inline-block;
}

.nav-menu a:hover {
    background: rgba(31, 122, 99, 0.1);
    color: #1f7a63;
}

.navbar .login-btn {
    background: #a5904a;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.navbar .login-btn:hover {
    background: #d19439;
    color: #ffffff;
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
        z-index: 999;
        padding: 0;
        margin: 0;
    }

    .nav-menu.active {
        max-height: 100vh;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 12px 20px;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .logo {
        font-size: 18px;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }
    
}