/* بخش لیست برندهای اصلی */
.brand-list-page {
  padding: 60px 20px;
  text-align: center;
  direction: rtl;
}

.brand-list-title {
  font-family: IRANYekan, sans-serif;
  font-size: 28px;
  color: #1a1a1a;
  padding:50px;
}

/* گرید سه‌ستونه ریسپانسیو */
.brand-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

/* استایل برند با افکت درخشندگی */
.brand-item {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* درخشش هنگام هاور */
.brand-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(25deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.brand-item:hover::before {
  top: 100%;
  left: 100%;
}

.brand-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
}

.brand-list-description {
  font-family: IRANSans, sans-serif;
  font-size: 15px;
  color: #444;
  margin: 20px auto 40px;
  max-width: 98%;
  line-height: 1.9;
  text-align:justify;
}


/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
  .brand-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-item {
    height: 120px;
    padding: 16px;
  }

  .brand-list-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .brand-list-grid {
    grid-template-columns: 1fr;
  }
}
