/* تنظیمات کلی */
body {
  font-family: 'Vazir', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff; /* سفید */
  color: #00103D; /* آبی تیره */
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* هدر */
header {
  background-color: #ffffff; /* سفید */
  color: #00103D; /* آبی تیره */
  padding: 10px 0; /* کاهش padding برای نازک‌تر شدن هدر */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* سایه برای جداسازی هدر از بقیه صفحه */
}

header .container {
  display: flex;
  justify-content: space-between; /* لوگو در سمت چپ و منو در سمت راست */
  align-items: center;
}

header .logo {
  width: 120px; /* کاهش اندازه لوگو */
  height: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 20px; /* فاصله بین آیتم‌های منو */
}

nav ul li a {
  color: #00103D; /* آبی تیره */
  text-decoration: none;
  font-size: 1rem; /* کاهش اندازه فونت */
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #F9A825; /* نارنجی */
}

.language-toggle {
  background-color: #F9A825; /* نارنجی */
  color: #00103D; /* آبی تیره */
  padding: 6px 12px; /* کاهش padding دکمه */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem; /* کاهش اندازه فونت */
  transition: background-color 0.3s ease;
}

.language-toggle:hover {
  background-color: #FFCC33; /* زرد */
}
/* بخش Hero */
.hero {
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff; /* سفید */
  text-align: center;
  padding: 150px 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #F9A825; /* نارنجی */
  color: #00103D; /* آبی تیره */
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #FFCC33; /* زرد */
}

/* بخش‌ها */
.section {
  padding: 60px 0;
}

.section h2 {
  color: #00103D; /* آبی تیره */
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.section p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* فرم تماس */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #4B4B4B; /* خاکستری */
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #00103D; /* آبی تیره */
  color: #ffffff; /* سفید */
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #F9A825; /* نارنجی */
}

/* Footer */
footer {
  background-color: #4B4B4B; /* خاکستری */
  color: #ffffff; /* سفید */
  text-align: center;
  padding: 40px 0;
}

footer .social-links a {
  color: #FFCC33; /* زرد */
  text-decoration: none;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #F9A825; /* نارنجی */
}

/* رسپانسیو برای موبایل و تبلت */
@media (max-width: 768px) {
  header .logo {
    width: 120px; /* کوچک‌تر کردن لوگو برای موبایل */
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff; /* سفید */
    padding: 10px;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none; /* مخفی کردن منو به صورت پیش‌فرض */
  }

  nav ul.active {
    display: flex; /* نمایش منو هنگام فعال‌شدن */
  }

  nav ul li {
    margin: 10px 0;
  }

  .language-toggle {
    margin-top: 10px;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    width: 100%;
  }

  .contact-form {
    padding: 0 20px;
  }
}

/* رسپانسیو برای دسکتاپ‌های کوچک */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}