@charset "UTF-8";

/* =========================================================
   DOSYA: /assets/referans.css
   ANTALYA TEMİZ ELLER - REFERANS / MARKA LOGOLARI FINAL

   Desktop: sola kayan marka logoları
   Mobil: full ekran genişlikte manuel + otomatik kayar logo kartları
========================================================= */

:root{
  --ks27-ref-primary:var(--ks27ph-button,#0057b8);
  --ks27-ref-secondary:var(--ks27ph-link,#18b8e8);
  --ks27-ref-glow:var(--ks27ph-button-glow,rgba(0,87,184,.30));
  --ks27-ref-text:#07111f;
  --ks27-ref-muted:#5f7088;
  --ks27-ref-white:#ffffff;
  --ks27-ref-soft:#f6fbff;
  --ks27-ref-border:rgba(15,23,42,.08);
}

/* =========================================================
   ANA REFERANS ALANI
========================================================= */

.ks27-references{
  position:relative;
  width:100%;
  padding:66px 0 76px;
  overflow:hidden;
  background:
    radial-gradient(circle at top left,rgba(24,184,232,.10),transparent 34%),
    radial-gradient(circle at right center,rgba(0,87,184,.08),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f6fbff 58%,#ffffff 100%);
}

.ks27-references::before{
  content:"";
  position:absolute;
  left:-18%;
  top:8%;
  width:44%;
  height:58%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(24,184,232,.12),transparent 68%);
}

.ks27-references::after{
  content:"";
  position:absolute;
  right:-16%;
  bottom:0;
  width:46%;
  height:58%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(0,87,184,.10),transparent 68%);
}

.ks27-references .ks27-container{
  position:relative;
  z-index:2;
  width:min(1540px,calc(100% - 72px));
  margin:0 auto;
}

/* =========================================================
   BAŞLIK ALANI
========================================================= */

.ks27-references .ks27-section-head{
  width:min(880px,100%);
  margin:0 auto 28px;
  text-align:center;
}

.ks27-references .ks27-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 18px;
  border-radius:999px;
  color:var(--ks27-ref-primary);
  background:linear-gradient(135deg,rgba(0,87,184,.08),rgba(24,184,232,.10));
  border:1px solid rgba(0,87,184,.16);
  box-shadow:0 12px 28px rgba(0,87,184,.08);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.ks27-references .ks27-title,
.ks27-references .ks27-section-head h2{
  margin:14px 0 0;
  color:var(--ks27-ref-text);
  font-size:clamp(32px,3vw,56px);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.052em;
}

.ks27-references .ks27-desc,
.ks27-references .ks27-section-head p{
  width:min(720px,100%);
  margin:14px auto 0;
  color:var(--ks27-ref-muted);
  font-size:16px;
  line-height:1.66;
  font-weight:720;
}

/* =========================================================
   SOLA KAYAR REFERANS TRACK
========================================================= */

.ks27-ref-track{
  position:relative;
  width:100%;
  max-width:100%;
  display:flex;
  align-items:stretch;
  gap:22px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding:8px 4px 18px;
  margin:0;
  scrollbar-width:none;
}

.ks27-ref-track::-webkit-scrollbar{
  display:none;
}

/* =========================================================
   LOGO KARTI - DESKTOP
========================================================= */

.ks27-ref-card{
  position:relative;
  flex:0 0 calc((100% - 88px) / 5);
  min-width:calc((100% - 88px) / 5);
  max-width:calc((100% - 88px) / 5);
  height:164px;
  min-height:164px;
  border-radius:26px;
  scroll-snap-align:start;
  scroll-snap-stop:always;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    radial-gradient(circle at top left,rgba(24,184,232,.10),transparent 38%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);

  border:1px solid rgba(255,255,255,.92);

  box-shadow:
    0 18px 48px rgba(15,23,42,.09),
    inset 0 1px 0 rgba(255,255,255,.96);

  overflow:hidden;
  isolation:isolate;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.ks27-ref-card::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:54%;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--ks27-ref-primary),var(--ks27-ref-secondary),transparent);
  transform:translateX(-50%);
  opacity:.92;
}

.ks27-ref-card::after{
  content:"";
  position:absolute;
  right:-20%;
  bottom:-28%;
  width:60%;
  height:70%;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(circle,rgba(24,184,232,.15),transparent 68%);
}

.ks27-ref-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,87,184,.16);
  box-shadow:
    0 28px 72px rgba(15,23,42,.15),
    0 0 30px rgba(24,184,232,.12);
}

/* =========================================================
   LOGO GÖRSELİ
========================================================= */

