/* ===================================================
   DMTD Hero Slider - BAGIMSIZ CSS DOSYASI (haber donen slider)
   Bu dosyayi mevcut style.css'e KARISTIRMA.
   assets/css/ klasorune "hero-slider.css" adiyla yukle.
   =================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  background: #0d1420;
  touch-action: pan-y;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hero-slider {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }
}

.hero-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .6s ease;
  will-change: transform;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-slide {
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
}

.hero-slide-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #16233b, #d81f2a 65%, #d9a441);
}

/* haber basligi overlay - resmin uzerine yazi */
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,20,32,0) 40%, rgba(13,20,32,.82) 100%);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.hero-slide-caption {
  padding: 24px 70px 44px 24px;
  color: #fff;
  max-width: 720px;
}

.hero-slide-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9a441;
  background: rgba(13, 20, 32, .5);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.hero-slide-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

@media (max-width: 640px) {
  .hero-slide-caption { padding: 16px 50px 28px 16px; }
  .hero-slide-title { font-size: 1.02rem; }
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 20, 32, .55);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
  padding: 0;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  background: #d81f2a;
}

.hero-slider-arrow.prev { left: 12px; }
.hero-slider-arrow.next { right: 12px; }

@media (max-width: 640px) {
  .hero-slider-arrow {
    width: 34px;
    height: 34px;
    font-size: .95rem;
  }
}

.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.hero-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  padding: 0;
}

.hero-slider-dots button.active {
  background: #d9a441;
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-track {
    transition: none;
  }
}
