/* ========================================
   İleri Teknik Otomotiv - Hero Slider CSS
   ======================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--renk-koyu);
}

/* === SLIDE PARÇALARI === */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-slide.aktif {
  opacity: 1;
  pointer-events: all;
}

/* === SLIDE GÖRSELİ === */
.hero-slide-gorsel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-slide.aktif .hero-slide-gorsel {
  transform: scale(1);
}

/* === OVERLAY === */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,0.85) 0%,
    rgba(26,26,46,0.7) 50%,
    rgba(13,13,13,0.6) 100%
  );
}

.hero-slide-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--renk-koyu), transparent);
}

/* === İÇERİK === */
.hero-icerik {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-icerik .konteyner {
  width: 100%;
  max-width: var(--konteyner-max);
  margin: 0 auto;
  padding: 0 var(--konteyner-padding);
}

.hero-metin {
  max-width: 650px;
}

.hero-metin .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  border-radius: var(--radius-tam);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--renk-birincil);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.hero-metin .hero-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-metin h1, .hero-metin .hero-baslik {
  font-family: var(--font-baslik);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--renk-beyaz-tam);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-metin h1 span, .hero-metin .hero-baslik span {
  color: var(--renk-birincil);
  display: block;
}

.hero-metin .hero-aciklama {
  font-size: var(--fs-lg);
  color: rgba(245,245,245,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
  max-width: 550px;
}

.hero-butonlar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-istatistik {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-istatistik-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-istatistik-item .sayi {
  font-family: var(--font-baslik);
  font-size: 2rem;
  font-weight: 700;
  color: var(--renk-birincil);
  line-height: 1;
}

.hero-istatistik-item .etiket {
  font-size: var(--fs-xs);
  color: rgba(245,245,245,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SLIDER OKLAR === */
.slider-ok {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--gecis-normal);
  color: white;
}

.slider-ok:hover {
  background: var(--renk-birincil);
  border-color: var(--renk-birincil);
  transform: translateY(-50%) scale(1.1);
}

.slider-ok svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-ok-sol { left: 2rem; }
.slider-ok-sag { right: 2rem; }

/* === SLIDER NOKTALARI === */
.slider-noktalar {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.slider-nokta {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--gecis-normal);
  border: none;
  padding: 0;
}

.slider-nokta.aktif {
  width: 28px;
  border-radius: 4px;
  background: var(--renk-birincil);
}

.slider-nokta:hover {
  background: rgba(255,255,255,0.7);
}

/* === SLIDER DEKORATIF === */
.slider-dekor {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to left, rgba(230,57,70,0.08), transparent);
  pointer-events: none;
  z-index: 5;
}

/* === ANİMASYONLAR === */
.hero-slide.aktif .hero-metin .hero-badge {
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-slide.aktif .hero-metin h1, .hero-slide.aktif .hero-metin .hero-baslik {
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-slide.aktif .hero-metin .hero-aciklama {
  animation: fadeInUp 0.7s ease 0.6s both;
}

.hero-slide.aktif .hero-butonlar {
  animation: fadeInUp 0.7s ease 0.8s both;
}

.hero-slide.aktif .hero-istatistik {
  animation: fadeInUp 0.7s ease 1s both;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-slider {
    min-height: 550px;
    max-height: 700px;
  }
  .slider-ok { display: none; }
  .hero-istatistik { gap: 1.25rem; }
  .hero-istatistik-item .sayi { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 90vh;
    min-height: 500px;
    max-height: 650px;
  }
  .hero-metin h1, .hero-metin .hero-baslik { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero-metin .hero-aciklama { font-size: var(--fs-md); }
  .hero-butonlar { flex-direction: column; align-items: flex-start; }
  .hero-istatistik { 
    flex-wrap: wrap; 
    gap: 1rem;
    border-top: none;
    padding-top: 1rem;
    margin-top: 1.5rem;
  }
  .slider-dekor { display: none; }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 85vh;
    min-height: 480px;
  }
  .hero-metin h1, .hero-metin .hero-baslik { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero-butonlar .btn { width: 100%; justify-content: center; }
}
