/* ========== DE Home Slider (front) — optimized ========== */

/* Root */
.dehs{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  z-index: 2;

  /* Gerçek fullscreen: mobil URL bar sorunlarına dayanıklı */
  height: 100svh;
  min-height: 100svh;
}

@supports (height: 100dvh){
  .dehs{ height: 100dvh; min-height: 100dvh; }
}

/* Track / Slide */
.dehs__track{
  position: relative;
  width: 100%;
  height: 100%;
}

.dehs__slide{
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

.dehs__slide.is-active{
  opacity: 1;              /* <-- 0.1 HATALIYDI */
  pointer-events: auto;
}

/* Media layer (cover) */
.dehs__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Video / Image full cover (no black bottom) */
.dehs__video,
.dehs__img{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;

  display: block;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}




/* Title */
.dehs__title{
  margin: 0 0 10px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(24px, 2.6vw, 46px);
  text-shadow:
    0 2px 6px rgba(0,0,0,.45),
    0 12px 32px rgba(0,0,0,.55);
}

/* Subtitle */
.dehs__subtitle{
  margin: 0 0 14px 0;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
  opacity: .92;
  max-width: 62ch;
  text-shadow:
    0 2px 6px rgba(0,0,0,.45),
    0 10px 28px rgba(0,0,0,.50);
}

/* Button */
.dehs__btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 16px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 700;

  background: rgba(255,255,255,.92);
  color: #111;

  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease;
}

.dehs__btn:hover{
  transform: translateY(-1px);
  background: #fff;
}

/* Nav arrows */
.dehs__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}

.dehs__prev{ left:14px; }
.dehs__next{ right:14px; }

/* Dots - if HTML still exists, hide it */
.dehs__dots{ display:none !important; }

/* Footer safety */
footer, .site-footer{
  position: relative;
  z-index: 1;
}

/* Mobile */
@media (max-width: 768px){
  .dehs{
    border-radius: 14px;
  }

  .dehs__nav{ display:none; }

  .dehs__content{
    left: 14px;
    right: 14px;
    bottom: 22px;
    max-width: none;
  }

  .dehs__content::before{
    inset: -8px -10px;
    border-radius: 12px;
  }
}
