@import url("/assets/css/base/tokens.css");

/* ===============================
   SERVICES (Hizmetler)
   =============================== */
.services {
  background: #002237;
  color: var(--text);
  padding: 72px 18px;
}
.services .wrap {
  max-width: 1240px;
  margin: 0 auto;
}
.services .kicker {
  color: #1e90ff;
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 36px);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.services .lead {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  color: #eaf6ff;
  opacity: 0.95;
  margin-bottom: 46px;
}

/* Liste */
.srv-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.srv-item {
  border-bottom: 1px solid var(--muteborder);
  padding-bottom: 22px;
}
.srv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.srv-num {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  min-width: 40px;
}
.srv-title {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  color: #1e90ff;
}
.srv-toggle {
  background: none;
  border: 1px solid var(--btn);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #1e90ff;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.srv-toggle:hover {
  background: #1e90ff;
  color: #fff;
}

/* Gövde */
.srv-body {
  display: none;
  margin-top: 14px;
  font-size: 15px;
  color: rgba(234, 246, 255, 0.9);
  line-height: 1.6;
}
.srv-item.active .srv-body {
  display: block;
}

/* Kartlar */
.srv-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
  place-items: stretch;
}
.srv-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--muteborder);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.25s, filter 0.25s, transform 0.2s, box-shadow 0.25s;
  aspect-ratio: 16 / 9;
  height: 180px;
  max-height: 180px;
}
.srv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) contrast(0.95) brightness(0.8);
  z-index: 0;
}
.srv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 0;
}
.srv-card .label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.srv-card:hover {
  border-color: var(--btn);
  box-shadow: 0 0 10px var(--ring);
  transform: translateY(-2px);
  filter: saturate(1.05);
}
/* img etiketli kullanım */
.srv-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Tablet */
@media (max-width: 1100px) {
  .srv-cards {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
  .srv-card {
    height: 180px;
  }
}
/* Mobil */
@media (max-width: 640px) {
  .srv-cards {
    grid-template-columns: 1fr;
  }
  .srv-card {
    height: 180px;
  }
}
@media (max-width: 820px) {
  .srv-title {
    font-size: 17px;
  }
  .srv-num {
    font-size: 18px;
  }
}
