.tj-referanslar-section {
  padding: 90px 0 100px;
}

.tj-referanslar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tj-referans-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.tj-referans-item a {
  display: block;
  position: relative;
}

.tj-referans-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tj-referans-item:hover img {
  transform: scale(1.05);
}

.tj-referans-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.15);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tj-referans-item:hover::after {
  opacity: 1;
}

@media (max-width: 1199px) {
  .tj-referanslar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .tj-referanslar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tj-referans-item img {
    height: 180px;
  }
}

@media (max-width: 479px) {
  .tj-referanslar-grid {
    grid-template-columns: 1fr;
  }
}
