/* Slider dış çerçevesi */
.tps-slider-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

/* Slider alanı */
.tps-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Slaytları taşıyan track */
.tps-slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

/* Her slayt */
.tps-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Slayt içindeki görsel */
.tps-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Başlık overlay – masaüstte ortada sola yaslı kutu */
.title-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 60%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: bold;
  box-sizing: border-box;
  text-align: left;
  z-index: 1;
}

/* Kategori etiketi */
.category-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #cc0000;
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Navigation kutuları */
.tps-slider-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

/* Her numara kutusu (masaüstü) */
.nav-dot {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
  background: #f0f0f0;
  color: #333;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Hover efekti */
.nav-dot:hover {
  background: #ddd;
}

/* Aktif olan kutu */
.nav-dot.active {
  background: #cc0000;
  color: #fff;
}

/* Mobil ve tablet: köşeli ikonlar */
@media (max-width: 1024px) {
  .tps-slider-wrapper {
    height: 240px;
  }

  .nav-dot {
    padding: 0;
    font-size: 0;
    color: transparent;
    background-color: #e0e0e0;
    width: 10px;
    height: 10px;
    margin: 0 2px;
    border-radius: 0;
  }

  .nav-dot.active {
    background-color: #cc0000;
  }
}

/* Mobil: başlık alt kısımda, padding 6px */
@media (max-width: 600px) {
  .title-overlay {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.98), rgba(0,0,0,0.7));
    font-size: 24px;
    padding: 6px;
  }
}

/* Tablet: başlık alt kısımda, padding 8px */
@media (min-width: 601px) and (max-width: 1024px) {
  .tps-slider-wrapper {
    height: 320px;
  }

  .title-overlay {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.98), rgba(0,0,0,0.7));
    font-size: 28px;
    padding: 8px;
  }
}
