/* ============================================
   NAVIGATION STYLES
   ============================================ */

/* Modern Navbar */
.modern-navbar {
    background: var(--bg-navbar) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-navbar);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary) !important;
    text-shadow: 2px 2px 4px var(--shadow-darker);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

    .navbar-nav .nav-link:hover {
        color: var(--color-primary) !important;
        transform: translateY(-2px);
    }

    .navbar-nav .nav-link.active {
        color: var(--color-primary) !important;
        font-weight: 700;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        right: 50%;
        background: var(--color-primary);
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
        right: 0;
    }

    .navbar-nav .nav-link.active::after {
        background: var(--color-primary);
        height: 3px;
    }

.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(2px 2px 4px var(--shadow-light));
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.05);
    }

/* Custom Hamburger Menu */
.custom-toggler {
    border: none;
    padding: 8px 10px;
    background: transparent;
}

    .custom-toggler:focus {
        box-shadow: none;
        outline: none;
    }

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--hamburger-default);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.custom-toggler:hover .hamburger-line {
    background-color: var(--hamburger-hover);
}

/* RTL Support for Navbar Collapse */
.navbar-collapse {
    direction: rtl;
    text-align: right;
}

.navbar-nav {
    direction: rtl;
}

/* ============================================
   END NAVIGATION STYLES
   ============================================ */
