/* =====================================================
   MZANSI LOCATION - NAVBAR
   ===================================================== */

.site-navbar {
    width: 100%;
    background: #0f172a;
    position: relative;
    z-index: 10000;
}

.navbar-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70px;

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

    position: relative;
}

.navbar-brand {
    color: #ffffff;
    text-decoration: none;

    font-size: 24px;
    font-weight: 700;
}

.navbar-brand:hover {
    color: #ffffff;
}


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

.navbar-toggle {
    width: 48px;
    height: 48px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;

    cursor: pointer;

    padding: 0;

    position: relative;
    z-index: 10002;
}

.navbar-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: #ffffff;

    border-radius: 2px;

    transition: all 0.25s ease;
}


/* Hamburger → X */

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


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

.navbar-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 300px;

    background: #ffffff;

    border-radius: 14px;

    padding: 10px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 10001;
}

.navbar-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-menu-inner {
    display: flex;
    flex-direction: column;
}


/* =====================================================
   LINKS
   ===================================================== */

.navbar-link {
    display: block;

    padding: 14px 16px;

    color: #0f172a;

    text-decoration: none;

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

    border-radius: 9px;
}

.navbar-link:hover {
    background: #f1f5f9;
    color: #f59e0b;
}

.navbar-divider {
    height: 1px;

    background: #e5e7eb;

    margin: 8px 10px;
}

.navbar-register {
    background: #f59e0b;
    color: #ffffff;
}

.navbar-register:hover {
    background: #d97706;
    color: #ffffff;
}

.navbar-logout {
    color: #dc2626;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .navbar-container {
        min-height: 64px;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-menu {
        left: 0;
        right: 0;

        width: 100%;

        top: calc(100% + 8px);
    }

}