/* فایل style.css — نسخه دارک و شیشه‌ای */

@font-face {
  font-family: 'IRSans';
  src: url('fonts/irsans.eot'); /* برای مرورگرهای قدیمی */
  src: url('fonts/irsans.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'IRSans', sans-serif;
  background: linear-gradient(135deg, #1c1c1c, #2c2c2c);
  color: #eee;
  direction: rtl;
}


h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
}

p, ul {
  line-height: 1.8;
  color: #ccc;
}

ul {
  padding-right: 20px;
}

ul li {
  margin-bottom: 10px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff5722;
}

.main-nav {
  display: flex;
  gap: 10px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'IRSans', sans-serif;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ff5722;
  color: #ff5722;
}

.login-btn {
  display: inline-block;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
font-family: 'IRSans', sans-serif;
  font-weight: 500;
  text-decoration: none; /* حذف خط زیر متن */
  transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
  border-color: #ff5722;
  color: #ff5722;
  text-decoration: none; /* اطمینان از حذف خط زیر متن در هاور */
}
.tab-content {
  display: none;
  padding: 30px 25px;
  margin: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: #aaa;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

a {
  color: #ff5722;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .tab-btn {
    flex: 1 1 45%;
    margin-bottom: 8px;
    text-align: center;
  }

  .login-btn {
    align-self: flex-end;
    margin-top: 10px;
  }

  .tab-content {
    margin: 15px 10px;
    padding: 20px 15px;
  }

  footer {
    font-size: 0.8rem;
    padding: 10px;
  }

  .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.trust-seal {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.trust-seal h3 {
  font-family: 'IRSans', sans-serif;
  font-size: 1rem;
  color: #ffcc80;
  margin-bottom: 8px;
}

.trust-seal img {
  width: 90px;
  height: auto;
  cursor: pointer;
  border: none;
}



}
.pricing-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 800px;
  margin: 30px auto;
  padding: 0 15px;
}


.pricing-box {
  flex: 1 1 280px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.pricing-box:hover {
  transform: translateY(-5px);
}

.pricing-box h3 {
  color: #ff5722;
  margin-bottom: 10px;
}

.order-btn {
  display: inline-block;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #2b2be5;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'IRSans', sans-serif;
  font-weight: 500;
  text-decoration: none; /* حذف خط زیر متن */
  transition: all 0.3s ease;
}

.order-btn:hover,
.order-btn:active {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ff5722;
  color: #ff5722;
  text-decoration: none; /* اطمینان از حذف خط زیر متن در هاور */
}

#adForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

#adForm input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background-color: #333;
  color: #fff;
}

#adForm button {
  background-color: #ff5722;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

#adResult {
  margin-top: 20px;
  background-color: #222;
  padding: 15px;
  border-radius: 8px;
  color: #ffcc80;
}




.random-products {
  padding: 40px 25px;
  margin: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.random-products h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #ffcc80;
  font-family: 'IRSans', sans-serif;
}

.product-slider {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* برای فایرفاکس */
}

.product-slider::-webkit-scrollbar {
  display: none; /* برای کروم و سافاری */
}

.product-card {
  flex: 0 0 160px;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 12px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #eee;
  text-align: center;
}

.product-card:hover {
  transform: scale(1.05);
  border-color: #ff5722;
}

/* قاب مربعی برای تصویر */
.product-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* تصویر داخل قاب با حفظ نسبت و بدون بریدگی */
.product-card img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.product-card h4 {
  font-size: 0.95rem;
  margin-top: 5px;
  color: #ffcc80;
  font-family: 'IRSans', sans-serif;
}


.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 20px;
}

.user-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #eee;
}

.user-card:hover {
  transform: scale(1.03);
  border-color: #ff5722;
}

.user-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
  border: 2px solid #ffcc80;
}

.user-info {
  flex: 1;
  margin-right: 15px;
  text-align: right;
}

.user-info h4 {
  font-size: 1rem;
  margin: 0;
  color: #ffcc80;
}

.user-info p {
  font-size: 0.85rem;
  margin: 4px 0;
  color: #ccc;
}




.login-btn-group {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 15px !important;
  flex-wrap: wrap;
}



.header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.login-btn-group {
  display: flex !important;
  justify-content: center !important;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

