/* Anasayfa slider stil varyasyonları — tema bg-img (parent background) ile uyumlu */

.home-slider .slick-list,
.home-slider .slick-track {
  height: 100%;
}

.home-slider .slick-slide {
  outline: none;
}

.home-slider .slick-slide > div {
  height: 100%;
}

.home-slider .home {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Tema img'yi gizler; absolute img ile çakışma yaratma — sadece görünür kalırsa doldur */
.home-slider .home > .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.home-slider .home > .container,
.home-slider .home > .container-lg {
  position: relative;
  z-index: 2;
}

/* Stil 0 — Klasik Fade */
.home-slider--classic .home:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.18) 55%, transparent 100%);
  pointer-events: none;
}

.home-slider--classic .slider-contain h1,
.home-slider--classic .slider-contain h4 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.home-slider--classic .slick-current .slider-contain > div {
  animation: hsFadeUp 0.75s ease both;
}

/* Stil 1 — Ortada Panel */
.home-slider--panel .hs-panel {
  padding: 28px 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  max-width: 560px;
  margin: 0 auto;
}

.home-slider--panel .slick-current .hs-panel {
  animation: hsFadeUp 0.7s ease both;
}

/* Stil 2 — Tam Görsel */
.home-slider--image .home {
  cursor: pointer;
}

.home-slider--image a {
  display: block;
  height: 100%;
}

/* Stil 3 — Ken Burns: scale .home (background ile birlikte) */
.home-slider--kenburns .slick-slide {
  overflow: hidden;
}

.home-slider--kenburns .home:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}

.home-slider--kenburns .slick-current .home {
  animation: hsKenBurns 8s ease-out forwards;
  transform-origin: center center;
  will-change: transform;
}

.home-slider--kenburns .slider-contain {
  align-items: flex-end;
  padding-bottom: 8vh;
}

.home-slider--kenburns .slider-contain h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.home-slider--kenburns .slider-contain h4 {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.home-slider--kenburns .slick-current .slider-contain > div {
  animation: hsFadeUp 0.85s ease both;
}

/* Stil 4 — Minimal Tipografi */
.home-slider--minimal .home:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.35) 48%, rgba(15, 23, 42, 0.1) 100%);
  pointer-events: none;
}

.home-slider--minimal .hs-minimal-copy {
  max-width: 640px;
}

.home-slider--minimal .hs-minimal-copy .hs-eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.home-slider--minimal .hs-minimal-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.home-slider--minimal .hs-minimal-copy .hs-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 34ch;
}

.home-slider--minimal .hs-minimal-copy .btn {
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.home-slider--minimal .slick-current .hs-minimal-copy {
  animation: hsFadeUp 0.8s ease both;
}

.home-slider--minimal .slick-dots {
  bottom: 22px;
  z-index: 5;
}

.home-slider--minimal .slick-dots li button:before {
  font-size: 9px;
  color: #fff;
  opacity: 0.45;
}

.home-slider--minimal .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #fff;
}

@keyframes hsKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@keyframes hsFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .home-slider--classic .home:after,
  .home-slider--minimal .home:after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.7) 100%);
  }

  .home-slider--panel .hs-panel {
    padding: 18px 20px;
    margin: 0 12px;
  }

  .home-slider--kenburns .slider-contain,
  .home-slider--minimal .slider-contain {
    padding-left: 8px;
    padding-right: 8px;
  }

  .home-slider--minimal .hs-minimal-copy .hs-sub {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slider--kenburns .slick-current .home,
  .home-slider--classic .slick-current .slider-contain > div,
  .home-slider--panel .slick-current .hs-panel,
  .home-slider--kenburns .slick-current .slider-contain > div,
  .home-slider--minimal .slick-current .hs-minimal-copy {
    animation: none !important;
  }
}
