/* بارگذاری فونت‌ها */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
}

/* فونت پایه سایت */
body {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 300; /* Light برای خوانایی بهتر */
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

/* هدر سایت */
header {
  background: linear-gradient(90deg, #1a1a1a, #2c3e50);
  color: white;
  padding: 20px 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 900; /* Black برای تأکید */
  letter-spacing: 1px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* تصویر پس‌زمینه */
.fullscreen-bg {
  background-image: url('../images/hero-sport.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* دکمه CTA */
.cta-btn {
  background: #e74c3c;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500; /* Medium برای وضوح */
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #c0392b;
}

/* ---------------- محصولات ---------------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 10px;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 10px auto;
  display: block;
}

.product-card h3 {
  margin: 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600; /* SemiBold برای تیتر محصول */
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 10px;
}

.buy-btn, .info-btn {
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  font-weight: 500; /* Medium برای دکمه‌ها */
}

.buy-btn {
  background: #27ae60;
}

.info-btn {
  background: #2980b9;
}

/* ---------------- جزئیات محصول ---------------- */
.product-detail {
  max-width: 900px;
  margin: 30px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: right !important;
  direction: rtl !important;
}

.product-image {
  height: 400px;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 20px;
  background: #fff;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-info h2 {
  text-align: center !important;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 900; /* Black برای تیتر جزئیات */
}

.product-info p,
.product-info ul {
  text-align: right !important;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  list-style-position: inside;
  padding: 0;
  font-weight: 300; /* Light برای متن توضیحی */
}

.product-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.product-buttons a {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 500; /* Medium برای دکمه‌ها */
}

.back-btn {
  background: #2980b9;
}
