/* ============================================================
   Goathletic — pages/services.css
   Hizmetlerimiz: sabitlenmiş 3-B "coverflow" kart şeridi,
   parçacık efekti ve aktif hizmet bilgi paneli.
   ============================================================ */

/* ── Sayfa girişi ───────────────────────────────────────── */
.page-intro {
  position: relative;
  overflow: hidden;
  padding: 15rem 5% 5rem;
  text-align: center;
}
.page-intro::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}
.page-intro h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.page-intro h1 span { color: var(--accent); }
.page-intro > p {
  max-width: 460px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
}

/* başlık arkasındaki turuncu ışık */
.intro-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  z-index: -1;
  background: radial-gradient(ellipse at center,
    rgba(255, 107, 0, 0.18) 0%,
    rgba(255, 107, 0, 0.06) 40%,
    transparent 70%);
  pointer-events: none;
}

/* ── Kaydırma alanı ─────────────────────────────────────── */
.svc-scroll-wrap {
  position: relative;
  height: 600vh;
}

.svc-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* üstten siyah geçiş */
.svc-sticky::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 40;
  background: linear-gradient(to bottom, #000 0%, transparent 100%);
  pointer-events: none;
}

/* ── Parçacık tuvali ────────────────────────────────────── */
.svc-particles {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

/* ── 3-B sahne ──────────────────────────────────────────── */
.svc-scene {
  flex: 1;
  position: relative;
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 52%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-scene::before,
.svc-scene::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  z-index: 30;
  pointer-events: none;
}
.svc-scene::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}
.svc-scene::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}

.svc-strip {
  position: relative;
  width: 1px;
  height: 1px;
  transform-style: preserve-3d;
}

/* ── Kart ───────────────────────────────────────────────── */
.svc-card {
  position: absolute;
  width: 220px;
  height: 300px;
  top: -150px;
  left: -110px;
  border-radius: 20px;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, filter, opacity;
}
.svc-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
  user-select: none;
}
/* üst parlaklık */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}
/* cam kenarlık */
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* görseli olmayan hizmet kartı — adı taşıyan renkli zemin */
.svc-card-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #1a0800 0%, #3d1400 100%);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
/* metin yoksa (görsel var) katmanı tamamen gizle */
.svc-card-fallback:empty { display: none; }

/* ── Dikey neon çizgi ───────────────────────────────────── */
.neon-line {
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  z-index: 20;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--accent) 12%,
    var(--accent) 88%,
    transparent 100%);
  box-shadow:
    0 0 4px   var(--accent),
    0 0 14px  var(--accent),
    0 0 40px  rgba(255, 107, 0, 0.65),
    0 0 100px rgba(255, 107, 0, 0.25);
  animation: neonPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
/* geniş ortam parıltısı */
.neon-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.75; }
}

/* ── Aktif hizmet paneli ────────────────────────────────── */
.svc-info {
  flex-shrink: 0;
  height: 34vh;
  position: relative;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5% 1.5rem;
  transition: opacity 0.22s ease;
}
.svc-info-border {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 107, 0, 0.35) 50%,
    rgba(255, 255, 255, 0.12) 70%,
    transparent);
}
.svc-tag {
  margin-bottom: 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-title {
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.svc-desc {
  max-width: 500px;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Sayaç ──────────────────────────────────────────────── */
.svc-counter {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.svc-counter-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
}
.svc-counter-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 107, 0, 0.5), transparent);
}
.svc-counter-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  writing-mode: vertical-rl;
}

/* ── Kaydırma ipucu ─────────────────────────────────────── */
.svc-hint {
  position: absolute;
  left: 5%;
  bottom: 36vh;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: hintFade 2s 1s both;
  pointer-events: none;
}
@keyframes hintFade {
  0%   { opacity: 0;   transform: translateY(8px); }
  30%  { opacity: 1;   transform: translateY(0); }
  80%  { opacity: 0.8; }
  100% { opacity: 0; }
}
.svc-hint-line {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.svc-hint-text {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Mobil ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .svc-card { width: 160px; height: 220px; top: -110px; left: -80px; }
  .svc-info { height: 38vh; }
  .svc-counter,
  .svc-hint { display: none; }
}
