@charset "UTF-8";

/* =========================================================
   DOSYA: /assets/hizmetler.css
   ANTALYA TEMİZ ELLER - HİZMETLER KARTLARI STABİL FINAL
========================================================= */

:root{
  --ks27-hz-primary:#0057b8;
  --ks27-hz-secondary:#18b8e8;
  --ks27-hz-text:#07111f;
  --ks27-hz-muted:#5f7088;
  --ks27-hz-white:#ffffff;
  --ks27-hz-soft:#f5f9ff;
  --ks27-hz-border:rgba(15,23,42,.08);
  --ks27-hz-shadow:0 18px 48px rgba(15,23,42,.10);
  --ks27-hz-shadow-hover:0 28px 68px rgba(15,23,42,.15);
}

/* =========================================================
   ANA ALAN
========================================================= */

.ks27-services{
  position:relative;
  width:100%;
  padding:54px 0 72px;
  overflow:hidden;
  background:
    radial-gradient(circle at top left,rgba(24,184,232,.09),transparent 34%),
    radial-gradient(circle at right center,rgba(0,87,184,.08),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f5f9ff 56%,#ffffff 100%);
}

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

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

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

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

.ks27-services .ks27-title,
.ks27-services .ks27-section-head h2{
  margin:12px 0 0;
  color:var(--ks27-hz-text);
  font-size:clamp(32px,3vw,54px);
  line-height:1.06;
  font-weight:950;
  letter-spacing:-.045em;
}

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

/* =========================================================
   DESKTOP GRID - 4 KOLON / STABİL KART
========================================================= */

.ks27-service-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:1fr;
  align-items:stretch;
  gap:24px;
  width:100%;
  margin:0;
  padding:0;
}

/* =========================================================
   KART
========================================================= */

.ks27-service-card{
  position:relative;
  width:100%;
  height:100%;
  min-height:500px;
  display:flex;
  flex-direction:column;
  background:#ffffff;
  border:1px solid var(--ks27-hz-border);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--ks27-hz-shadow);
  transform:translateZ(0);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ks27-service-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,87,184,.16);
  box-shadow:var(--ks27-hz-shadow-hover);
}

/* =========================================================
   GÖRSEL ALANI - SABİT, NET, BOŞLUKSUZ
========================================================= */

.ks27-service-image{
  position:relative;
  width:100%;
  height:230px;
  min-height:230px;
  max-height:230px;
  flex:0 0 230px;
  display:block;
  overflow:hidden;
  margin:0;
  padding:0;
  line-height:0;
  background:#f7fbff;
  border-bottom:1px solid rgba(0,87,184,.06);
}

.ks27-service-image::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(255,255,255,.02),rgba(255,255,255,0) 32%),
    linear-gradient(to top,rgba(2,8,23,.08),rgba(2,8,23,0) 42%);
}

.ks27-service-image img{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  object-fit:cover;
  object-position:center center;
  vertical-align:top;
  image-rendering:-webkit-optimize-contrast;
  filter:contrast(1.10) saturate(1.14) brightness(1.06);
  transition:transform .34s ease, filter .34s ease;
}

.ks27-service-card:hover .ks27-service-image img{
  transform:scale(1.035);
  filter:contrast(1.13) saturate(1.18) brightness(1.08);
}

/* =========================================================
   ROZET
========================================================= */

.ks27-ribbon{
  position:absolute;
  right:18px;
  bottom:16px;
  z-index:4;
  min-height:36px;
  padding:10px 18px;
  border-radius:999px;
  color:#ffffff;
  background:linear-gradient(135deg,var(--ks27-hz-primary),var(--ks27-hz-secondary));
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 14px 28px rgba(0,87,184,.28);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* =========================================================
   İÇERİK - STABİL HİZALAMA
========================================================= */

.ks27-service-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  margin:0;
  padding:18px 24px 0;
  background:#ffffff;
}

