/* تنظیمات کلی */
body {
  margin: 0;
  font-family: Tahoma, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}

/* هدر */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* هدر بدون استیکی */
header.header-bg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: url("assets/banner.gif.gif") no-repeat center center/cover;
  border-bottom: 2px solid #ff4500;
  position: relative; /* دیگه sticky نیست */
}

/* برای ریسپانسیو: منو در موبایل جمع بشه */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    display: none; /* منو پیش‌فرض مخفی */
    padding: 10px;
    border-radius: 5px;
  }

  header nav ul.show {
    display: flex; /* وقتی کاربر بازش کرد، بیاد */
  }

  /* دکمه منوی موبایل */
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
  }
}

/* برای دسکتاپ منو مثل قبل */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* تنظیمات کلی */
body {
  margin: 0;
  font-family: Tahoma, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}


header .logo img {
  height: 50px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

header nav ul li a:hover {
  background: linear-gradient(45deg, #ff4500, #000000);
}

header .logo img {
  height: 50px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

header nav ul li a:hover {
  background: linear-gradient(45deg, #5f1b03, #000000);
}

/* بنر */
.hero {
  background: url("assets/banner.gif") no-repeat center center/cover;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: linear-gradient(45deg, #ff4500, #502701);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s;
}

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

/* محصولات */
.preview-products {
  padding: 40px 20px;
  text-align: center;
}

.products-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  background: #222;
  border: 2px solid #ff4500;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
}

/* درباره */
.about {
  padding: 40px 20px;
  text-align: center;
}

.about-box {
  background: #222;
  border: 2px solid #ff8c00;
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 600px;
}

/* CTA پایین */
.cta-bottom {
  text-align: center;
  margin: 30px 0;
}

/* فوتر */
footer {
  background: #000;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  border-top: 1px solid #444;
}
