/* === SLIDER ALANI === */
.hak-slider-section {
  position: relative;
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

/* === SWIPER === */
.swiper, .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: center;
}

/* === GÖRSELLER === */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* === YAZI BLOĞU === */
.slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 20%); /* Aşağıdan başla */
  opacity: 0;
  z-index: 2;
  text-align: center;
  max-width: 90%;
  color: white;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  transition: all 0.8s ease-out;
}

/* YAZIYI AŞAĞIDAN YUKARI ANİMASYONLA GETİR */
.swiper-slide.swiper-slide-active .slider-caption.fade-in {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* === METİNLER === */
.slider-caption h3 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.slider-caption h5 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.slider-caption p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 800px;
}

/* === PAGİNATİON === */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: #c70000;
  opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .slider-caption h3 {
    font-size: 2rem;
  }
  .slider-caption h5 {
    font-size: 1.3rem;
  }
  .slider-caption p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .hak-slider-section,
  .swiper,
  .swiper.mySwiper {
    height: 45vh;
  }

  .slider-caption h3 {
    font-size: 1.6rem;
  }

  .slider-caption h5 {
    font-size: 1.1rem;
  }

  .slider-caption p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hak-slider-section,
  .swiper,
  .swiper.mySwiper {
    height: 38vh;
  }

  .slider-caption h3 {
    font-size: 1.4rem;
  }

  .slider-caption p {
    font-size: 0.9rem;
  }
}
