
/* ===== NAVBAR BASE ===== */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;   /* ⭐ VERY IMPORTANT */
    top:0;
    z-index: 1000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FLEX LAYOUT */
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* LOGO */
.logo img {
    height: 45px;
    width: auto;
}

/* NAV LINKS (DESKTOP) */
.nav-center {
    display: flex;
    gap: 30px;
}

.nav-center a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
}

.nav-center a:hover,
.nav-center a.active {
    color: #f59e0b;
}

/* HAMBURGER ICON */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ================= MOBILE (<= 400px) ================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }


    .nav-flex {
        height: 90px;
    }

    .nav-center {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #ffffff;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        border-top: 1px solid #e5e7eb;
        z-index: 999;   /* ⭐ VERY IMPORTANT */
    }

    .nav-center.show {
        display: flex;
    }
}
