/* ============================================================
   Goathletic — pages/about.css
   Hakkımızda: hero, istatistik şeridi, hikâye bölümü,
   vizyon/misyon kartları ve CTA bandı.
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 6% 6rem;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 35%,
      rgba(255, 107, 0, 0.14) 0%,
      rgba(255, 107, 0, 0.04) 45%,
      transparent 70%),
    #000;
  pointer-events: none;
}
/* alta doğru siyah geçiş */
.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

/* süzülen turuncu ışık küresi */
.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(255, 107, 0, 0.18) 0%,
    rgba(255, 107, 0, 0.06) 40%,
    transparent 70%);
  filter: blur(40px);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33%      { transform: translate(-50%, -55%) scale(1.08); }
  66%      { transform: translate(-48%, -48%) scale(0.95); }
}

/* dekoratif ızgara */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.about-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 1.6rem;
}
.about-hero h1 span { color: var(--accent); }

.about-hero-desc {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.48);
}

/* ── Kaydırma göstergesi ────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}
.scroll-indicator span {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── İstatistik şeridi ──────────────────────────────────── */
.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 107, 0, 0.4), transparent);
  pointer-events: none;
}
.stat-item {
  padding: 2.8rem 2rem;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.stat-item:last-child { border-right: none; }

.stat-n {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.stat-n .accent { color: var(--accent); }
.stat-l {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* ── Hikâyemiz ──────────────────────────────────────────── */
.about-detail-wrap {
  position: relative;
  overflow: hidden;
}
.about-detail-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}
.about-detail-wrap::before,
.about-detail-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}
.about-detail-wrap::before {
  top: 0;
  background: linear-gradient(to bottom, #000, transparent);
}
.about-detail-wrap::after {
  bottom: 0;
  background: linear-gradient(to top, #000, transparent);
}

.about-detail {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8rem 6%;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.about-detail-label {
  margin-bottom: 1.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.about-detail-heading {
  position: sticky;
  top: 8rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.about-detail-heading span { color: var(--accent); }

.about-detail-text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
  /* Metin admin panelinde düz textarea ile giriliyor ve kodlanmış basılıyor;
     yazarın koyduğu satır sonları bu kuralla korunur. */
  white-space: pre-line;
}
.about-detail-text p + p { margin-top: 1.4rem; }
.about-detail-text strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ── Vizyon & Misyon ────────────────────────────────────── */
.vm-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 6% 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  padding: 3rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.vm-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hov);
  transform: translateY(-6px);
}

/* arkadaki büyük harf */
.vm-bg-letter {
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 11rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 107, 0, 0.04);
  pointer-events: none;
  user-select: none;
}

.vm-icon-wrap {
  width: 52px;
  height: 52px;
  margin-bottom: 1.8rem;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vm-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vm-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.vm-card h2 span { color: var(--accent); }

.vm-divider {
  width: 36px;
  height: 2px;
  margin: 1rem 0 1.4rem;
  border-radius: 2px;
  background: var(--accent);
}
.vm-card p {
  font-size: 0.92rem;
  line-height: 1.82;
  color: var(--text-soft);
}

/* ── CTA bandı ──────────────────────────────────────────── */
.about-cta {
  position: relative;
  overflow: hidden;
  max-width: var(--wrap);
  margin: 0 auto 8rem;
  padding: 4.5rem 5%;
  border-radius: 24px;
  background: rgba(255, 107, 0, 0.06);
  border: 1px solid rgba(255, 107, 0, 0.22);
  text-align: center;
}
.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 107, 0, 0.5), transparent);
}
.about-cta-sub {
  margin-bottom: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.about-cta h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.about-cta > p {
  max-width: 480px;
  margin: 0 auto 2.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-detail {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 6rem 6%;
  }
  .about-detail-wrap::before,
  .about-detail-wrap::after { height: 120px; }
  .about-detail-heading { position: static; }

  .vm-section { grid-template-columns: 1fr; }
  .vm-section .sr-d1 { transition-delay: 0s; }
}
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }

  .vm-card   { padding: 2rem; }
  .about-cta { margin-bottom: 5rem; padding: 3rem 6%; }
}
