/* ======================================================
   HERO SLIDER — TEMİZ SÜRÜM
====================================================== */

.hero-slider {
  position: relative;
  z-index: 1;
}

/* ---------- SLIDE ARKA PLAN ---------- */

.hero-slide {
  min-height: 640px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}


/* ---------- HERO CONTENT KONUM ---------- */

.hero-slide .hero-content {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 15%;
  right: 5%;
  
  max-width: 1180px;
}


/* ---------- YAZI BANDI ---------- */

.hero-text-band {
  position: relative;
  z-index: 2;
}

.hero-text-band::before {
  content: "";
  position: absolute;
  left: -50vw;
  right: -50vw;
  top: -12px;
  bottom: -50px;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}


/* ---------- HERO TİPOGRAFİ ---------- */

.hero-slide h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 1px 1px 2px #000;

  font-size: clamp(14px, 2.8vw, 28px) !important;
  line-height: 1.18;
  white-space: nowrap !important;
}

.hero-slide h2 .subline {
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  font-weight: 400;
  opacity: .92;
  font-size: clamp(10px, 2.2vw, 21px) !important;
  margin-top: 6px;
  
  
}

@media (max-width: 768px) {

  .hero-slide {
    min-height: auto;
    aspect-ratio: 12 / 9;
    background-size: contain;
    background-position: center top;
  }

  .hero-slide .hero-content {
    bottom: 30px;
    left: 8%;
    right: 5%;
  }

  .hero-slide h2 {
    
    white-space: nowrap;
  }
}


/* ======================================================
   SLIDER GEÇİŞ HIZI
====================================================== */

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform .35s ease-out;
}


/* ======================================================
   ALT KONTROL BAR (OK + NOKTA)
====================================================== */

.hero-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;

  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== HERO CONTROLS — TABLET & MOBILE OFFSET ===== */

@media (max-width: 768px) {

  .hero-controls {
    bottom: 1px;   /* masaüstü 22px idi — aşağı aldık */
  }

}


/* ---------- OK BUTONLARI ---------- */

.hero-arrow {
  background: transparent;
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}

/* ---------- INDICATORS FIX ---------- */

.hero-controls .carousel-indicators {
  position: static !important;
  margin: 0;
  display: flex;
  gap: 10px;
}


/* gerçek yuvarlak noktalar */

.hero-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  padding: 0;
  border: none;
  background: #ffffff;
  opacity: .45;
  transition: transform .15s ease, opacity .15s ease;
}

.hero-indicators .active {
  opacity: 1;
  transform: scale(1.35);
}
@media (max-width: 768px) {
  .hero-indicators button {
    width: 6px!important;
    height: 6px !important;
    opacity: 0.6;
  }

  .hero-indicators .active {
    transform: scale(1.2);
  }

  .hero-arrow {
  
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
  .hero-controls {
    gap: 6px;
  }

}