:root{
  --eco-radius: 34px;
  --eco-shadow: 0 20px 48px rgba(2,6,23,.14);
}

/* ============================================================
   🚫 SCROLL-REVEAL SLIDER’A KARIŞMASIN (EN ÖNEMLİ KISIM)
   ============================================================ */
#kurumsal-degerler .reveal,
#kurumsal-degerler .reveal.is-inview,
#kurumsal-degerler .eco-slide.reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* ============================================================
   📌 SLIDER ANA YAPI
   ============================================================ */

.eco-rotator{
  position: relative;
  min-height: clamp(360px, 56vh, 640px);
  border-radius: var(--eco-radius);
  overflow: hidden;
  box-shadow: var(--eco-shadow);
  background: #0b1320;
  margin-bottom: clamp(14px, 3.2vw, 36px);
}

/* 1452x561 oran */
.eco-rotator--1452{
  min-height: 0 !important;
  width: 100%;
  max-width: 1452px;
  aspect-ratio: 1452 / 561;
  height: auto;
  margin: 0 auto clamp(24px, 4vw, 56px);
  border-radius: var(--eco-radius);
  overflow: hidden;
  box-shadow: var(--eco-shadow);
  position: relative;
}

/* İç alanlar */
.eco-rotator--1452 .eco-slide,
.eco-rotator--1452 .eco-img,
.eco-rotator--1452 .eco-shade{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.eco-img{
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1460px){
  .eco-rotator--1452{
    width: 1452px !important;
    height: 561px !important;
    aspect-ratio: auto;
  }
}

/* fallback */
@supports not (aspect-ratio: 1){
  .eco-rotator--1452{
    height: 0 !important;
    padding-top: calc(561 / 1452 * 100%);
  }
}

/* ============================================================
   🔥 SLIDER ANİMASYON (ÇAKIŞMASIZ)
   ============================================================ */

.eco-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.19,.75,.23,1);
  will-change: opacity, transform;
}

.eco-slide.active{
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.eco-slide.leaving{
  opacity: 0;
  transform: translateY(-28px);
  z-index: 1;
}

/* Shade */
.eco-shade{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(2,6,23,.12) 0%,
    rgba(2,6,23,.28) 45%,
    rgba(2,6,23,.66) 100%);
}

/* ============================================================
   📌 METİN BLOKLARI
   ============================================================ */

.eco-copy{
  position: absolute;
  z-index: 2;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 6vw, 80px);
  bottom: clamp(18px, 5vw, 64px);
  color:#fff;
}

.eco-eyebrow{
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: clamp(14px, 1.6vw, 18px);
}

.eco-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.06;
  font-size: clamp(28px, 5.2vw, 64px);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.eco-copy .btn-eco{
  margin-top: clamp(14px, 2vw, 28px);
}

@media (min-width: 992px){
  .eco-copy .btn-eco{ margin-top: 24px; }
}

/* ============================================================
   📱 MOBIL OPTIMIZE
   ============================================================ */

@media (max-width: 767px){

  .eco-copy{
      left: 14px !important;
      right: 14px !important;
      bottom: 22px !important;
      text-align: left !important;
  }

  .eco-eyebrow{
      font-size: 12px !important;
      font-weight: 500 !important;
      margin-bottom: 4px !important;
  }

  .eco-title{
      font-size: 20px !important;
      font-weight: 600 !important;
      line-height: 1.28 !important;
      max-width: 88% !important;
      text-shadow: 0 2px 10px rgba(0,0,0,0.45) !important;
  }

  .eco-copy .btn-eco{
      margin-top: 10px !important;
      padding: 8px 18px !important;
      font-size: 13.5px !important;
      border-radius: 8px !important;
      font-weight: 500 !important;
  }
}
