/* استایل‌های هدر و منوی ناوبری */

.site-header {
  background-color: #0a0a0a;
  background: linear-gradient(to right, #0a0a0a, #1a1a1a);
  padding: 20px 0;
  border-bottom: 1px solid #27272a;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.logo h2 {
  font-size: 2rem;
  margin: 0;
  color: white;
  background: linear-gradient(to right, #ffffff, #a1a1aa, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
}

.logo h2:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #ffffff, #4f46e5, #a1a1aa);
  -webkit-background-clip: text;
  background-clip: text;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: #a1a1aa;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #4f46e5, #a1a1aa);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: white;
  transform: translateY(-2px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* دکمه منوی موبایل */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: #a1a1aa;
  transition: stroke 0.3s ease;
}

.mobile-menu-toggle:hover svg {
  stroke: white;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #0a0a0a;
    background: linear-gradient(to left, #0a0a0a, #1a1a1a);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .main-nav a {
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  .logo h2 {
    font-size: 1.7rem;
  }
  
  .main-nav {
    width: 220px;
  }
}