/* ============================================================
   LM Brand Bar — "Çalıştığımız Markalar" şeridi
   Prefix: lm-brand-bar (CSS çakışmalarını önlemek için)
   ============================================================ */

.lm-brand-bar {
  position: relative;
  background: #f8fafc;
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  padding: 30px 0 34px;
  overflow: hidden;
}

.lm-brand-bar__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.lm-brand-bar__head::before,
.lm-brand-bar__head::after {
  content: '';
  height: 1px;
  width: 60px;
  background: rgba(15, 136, 208, 0.25);
}

.lm-brand-bar__title {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #0a4f8f;
  white-space: nowrap;
}

.lm-brand-bar__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.lm-brand-bar__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: lm-brand-bar-scroll 32s linear infinite;
}

.lm-brand-bar__viewport:hover .lm-brand-bar__track {
  animation-play-state: paused;
}

.lm-brand-bar__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  width: 168px;
  margin: 0 14px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.lm-brand-bar__item {
  text-decoration: none;
}

.lm-brand-bar__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.1);
  border-color: rgba(15, 136, 208, 0.3);
}

.lm-brand-bar__item img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(35%);
  transition: filter 0.3s ease;
}

.lm-brand-bar__item:hover img {
  filter: grayscale(0%);
}

@keyframes lm-brand-bar-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-brand-bar__track {
    animation: none;
  }

  .lm-brand-bar__viewport {
    overflow-x: auto;
  }
}

@media (max-width: 575px) {
  .lm-brand-bar {
    padding: 24px 0 28px;
  }

  .lm-brand-bar__item {
    height: 64px;
    width: 130px;
    margin: 0 8px;
  }

  .lm-brand-bar__item img {
    max-height: 32px;
  }
}