.ks27-ref-card img{
  display:block;
  width:auto;
  max-width:76%;
  height:auto;
  max-height:86px;
  object-fit:contain;
  object-position:center center;
  filter:
    contrast(1.08)
    saturate(1.10)
    brightness(1.04)
    drop-shadow(0 10px 20px rgba(15,23,42,.08));
  transition:
    transform .24s ease,
    filter .24s ease,
    opacity .24s ease;
}

.ks27-ref-card:hover img{
  transform:scale(1.045);
  filter:
    contrast(1.12)
    saturate(1.16)
    brightness(1.06)
    drop-shadow(0 12px 24px rgba(0,87,184,.12));
}

/* Görsel yoksa boş alan kötü görünmesin */
.ks27-ref-card.ks27-img-missing,
.ks27-ref-card:has(.ks27-media-hidden){
  background:
    radial-gradient(circle at top left,rgba(24,184,232,.13),transparent 38%),
    linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%);
}

/* =========================================================
   GENİŞ DESKTOP
========================================================= */

@media(min-width:1501px){
  .ks27-ref-card{
    flex-basis:calc((100% - 88px) / 5);
    min-width:calc((100% - 88px) / 5);
    max-width:calc((100% - 88px) / 5);
  }
}

/* =========================================================
   ORTA DESKTOP
========================================================= */

@media(min-width:1200px) and (max-width:1500px){
  .ks27-references .ks27-container{
    width:calc(100% - 52px);
  }

  .ks27-ref-track{
    gap:20px;
  }

  .ks27-ref-card{
    flex-basis:calc((100% - 60px) / 4);
    min-width:calc((100% - 60px) / 4);
    max-width:calc((100% - 60px) / 4);
    height:156px;
    min-height:156px;
    border-radius:24px;
  }

  .ks27-ref-card img{
    max-width:74%;
    max-height:78px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:1199px){
  .ks27-references{
    padding:56px 0 66px;
  }

  .ks27-references .ks27-container{
    width:100%;
    max-width:100%;
    padding:0;
  }

  .ks27-references .ks27-section-head{
    padding:0 18px;
    margin-bottom:22px;
  }

  .ks27-ref-track{
    gap:16px;
    padding:4px 18px 16px;
  }

  .ks27-ref-card{
    flex:0 0 32%;
    min-width:32%;
    max-width:32%;
    height:150px;
    min-height:150px;
    border-radius:24px;
  }

  .ks27-ref-card img{
    max-width:76%;
    max-height:76px;
  }
}

/* =========================================================
   MOBİL FULL EKRAN SOLA KAYAR
========================================================= */

@media(max-width:767px){
  .ks27-references{
    padding:42px 0 54px;
    background:
      radial-gradient(circle at top left,rgba(24,184,232,.10),transparent 36%),
      linear-gradient(180deg,#ffffff 0%,#f6fbff 60%,#ffffff 100%);
  }

  .ks27-references .ks27-container{
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
  }

  .ks27-references .ks27-section-head{
    padding:0 14px;
    margin-bottom:18px;
  }

  .ks27-references .ks27-kicker{
    min-height:30px;
    padding:7px 14px;
    font-size:10.5px;
    letter-spacing:.11em;
  }

  .ks27-references .ks27-title,
  .ks27-references .ks27-section-head h2{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.045em;
  }

  .ks27-references .ks27-desc,
  .ks27-references .ks27-section-head p{
    font-size:14.5px;
    line-height:1.58;
  }

  .ks27-ref-track{
    width:100vw;
    max-width:100vw;
    gap:0;
    padding:0;
    margin:0;
    display:flex;
    align-items:stretch;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .ks27-ref-card{
    flex:0 0 100vw;
    width:100vw;
    min-width:100vw;
    max-width:100vw;
    height:210px;
    min-height:210px;
    border-radius:0;
    border-left:0;
    border-right:0;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.96),
      0 18px 42px rgba(15,23,42,.08);
  }

  .ks27-ref-card:hover{
    transform:none;
  }

  .ks27-ref-card::before{
    width:38%;
  }

  .ks27-ref-card img{
    max-width:68%;
    max-height:104px;
  }
}

/* =========================================================
   KÜÇÜK MOBİL
========================================================= */

@media(max-width:420px){
  .ks27-references .ks27-title,
  .ks27-references .ks27-section-head h2{
    font-size:31px;
  }

  .ks27-ref-card{
    height:190px;
    min-height:190px;
  }

  .ks27-ref-card img{
    max-width:70%;
    max-height:92px;
  }
}