/* Hizmet sayfası hero'sunda önce/sonra ekran sürgüsü.
   2026-08-17. SOL = kırık gelen cihaz, SAĞ = değişim sonrası. Bu yön kesindir.
   GERİ ALMA: sayfadaki <link>, <script> ve .es-surgu bloğunu sil; başka
   hiçbir dosyaya dokunmuyor. */

/* Hero'yu iki kolona ayır: solda metin, sağ üstte sürgü. */
.hero .container.es-iki { display: grid; grid-template-columns: minmax(0, 1fr) 430px;
    gap: 44px; align-items: center; }
.hero .es-metin { min-width: 0; }
.hero .es-metin p { max-width: 56ch; }

.es-surgu { min-width: 0; }

.es-cerceve { position: relative; aspect-ratio: 2346 / 1370; border-radius: 14px; overflow: hidden;
    background: #0b1220; border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 26px 60px -26px rgba(0,0,0,.75); touch-action: pan-y;
    user-select: none; -webkit-user-select: none; }

.es-kare { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Üst katman KIRIK. clip-path ile kırpılır — width ile DEĞİL, yoksa cihaz yatayda ezilir. */
.es-ust { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--es-x, 100%)) 0 0); }

/* Görünmez tam kaplama sürgü: dokunmatik sürükleme, tıkla-atla, ok tuşları
   ve ekran okuyucu desteği bedava gelir. */
.es-kaydirac { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
    opacity: 0; cursor: ew-resize; z-index: 6; -webkit-appearance: none; appearance: none;
    background: transparent; }
.es-kaydirac::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.es-kaydirac::-moz-range-thumb { width: 46px; height: 100%; border: 0; background: transparent; }

.es-cizgi { position: absolute; top: 0; bottom: 0; left: var(--es-x, 100%); width: 2px;
    margin-left: -1px; z-index: 5; pointer-events: none; border-radius: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,.35), #fff 18%, #fff 82%, rgba(255,255,255,.35));
    box-shadow: 0 0 14px rgba(0,0,0,.55); }
.es-kaydirac:focus-visible + .es-cizgi { box-shadow: 0 0 0 2px #22d3ee, 0 0 16px rgba(0,0,0,.6); }

.es-tutamak { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; gap: 2px; color: #0f172a; font-size: 11px;
    background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.45), 0 0 0 5px rgba(255,255,255,.14); }

.es-etiket { position: absolute; bottom: 10px; z-index: 4; pointer-events: none;
    font-size: 9.5px; font-weight: 800; letter-spacing: .1em; padding: 5px 9px; border-radius: 6px;
    background: rgba(4,10,20,.72); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); }
.es-sol { left: 10px; color: #fca5a5; }
.es-sag { right: 10px; color: #6ee7b7; }

.es-alt { margin: 11px 0 0; text-align: center; font-size: 12px; font-weight: 600;
    letter-spacing: .02em; color: #94a3b8; }

@media (max-width: 1000px) {
    .hero .container.es-iki { grid-template-columns: 1fr; gap: 30px; }
    .es-surgu { max-width: 520px; }
    .hero .es-metin p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .es-cizgi, .es-ust { transition: none !important; }
}
