/* style.css */
body {
  margin: 0;
  font-family: sans-serif;
  background-color: #0e0e0e;
  color: white;
  direction: rtl;
}

.header {
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  box-shadow: 0 0 10px #00000050;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffd700;
}

.nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

.nav a:hover {
  color: #ffd700;
}

.login-btn {
  background-color: #ffd700;
  color: black;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}
.login-btn:hover {
  background-color: #e0c200;
}
/* === Hero Section === */
.hero {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 6px 40px;
  background-color: #1a1a1a;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 32px;
  color: #ffd700;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.hero-btn {
  background-color: #ffd700;
  color: black;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.hero-btn:hover {
  background-color: #e0c200;
}

.hero-image img {
  width: 500px;
  max-width: 100%;
  margin-right: 60px; /* یا هر مقداری مثل 20px، 60px، کم و زیاد کن تا به اندازه دلخواه بره چپ */


}
.advantages {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 5px 5px;
  background-color: #121212;
  text-align: center;
}

.advantage-card {
  width: 250px;
  margin: 5px;
  padding: 4px;
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.advantage-card h3 {
  color: #ffd700;
  margin-bottom: 8px;
  font-size: 18px;
}

.advantage-card p {
  color: #ccc;
  font-size: 14px;
}
.logo img {
  height: 60px;
  object-fit: contain;
}

.section-title {
  text-align: center;
  font-size: 24px;
  color: #ffd700;
  margin-top: 5px;
  margin-bottom: 4px;
}

.categories {
  padding: 2px;
  background-color: #0f0f0f;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.category-card {
  width: 220px;
  background-color: #1c1c1c;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 60px;
  margin-bottom: 4px;
}

.category-card h3 {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 4px;
}

.category-card p {
  color: #ccc;
  font-size: 14px;
}

.best-sellers {
  background-color: #101010;
  padding: 10px 5px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product-card {
  width: 220px;
  background-color: #1b1b1b;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

.product-card h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.product-card .price {
  color: #ffd700;
  font-size: 15px;
  margin-bottom: 10px;
}

.buy-btn {
  background-color: #ffd700;
  color: black;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.buy-btn:hover {
  background-color: #e0c200;
}
.about-us {
  background-color: #0f0f0f;
  padding: 10px 5px;
  text-align: center;
}

.about-text {
  color: #ccc;
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.footer {
  background-color: #ffd700;
  color: black;
  padding: 30px 20px 10px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: right;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 20px;
}

.footer h3 {
  font-size: 20px;
  color: black;
  margin-bottom: 8px;
}

.footer p {
  margin: 6px 0;
  color: #333;
  line-height: 1.6;
}

.footer-links a {
  display: block;
  margin-bottom: 6px;
  color: black;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-top: 10px;
  font-size: 12px;
  color: #444;
}
