/* =========================
   SERVICES (3D TILT + PREMIUM)
========================= */



.services-head{
  text-align:center;
  margin-bottom: 52px;
}

/* Animasyon */
@keyframes omyGradFlow{
  0%   { background-position:   0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Başlık */
.services-title{
  margin-top: 20px;
  text-align:center;
  font-size: 40px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 10px 18px rgba(2,6,23,0.10);
}


.services-kicker{
  margin: 10px 0 0;
  text-align:center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #ffffff;
}


.services-kicker .bolt{
  display:inline-block;
  filter: drop-shadow(0 6px 10px rgba(245,158,11,.25));
}

/* GRID */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* CARD (3D) */
.service-card{
  --rx: 0deg;
  --ry: 0deg;
  --sx: 1;

  position: relative;
  border-radius: 22px;
  padding: 26px 24px;

  /* ✅ kart beyaz kalsın (okunurluk) */
  background: #065d67;

  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgb(157, 201, 186);

  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sx));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;

  overflow:hidden;
  isolation: isolate;
}

/* Border layer */
.service-border{
  position:absolute;
  inset:-2px;
  border-radius: 24px;
  padding: 2px;
  pointer-events:none;
  z-index:0;

  background: linear-gradient(90deg,
    var(--blue-600) 0%,
    rgba(11, 86, 178, 0.95) 30%,
    var(--blue-600) 60%,
    var(--blue-700) 100%
  );
  background-size: 220% 220%;
  background-position: 0% 50%;

  -webkit-mask:
    linear-gradient(#e6dfdf 0 0) content-box,
    linear-gradient(#e8e0e0 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity: 0;
  transition: opacity .18s ease;
}

/* Glow */
.service-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  z-index:0;
  pointer-events:none;
  opacity: 0;
  transition: opacity .18s ease;
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(189, 197, 215, 0.18), transparent 55%),
    radial-gradient(700px 260px at 80% 0%, rgba(245,158,11,0.14), transparent 55%);
}

.service-card > *{
  position:relative;
  z-index:1;
  transform: translateZ(22px);
}

.service-card:hover,
.service-card:active,
.service-card:focus-within,
.service-card.is-tilting{
  border-color: rgba(37,99,235,0.22);
  box-shadow: 0 22px 56px rgba(217, 218, 225, 0.12);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.01) translateY(-6px);
}

.service-card:hover::after,
.service-card:active::after,
.service-card:focus-within::after,
.service-card.is-tilting::after{
  opacity: 1;
}

.service-card:hover .service-border,
.service-card:active .service-border,
.service-card:focus-within .service-border,
.service-card.is-tilting .service-border{
  opacity: 1;
  background:
    linear-gradient(180deg,
      rgba(251,191,36,1) 0%,
      rgba(245,158,11,1) 38%,
      rgba(245,158,11,0) 70%
    ),
    linear-gradient(90deg,
      var(--blue-600) 0%,
      rgba(96,165,250,0.95) 30%,
      var(--blue-600) 60%,
      var(--blue-700) 100%
    );
  background-size: 100% 100%, 220% 220%;
  background-position: 0% 0%, 0% 50%;
  animation: none !important;
}

/* TOP */
.service-top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 14px;
}

/* ICON */
.service-icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display:grid;
  place-items:center;

  background: radial-gradient(120% 120% at 20% 15%,
    var(--cyan-300) 0%,
    var(--blue-600) 55%,
    rgba(251,191,36,0.9) 120%
  );
  border: 1px solid rgba(2,6,23,0.10);
  box-shadow: 0 14px 26px rgba(37,99,235,0.16);

  transform: translateZ(34px);
}

.s-ico{
  width: 26px;
  height: 26px;
  fill: rgba(255,255,255,0.96);
  filter: drop-shadow(0 8px 16px rgba(2,6,23,0.20));
}

/* TITLE */
.service-name{
  margin: 0;
  font-size: 19px;
  font-weight: 950;
  color: var(--ink);
  letter-spacing: -0.01em;
  transform: translateZ(28px);
}

.service-card:hover .service-name,
.service-card:active .service-name,
.service-card:focus-within .service-name,
.service-card.is-tilting .service-name{
  background: linear-gradient(90deg, var(--blue-600), var(--yellow-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* LIST */
.service-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
  transform: translateZ(18px);
}

.service-list li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: #e5e8f0;
  font-weight: 650;

  transform: none !important;
  position: relative;
  padding: 2px 0;
  transition: color .18s ease, opacity .18s ease;
}

.service-list li::before{
  content:"";
  position:absolute;
  left: -8px;
  right: -8px;
  top: -4px;
  bottom: -4px;
  border-radius: 12px;
  background: linear-gradient(90deg,
    rgba(37,99,235,0.10),
    rgba(251,191,36,0.10),
    rgba(37,99,235,0.06)
  );
  opacity: 0;
  transform: scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.service-list li:hover{
  color: var(--blue-900);
}
.service-list li:hover::before{
  opacity: 1;
  transform: scale(1);
}

/* CHECK */
.check{
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue-600), rgba(96,165,250,0.95));
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;

  box-shadow: 0 10px 18px rgba(37,99,235,0.12);
  transition: background .18s ease, box-shadow .18s ease;
}

.check::after{
  content:"";
  position:absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(35deg);
}

.service-list li:hover .check{
  background: linear-gradient(135deg, var(--yellow-400), var(--blue-600));
  box-shadow:
    0 0 0 6px rgba(251,191,36,0.12),
    0 14px 26px rgba(37,99,235,0.14);
}


.services-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;

  background: linear-gradient(135deg, var(--blue-600), var(--yellow-400));
  color: #0B1220;
  font-weight: 950;
  text-decoration:none;

  border: 1px solid rgba(2,6,23,0.10);
  box-shadow: 0 14px 34px rgba(37,99,235,0.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.services-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(37,99,235,0.22);
  filter: saturate(1.03);
}


/* =========================
   SERVICES MOBILE
========================= */

@media (max-width:768px){

  .services-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .service-card{
    padding:22px 18px;
  }

}