.ks27-date{
  margin:0 0 10px;
  color:var(--ks27-hz-primary);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.ks27-service-body h3{
  margin:0;
  min-height:52px;
  color:var(--ks27-hz-text);
  font-size:21px;
  line-height:1.22;
  font-weight:950;
  letter-spacing:-.026em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.ks27-service-body h3 a{
  color:inherit;
  text-decoration:none;
}

.ks27-service-body h3 a:hover{
  color:var(--ks27-hz-primary);
}

.ks27-service-body p{
  margin:10px 0 0;
  min-height:72px;
  max-height:72px;
  color:var(--ks27-hz-muted);
  font-size:14.5px;
  line-height:1.58;
  font-weight:740;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* =========================================================
   BUTON - TÜM KARTLARDA AYNI HİZA
========================================================= */

.ks27-card-footer{
  margin-top:auto;
  padding:18px 24px 22px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
}

.ks27-card-footer .ks27-btn,
.ks27-service-card .ks27-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 26px;
  border-radius:15px;
  color:#ffffff;
  background:linear-gradient(135deg,var(--ks27-hz-primary),#075fc9);
  box-shadow:0 14px 28px rgba(0,87,184,.24);
  font-size:14.5px;
  line-height:1;
  font-weight:950;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ks27-card-footer .ks27-btn:hover,
.ks27-service-card .ks27-btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.08);
  box-shadow:0 18px 36px rgba(0,87,184,.30);
}

/* =========================================================
   BÖLÜM ALT BUTONU
========================================================= */

.ks27-services .ks27-section-action{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:28px;
}

.ks27-services .ks27-section-action .ks27-btn{
  min-height:52px;
  padding:0 30px;
  border-radius:16px;
  color:#ffffff;
  background:linear-gradient(135deg,var(--ks27-hz-primary),var(--ks27-hz-secondary));
  box-shadow:0 16px 34px rgba(0,87,184,.22);
  font-weight:950;
  text-decoration:none;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media(min-width:1500px){
  .ks27-service-card{
    min-height:500px;
  }

  .ks27-service-image{
    height:230px;
    min-height:230px;
    max-height:230px;
    flex-basis:230px;
  }
}

/* =========================================================
   1200 - 1499
========================================================= */

@media(min-width:1200px) and (max-width:1499px){
  .ks27-services .ks27-container{
    width:calc(100% - 34px);
  }

  .ks27-service-grid{
    gap:20px;
  }

  .ks27-service-card{
    min-height:485px;
  }

  .ks27-service-image{
    height:214px;
    min-height:214px;
    max-height:214px;
    flex-basis:214px;
  }

  .ks27-service-body{
    padding:16px 20px 0;
  }

  .ks27-service-body h3{
    min-height:50px;
    font-size:19px;
  }

  .ks27-service-body p{
    min-height:68px;
    max-height:68px;
    font-size:14px;
    line-height:1.54;
  }

  .ks27-card-footer{
    padding:16px 20px 20px;
  }
}

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

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

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

  .ks27-services .ks27-section-head{
    padding:0 18px;
    margin-bottom:20px;
  }

  .ks27-service-grid{
    display:flex;
    gap:18px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding:0 18px 8px;
    margin:0;
    scrollbar-width:none;
  }

  .ks27-service-grid::-webkit-scrollbar{
    display:none;
  }

  .ks27-service-card{
    flex:0 0 70%;
    min-width:70%;
    max-width:70%;
    min-height:500px;
    height:500px;
    scroll-snap-align:start;
  }

  .ks27-service-image{
    height:220px;
    min-height:220px;
    max-height:220px;
    flex-basis:220px;
  }
}

/* =========================================================
   MOBİL FULL EKRAN - STABİL KART
========================================================= */

@media(max-width:767px){
  .ks27-services{
    padding:34px 0 48px;
  }

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

  .ks27-services .ks27-section-head{
    padding:0 14px;
    margin-bottom:16px;
  }

  .ks27-services .ks27-title,
  .ks27-services .ks27-section-head h2{
    font-size:34px;
    line-height:1.10;
  }

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

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

  .ks27-service-grid::-webkit-scrollbar{
    display:none;
  }

  .ks27-service-card{
    flex:0 0 100vw;
    min-width:100vw;
    max-width:100vw;
    width:100vw;
    height:520px;
    min-height:520px;
    max-height:520px;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .ks27-service-card:hover{
    transform:none;
    box-shadow:none;
  }

  .ks27-service-image{
    height:235px;
    min-height:235px;
    max-height:235px;
    flex-basis:235px;
    border-radius:0;
  }

  .ks27-service-image img{
    object-fit:cover;
    object-position:center center;
    filter:contrast(1.10) saturate(1.15) brightness(1.06);
  }

  .ks27-ribbon{
    right:16px;
    bottom:14px;
    min-height:36px;
    padding:10px 16px;
    font-size:12px;
  }

  .ks27-service-body{
    padding:16px 18px 0;
  }

  .ks27-date{
    margin-bottom:10px;
    font-size:11px;
  }

  .ks27-service-body h3{
    min-height:58px;
    font-size:24px;
    line-height:1.18;
  }

  .ks27-service-body p{
    margin-top:10px;
    min-height:66px;
    max-height:66px;
    font-size:14px;
    line-height:1.55;
    -webkit-line-clamp:3;
  }

  .ks27-card-footer{
    margin-top:auto;
    padding:16px 18px 20px;
  }

  .ks27-card-footer .ks27-btn,
  .ks27-service-card .ks27-btn{
    width:100%;
    min-height:48px;
    border-radius:16px;
    font-size:15px;
  }

  .ks27-services .ks27-section-action{
    padding:0 14px;
    margin-top:18px;
  }

  .ks27-services .ks27-section-action .ks27-btn{
    width:100%;
  }
}

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

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

  .ks27-service-card{
    height:500px;
    min-height:500px;
    max-height:500px;
  }

  .ks27-service-image{
    height:220px;
    min-height:220px;
    max-height:220px;
    flex-basis:220px;
  }

  .ks27-service-body{
    padding:15px 16px 0;
  }

  .ks27-service-body h3{
    min-height:54px;
    font-size:22px;
  }

  .ks27-service-body p{
    min-height:62px;
    max-height:62px;
    font-size:13.6px;
    line-height:1.52;
  }

  .ks27-card-footer{
    padding:14px 16px 18px;
  }
}