/* استایل‌های اختصاصی هدر - طراحی حرفه‌ای */
.header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(37, 99, 235, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(37, 99, 235, 0.02) 0%, 
            rgba(30, 64, 175, 0.01) 50%,
            rgba(245, 158, 11, 0.01) 100%);
    opacity: 1;
    z-index: -1;
    animation: subtleShine 8s ease-in-out infinite;
}

@keyframes subtleShine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    position: relative;
    z-index: 2;
}

/* استایل لوگو */
.nav-logo {
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    padding: 4px;
    border-radius: 12px;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 50%, 
        rgba(147, 197, 253, 0.1) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-container:hover::before {
    opacity: 1;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    animation: logoFloat 4s ease-in-out infinite;
    filter: 
        drop-shadow(0 4px 8px rgba(37, 99, 235, 0.15))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))
        brightness(1.05)
        contrast(1.1);
    position: relative;
    z-index: 1;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 4px;
}

.logo-fallback {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    animation: logoFloat 4s ease-in-out infinite, gradientShift 6s ease infinite;
    box-shadow: 
        0 4px 12px rgba(37, 99, 235, 0.25),
        0 8px 24px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
}

@keyframes logoFloat {
    0%, 100% {
        transform: 
            translateY(0px) 
            rotate(0deg)
            scale(1);
    }
    33% {
        transform: 
            translateY(-3px) 
            rotate(1deg)
            scale(1.02);
    }
    66% {
        transform: 
            translateY(-1px) 
            rotate(-1deg)
            scale(1.01);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    }
    25% {
        background: linear-gradient(135deg, #3b82f6, #60a5fa, #2563eb);
    }
    50% {
        background: linear-gradient(135deg, #60a5fa, #2563eb, #3b82f6);
    }
    75% {
        background: linear-gradient(135deg, #2563eb, #60a5fa, #3b82f6);
    }
}

.logo-text span {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: textShine 8s ease-in-out infinite;
    letter-spacing: -0.5px;
}

@keyframes textShine {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
    }
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #64748b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-container:hover .tagline {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateX(-1px);
}

/* منوی اصلی */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 14px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    line-height: 1;
    color: #475569;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(59, 130, 246, 0.03) 100%);
    border-radius: 9px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 
        0 4px 12px rgba(37, 99, 235, 0.1),
        0 2px 4px rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    border-radius: 2px 2px 0 0;
    transition: all 0.3s ease;
    transform: translateX(50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link i {
    font-size: 1rem;
    width: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-link:hover i {
    transform: translateX(-2px) scale(1.1);
    color: #2563eb;
}

/* منوی actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #475569;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-btn:hover {
    background: transparent;
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.search-btn:hover::before {
    opacity: 1;
}

.search-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.search-btn:hover i {
    transform: scale(1.1);
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.nav-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-action-btn:hover {
    background: transparent;
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.nav-action-btn:hover::before {
    opacity: 1;
}

.nav-action-btn span,
.nav-action-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-action-btn:hover i {
    transform: scale(1.1);
}

.language-menu {
    position: relative;
}

.language-btn {
    min-width: 110px;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(37, 99, 235, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.language-menu:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transition: right 0.3s ease;
    z-index: -1;
}

.language-option:hover {
    color: white;
    transform: translateX(-5px);
}

.language-option:hover::before {
    right: 0;
}

.language-option i {
    font-size: 0.85rem;
    width: 16px;
    transition: transform 0.3s ease;
}

.language-option:hover i {
    transform: scale(1.2);
}

.login-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.login-btn::before {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.login-btn:hover {
    background: transparent;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* جستجوی پیشرفته */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
    animation: searchFadeIn 0.3s ease;
}

@keyframes searchFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-container {
    width: 90%;
    max-width: 600px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    font-size: 1.2rem;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 12px 32px rgba(37, 99, 235, 0.2);
    outline: none;
}

.search-submit {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.search-close {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: rgba(100, 116, 139, 0.1);
    color: #2563eb;
    transform: translateY(-50%) scale(1.1);
}

/* منوی موبایل */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    backdrop-filter: blur(30px);
    z-index: 1999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 
        -5px 0 25px rgba(0, 0, 0, 0.15),
        -2px 0 10px rgba(37, 99, 235, 0.05);
    overflow: hidden;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    flex-shrink: 0;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.mobile-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close:hover {
    background: rgba(100, 116, 139, 0.1);
    color: #2563eb;
    transform: scale(1.1);
}

.mobile-nav {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    position: relative;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
    font-weight: 600;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.mobile-nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transition: right 0.3s ease;
    z-index: -1;
}

.mobile-nav li a:hover,
.mobile-nav li a.active {
    color: white;
    transform: translateX(-5px);
}

.mobile-nav li a:hover::before,
.mobile-nav li a.active::before {
    right: 0;
}

.mobile-nav li a i {
    font-size: 1.1rem;
    width: 20px;
    transition: transform 0.3s ease;
}

.mobile-nav li a:hover i,
.mobile-nav li a.active i {
    transform: scale(1.2);
}

/* جستجو در موبایل */
.mobile-search {
    padding: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(248, 250, 252, 0.5);
}

.mobile-search .search-input {
    padding: 14px 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.mobile-search .search-box {
    position: relative;
}

.mobile-search .search-submit {
    left: 8px;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

/* Actions در موبایل */
.mobile-actions {
    padding: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(248, 250, 252, 0.5);
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-action-btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.mobile-language-select {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-language-select:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.mobile-language-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.mobile-language-select option {
    background: white;
    color: #1e293b;
    padding: 8px;
}

/* دکمه منوی موبایل */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    flex-shrink: 0;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-toggle:hover {
    background: transparent;
    border-color: #2563eb;
    transform: scale(1.05);
}

.nav-toggle:hover::before {
    opacity: 1;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: #475569;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
    position: relative;
    z-index: 1;
}

.nav-toggle:hover span {
    background: white;
}

.nav-toggle.active {
    background: transparent;
    border-color: #2563eb;
}

.nav-toggle.active::before {
    opacity: 1;
}

.nav-toggle.active span {
    background: white;
}

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

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

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

/* رسپانسیو */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.1rem;
    }
    
    .nav-link {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    
    .nav-action-btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
    
    .language-btn {
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .nav-action-btn span {
        display: none;
    }
    
    .nav-action-btn {
        padding: 10px;
        min-width: 44px;
        justify-content: center;
    }
    
    .language-btn {
        min-width: 44px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .logo-text span {
        font-size: 1.1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 280px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-image,
    .logo-fallback {
        width: 40px;
        height: 40px;
    }
    
    .logo-text span {
        font-size: 1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.65rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* بهبود ظاهر در دسکتاپ */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }
}

/* کاهش حرکت برای کاربران حساس به حرکت */
@media (prefers-reduced-motion: reduce) {
    .logo-container,
    .logo-image,
    .logo-fallback,
    .logo-text span,
    .nav-link,
    .nav-action-btn,
    .search-btn,
    .nav-toggle {
        animation: none !important;
        transition: none !important;
    }
    
    .logo-container:hover,
    .nav-link:hover,
    .nav-action-btn:hover,
    .search-btn:hover,
    .nav-toggle:hover {
        transform: none;
    }
}

/* اسکرول بار سفارشی برای موبایل */
.mobile-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.5);
    border-radius: 2px;
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.mobile-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}