/* Slider Genel Yapısı */
.owl-carousel.home-slider {
  position: relative;
  height: 600px;
  z-index: 0;
}

.owl-carousel.home-slider .slider-item {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 600px;
  position: relative;
}

.owl-carousel.home-slider .slider-item .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Resimlerin üstündeki yazılar okunsun diye hafif karartma */
}

.owl-carousel.home-slider .slider-item .slider-text {
  height: 600px;
  text-align: center;
}

/* Yazı Stilleri */
.slider-h1 {
  font-weight: 700;
  font-size: 52px;
  color: #fff !important;
  line-height: 1.2;
  margin-bottom: 20px;
}

.subheading {
  font-size: 20px;
  font-weight: 400;
  /* color: rgba(255, 255, 255, 0.9) !important; */
  max-width: 800px;
  margin: 0 auto;
}

/* RESPONSIVE AYARLAR (BOZUKLUĞU ÇÖZEN KISIM) */
@media (max-width: 991.98px) {
  .owl-carousel.home-slider, 
  .owl-carousel.home-slider .slider-item, 
  .owl-carousel.home-slider .slider-item .slider-text {
      height: 400px; /* Tabletlerde biraz küçültelim */
  }
  .slider-h1 {
      font-size: 40px;
  }
}

@media (max-width: 767.98px) {
  .owl-carousel.home-slider, 
  .owl-carousel.home-slider .slider-item, 
  .owl-carousel.home-slider .slider-item .slider-text {
      height: 400px; /* Mobilde daha ideal yükseklik */
  }
  .slider-h1 {
      font-size: 30px;
  }
  .subheading {
      font-size: 16px;
      line-height: 1.4;
  }
  /* Mobilde yazıların yanlardan taşmaması için padding */
  .slider-text {
      padding: 0 15px;
  }

}

/* Navigasyon Noktaları (Dots) */
.owl-carousel.home-slider .owl-dots {
  bottom: 30px !important;
}

/* Mobil Sabit Alan Stili */
.mobile-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Masaüstünde Mobili Gizle */
@media (min-width: 768px) {
    .mobile-only-hero {
        display: none !important;
    }
    .desktop-only-slider {
        display: block !important;
    }
}

/* Mobilde Slider'ı Gizle ve Sabit Görseli Ayarla */
@media (max-width: 767.98px) {
    .desktop-only-slider {
        display: none !important;
    }
    .mobile-only-hero {
        display: block !important;
    }
    
    .mobile-hero-content {
        position: relative;
        height: 440px;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        width: 100%;
    }
    
    .mobile-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Yazıların okunması için karartma */
    }
    
    .mobile-hero-content .container {
        position: relative;
        z-index: 2;
    }
}













/* Noktaları (Dots) Resmin İçine Almak */
.owl-carousel.home-slider .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px !important; /* Beyaz alandan yukarı, resmin içine çeker */
  width: 100%;
  text-align: center;
  z-index: 10; /* Üstte görünmesi için */
}

/* Noktaların Tasarımı (Opsiyonel - Daha Belirgin Olması İçin) */
.owl-carousel.home-slider .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  margin: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4) !important; /* Pasif renk */
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.owl-carousel.home-slider .owl-dots .owl-dot.active {
  transform: scale(1.2);
}

/* Mobilde de resmin içinde kalsın */
@media (max-width: 767.98px) {
  .owl-carousel.home-slider .owl-dots {
      bottom: 15px !important;
  }
}