/* ===================== */
/* Base Header + Nav */
/* ===================== */
.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: -webkit-sticky; /* Safari/iOS */
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
    z-index: 1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--padding-lg);
    height: clamp(50px, 8vh, 60px);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--gap-lg);
}

.navbar-links li {
    margin-bottom: 0;
}

.navbar-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-links a:hover {
    color: #ffffff;
}

.navbar-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.navbar-links a:hover::before {
    width: 100%;
}

.navbar-links a.active {
    color: #ffffff;
}

.navbar-links a.active::before {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    position: relative;
}

/* ===================== */
/* Mobile Responsive */
/* ===================== */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
}

/* على الشاشات الصغيرة */
@media (max-width: 767px) {
    .navbar-links {
        display: none; /* نخفي اللينكات */
    }
    .hamburger-btn {
        display: flex; /* نظهر زر القائمة */
    }
}














