/* === ADOZ SLIDER — variables (Adoz kırmızılarını kullanır) === */
:root{
  --adoz-primary:#e0260e;
  --adoz-primary-600:#b31818;
  --adoz-text:#0f172a;
  --adoz-muted:#334155;
  --adoz-white:#fff;
  --adoz-shade: rgba(15, 23, 42, .28);
  --adoz-radius: 18px;
}

/* Container */
.adoz-slider{
  position:relative; width:100%;
  /* Yükseklik: mobilde dikey daha uygun, masada geniş. */
  --h-mobile: min(78vh, 680px);
  --h-desk: min(76vh, 760px);
}
.adoz-slider .adoz-slider__viewport{ overflow:hidden; border-radius: var(--adoz-radius); }
.adoz-slider .adoz-slider__track{
  display:flex; will-change: transform;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  height: clamp(380px, var(--h-mobile), var(--h-desk));
}

/* Slide */
.adoz-slide{
  position:relative; flex:0 0 100%;
  display:grid; place-items:stretch;
}
.adoz-slide__img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform: scale(1.02);
}
.adoz-slide__shade{
  position:absolute; inset:0;
  background:
    radial-gradient(1000px 600px at 12% 18%, color-mix(in oklab, var(--adoz-primary) 22%, white) 0%, transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.06) 70%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 80%);
  mix-blend-mode: normal;
}

/* Content */
.adoz-slide__content{
  position:relative; z-index:2; color:var(--adoz-white);
  display:grid; gap:10px;
  width:min(680px, 92%);
  margin-left:clamp(16px, 5vw, 80px);
  margin-right:clamp(12px, 4vw, 40px);
  align-content:center; height:100%;
}
.adoz-kicker{
  display:inline-block; font-weight:800; letter-spacing:.08em;
  background: color-mix(in oklab, var(--adoz-white) 88%, var(--adoz-primary));
  color: var(--adoz-primary); padding:6px 10px; border-radius:999px;
  border:1px solid color-mix(in oklab, var(--adoz-primary), #fff 70%);
}
.adoz-title{
  margin:4px 0 0;
  font-size: clamp(26px, 5.2vw, 56px);
  line-height:1.1; font-weight:900; letter-spacing:-.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.adoz-desc{
  margin:4px 0 0;
  font-size: clamp(15px, 2.1vw, 18px);
  line-height:1.55; max-width: 70ch;
  color: color-mix(in oklab, var(--adoz-white), #000 30%);
}

/* CTA buttons (a etiketleri) */
.adoz-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
.adoz-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px; border-radius:12px; font-weight:800;
  border:2px solid transparent; text-decoration:none;
}
.adoz-btn--primary{ background:var(--adoz-primary); color:#fff; box-shadow:0 10px 26px color-mix(in oklab,var(--adoz-primary),#000 20% / 18%); }
.adoz-btn--primary:hover{ background:var(--adoz-primary-600); color:#fff; transform:translateY(-1px); }
.adoz-btn--ghost{ color:#fff; border-color:rgba(255,255,255,.7); background:transparent; }
.adoz-btn--ghost:hover{ background:rgba(255,255,255,.12); }

/* Nav */
.adoz-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:50%;
  background:var(--adoz-primary); color:#fff; border:none; cursor:pointer;
  display:grid; place-items:center; font-size:24px; font-weight:700;
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}
.adoz-prev{ left:14px; }
.adoz-next{ right:14px; }
.adoz-nav:hover{ background:var(--adoz-primary-600); }

/* Dots */
.adoz-dots{
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:14px; display:flex; gap:8px; z-index:3;
}
.adoz-dots button{
  width:9px; height:9px; border-radius:999px; border:none; cursor:pointer;
  background:rgba(255,255,255,.55); transition:all .2s ease;
}
.adoz-dots button[aria-selected="true"]{ width:28px; background:#fff; }

/* Text entrance animation — yalnız aktif slaytta oynar */
.adoz-slide[data-active] .adoz-kicker{ animation: a_in .6s ease .1s both; }
.adoz-slide[data-active] .adoz-title{ animation: a_in .7s ease .18s both; }
.adoz-slide[data-active] .adoz-desc{  animation: a_in .7s ease .28s both; }
.adoz-slide[data-active] .adoz-cta{   animation: a_in .7s ease .38s both; }

@keyframes a_in{
  from{ opacity:0; transform: translateY(18px); filter: blur(10px); }
  to{ opacity:1; transform: none; filter: none; }
}

/* Responsive height + içerik yerleşimi */
@media (max-width: 900px){
  .adoz-slider .adoz-slider__track{ height: clamp(440px, 80vh, 680px); }
}
@media (max-width: 560px){
  .adoz-slider .adoz-slider__track{ height: clamp(420px, 86vh, 620px); }
  .adoz-slide__content{ margin-left:16px; margin-right:16px; }
  .adoz-nav{ width:40px; height:40px; font-size:20px; }
}

/* Erişilebilir hareket tercihi */
@media (prefers-reduced-motion: reduce){
  .adoz-slider .adoz-slider__track{ transition:none }
  .adoz-slide[data-active] .adoz-kicker,
  .adoz-slide[data-active] .adoz-title,
  .adoz-slide[data-active] .adoz-desc,
  .adoz-slide[data-active] .adoz-cta{ animation:none }
}


/* Kaydırmada seam (1px çizgi) fix */
.adoz-slider{ isolation:isolate; }
.adoz-slider .adoz-slider__viewport{
  position:relative;
  overflow:hidden;
  border-radius:18px;                 /* sende zaten var */
  background:#000;                    /* kayarken kenarda koyu görünmesin */
}
.adoz-slider .adoz-slider__track{
  display:flex;
  will-change:transform;
  transform: translate3d(0,0,0);      /* 3D path - GPU */
  backface-visibility:hidden;
}
.adoz-slide{
  flex: 0 0 100%;
  min-width: 100%;                    /* sub-pixel kısalma olmasın */
}
.adoz-slide__img{
  width:100%; height:100%; object-fit:cover;
  transform: none;                    /* scale(1.02) dursun istiyorsan 1.06 yap, seam kalırsa sıfırla */
}
