/* Brands Section CSS - 3 Columns - Logo Left, Info Right - Elegant Design */

/* === BRANDS SECTION === */
#brands.brands-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--light);
  overflow: hidden;
}

/* Container */
.brands-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Header */
.brands-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.brands-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.brands-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(167, 22, 35, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(167, 22, 35, 0.2);
}

.brands-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brands-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--dark);
}

.brands-title .title-word {
  display: inline-block;
  margin-right: 0.3em;
}

.brands-title .accent {
  color: var(--primary);
}

.brands-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* === LOGO CARDS GRID - 3 COLUMNS === */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ← 2 yerine 3 sütun */
  gap: 1.5rem; /* ← 2rem yerine 1.5rem */
  margin-top: 4rem;
}

/* Brand Card - Logo Left, Info Right - KÜÇÜLTÜLMÜŞ */
.brand-card {
  position: relative;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 1.5rem; /* ← 2rem yerine 1.5rem */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr; /* ← 180px yerine 120px */
  gap: 1.25rem; /* ← 2rem yerine 1.25rem */
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-color);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-card:hover {
  transform: translateX(8px);
  border-color: var(--brand-color);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.brand-card:hover::before {
  transform: scaleY(1);
}

/* Logo Container - LEFT SIDE - KÜÇÜK */
.brand-logo-container {
  width: 100%;
  height: 110px; /* ← 160px yerine 110px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px; /* ← 16px yerine 12px */
  padding: 0.75rem; /* ← 1rem yerine 0.75rem */
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.brand-card:hover .brand-logo-container {
  background: rgba(0, 0, 0, 0.04);
  transform: scale(1.05);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
  filter: grayscale(1) brightness(0.5);
}

.brand-card:hover .brand-logo {
  filter: grayscale(0) brightness(1);
}

/* Brand Info - RIGHT SIDE - KOMPAKT */
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* ← 1rem yerine 0.75rem */
  position: relative;
  z-index: 2;
}

.brand-name {
  font-size: 1.35rem; /* ← 1.8rem yerine 1.35rem */
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
  margin: 0;
  line-height: 1.2;
}

.brand-card:hover .brand-name {
  color: var(--brand-color);
}

.brand-description {
  font-size: 0.85rem; /* ← 1rem yerine 0.85rem */
  line-height: 1.5;
  color: var(--gray);
  margin: 0;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* ← 2 satır limit */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brand-card:hover .brand-description {
  color: var(--dark);
}

/* Category - Subtle Badge - KÜÇÜK */
.brand-category {
  display: inline-block;
  padding: 0.3rem 0.75rem; /* ← 0.4rem 1rem yerine */
  background: rgba(167, 22, 35, 0.1);
  color: #A71623;
  border-radius: 20px;
  font-size: 0.7rem; /* ← 0.75rem yerine 0.7rem */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: fit-content;
}

.brand-card:hover .brand-category {
  background: #A71623;
  color: white;
}

/* Arrow Icon - KÜÇÜK */
.brand-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px; /* ← 40px yerine 32px */
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}

.brand-card:hover .brand-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--brand-color);
}

.brand-arrow svg {
  width: 16px; /* ← 20px yerine 16px */
  height: 16px;
  stroke: var(--gray);
  transition: stroke 0.3s ease;
}

.brand-card:hover .brand-arrow svg {
  stroke: white;
}

/* Background Decoration */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.deco-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(167, 22, 35, 0.02);
  filter: blur(100px);
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -10%;
  right: -20%;
  animation: float 30s ease-in-out infinite;
}

.shape-2 {
  width: 500px;
  height: 500px;
  bottom: -10%;
  left: -20%;
  animation: float 25s ease-in-out infinite reverse;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -30px) scale(1.1);
  }
}

/* === RESPONSIVE DESIGN === */

/* Desktop büyük ekran (1400px+) - 3 sütun */
@media (min-width: 1400px) {
  .brands-grid {
    gap: 2rem;
  }
  
  .brand-card {
    padding: 1.75rem;
  }
}

/* Laptop (1024px - 1400px) - 3 sütun */
@media (max-width: 1400px) {
  .brands-grid {
    gap: 1.25rem;
  }
  
  .brand-card {
    grid-template-columns: 100px 1fr;
    padding: 1.25rem;
  }
  
  .brand-logo-container {
    height: 90px;
  }
  
  .brand-name {
    font-size: 1.2rem;
  }
  
  .brand-description {
    font-size: 0.8rem;
  }
}

/* Tablet (768px - 1024px) - 2 sütun */
@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .brand-card {
    grid-template-columns: 120px 1fr;
    padding: 1.5rem;
  }
  
  .brand-logo-container {
    height: 100px;
  }
  
  .brand-name {
    font-size: 1.3rem;
  }
  
  .brand-description {
    font-size: 0.85rem;
  }
  
  .brands-title {
    font-size: 3rem;
  }
}

/* Mobile büyük (480px - 768px) - 1 sütun */
@media (max-width: 768px) {
  #brands.brands-section {
    padding: 6rem 0;
  }
  
  .brands-container {
    padding: 0 1rem;
  }
  
  .brands-header {
    margin-bottom: 4rem;
  }
  
  .brands-title {
    font-size: 2.5rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .brand-logo-container {
    height: 120px;
    margin: 0 auto;
    max-width: 200px;
  }
  
  .brand-info {
    align-items: center;
  }
  
  .brand-arrow {
    top: 1.5rem;
    right: 1.5rem;
  }
}

/* Mobile küçük (< 480px) - 1 sütun */
@media (max-width: 480px) {
  .brands-title {
    font-size: 2rem;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  .brand-description {
    font-size: 0.8rem;
    -webkit-line-clamp: 3; /* Mobile'da 3 satır */
  }
  
  .brand-card {
    padding: 1.25rem;
  }
}