.brands-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.brands-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="brandsGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="25" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23brandsGrain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.brands-section .container {
  position: relative;
  z-index: 2;
}

.brands-header {
  text-align: center;
  margin-bottom: 3rem;
}

.brands-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.brands-header .title-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  border-radius: 2px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: center;
  justify-items: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.brands-footer {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.brands-quality-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
}

.brand-item {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.brand-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-item:hover .brand-logo {
  opacity: 1;
}

/* Mobile styles */
@media (max-width: 767px) {
  .brands-section {
    padding: 3rem 0;
  }

  .brands-header {
    margin-bottom: 2rem;
  }

  .brands-title {
    font-size: 2rem;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .brand-item {
    max-width: 100%;
    padding: 0.75rem;
  }

  .brands-quality-text {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .brands-title {
    font-size: 2.25rem;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .brands-quality-text {
    font-size: 1.05rem;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .brands-title {
    font-size: 2.75rem;
  }

  .brands-quality-text {
    font-size: 1.15rem;
  }
}

@media (min-width: 1200px) {
  .brands-section {
    padding: 6rem 0;
  }

  .brands-title {
    font-size: 3rem;
  }
}
