/* =========================================================
   VECTOR // AIRFLOW — Rüzgar Tüneli Veri Görselleştirmesi
   Namespace: .wcs-airflow
   ========================================================= */

html, body { margin: 0; padding: 0; }

.wcs-airflow {
  --wcs-accent: #6fd8ff;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  max-height: 1300px;
  overflow: hidden;
  background: #030405;
  color: #eef6fb;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.wcs-airflow * {
  box-sizing: border-box;
}

.wcs-airflow__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.wcs-airflow__idle,
.wcs-airflow__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wcs-airflow__idle {
  display: contents;
}
.wcs-airflow__idle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease 0.15s;
}
.wcs-airflow__video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.wcs-airflow.is-active .wcs-airflow__video {
  opacity: 1;
}
.wcs-airflow.is-active .wcs-airflow__idle img {
  opacity: 0;
}

/* ---------- Akış çizgileri (SVG) ---------- */
.wcs-airflow__streamlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wcs-airflow__streamlines path {
  fill: none;
  stroke: var(--wcs-accent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(111, 216, 255, 0.55));
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.wcs-airflow__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(3, 4, 5, 0.82) 0%,
    rgba(3, 4, 5, 0.35) 30%,
    rgba(3, 4, 5, 0.02) 52%,
    rgba(3, 4, 5, 0) 68%
  ),
  linear-gradient(
    180deg,
    rgba(3, 4, 5, 0.35) 0%,
    rgba(3, 4, 5, 0) 26%,
    rgba(3, 4, 5, 0) 68%,
    rgba(3, 4, 5, 0.55) 100%
  );
}

.wcs-airflow__content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 6vw, 88px);
  max-width: 620px;
}

.wcs-airflow__kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wcs-accent);
  margin-bottom: 16px;
}

.wcs-airflow__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin: 0 0 14px;
  line-height: 1.1;
}

.wcs-airflow__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(238, 246, 251, 0.72);
  max-width: 46ch;
  margin: 0 0 30px;
}

.wcs-airflow__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.wcs-airflow__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wcs-airflow__stat-value {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--wcs-accent);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.wcs-airflow__stat-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 246, 251, 0.55);
  max-width: 16ch;
}

@media (max-width: 760px) {
  .wcs-airflow__content {
    padding-bottom: clamp(32px, 8vh, 64px);
  }
  .wcs-airflow__stats {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wcs-airflow__streamlines path {
    transition: opacity 0.4s ease;
  }
  .wcs-airflow__idle img,
  .wcs-airflow__video {
    transition-duration: 0.3s;
  }
}
