/* =============================================
   HERYERPARKOUR — Typography System
   Font-face, heading scale, prose styles
   ============================================= */

/* ===== FONT FACE — Google Fonts CDN (geçici, sonra self-host) ===== */
/* Fontlar şu an Google Fonts'tan yükleniyor.
   Production'da assets/fonts/ altına taşınacak. */

/* ===== HEADING HIERARCHY ===== */

/* Display — Hero ana başlıklar (Anton) */
.text-display {
  font-family: var(--ff-display);
  font-size: var(--font-display);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -2px;
  font-weight: 400; /* Anton tek ağırlık */
}

/* H1 — Section başlıkları (Anton) */
h1,
.text-h1 {
  font-family: var(--ff-display);
  font-size: var(--font-h1);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -2px;
  font-weight: 400;
}

/* H2 — Alt section başlıkları */
h2,
.text-h2 {
  font-family: var(--ff-display);
  font-size: var(--font-h2);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-weight: 400;
}

/* H3 — Kart başlıkları (Barlow Condensed) */
h3,
.text-h3 {
  font-family: var(--ff-heading);
  font-size: var(--font-h3);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* H4 — Alt kart / footer başlıkları */
h4,
.text-h4 {
  font-family: var(--ff-heading);
  font-size: var(--font-label);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.4;
}

/* ===== BODY TEXT ===== */
.text-body {
  font-size: var(--font-body);
  line-height: 1.7;
  font-weight: 500;
}

.text-body-lg {
  font-size: var(--font-body-lg);
  line-height: 1.6;
  font-weight: 500;
}

.text-small {
  font-size: var(--font-small);
  line-height: 1.6;
  font-weight: 500;
}

/* ===== LABEL / CAPTION / TAG ===== */
.text-label {
  font-family: var(--ff-heading);
  font-size: var(--font-label);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.text-caption {
  font-size: var(--font-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* El yazısı etiketler (Permanent Marker) */
.text-handwrite {
  font-family: var(--ff-handwrite);
  font-size: 15px;
  transform: rotate(-2deg);
  display: inline-block;
}

/* ===== SECTION HEADER PATTERN ===== */
/* Label — "// Ne yapıyoruz" tarzı */
.sec-label {
  font-family: var(--ff-handwrite);
  font-size: 15px;
  color: var(--accent);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: var(--space-xs);
  opacity: 0;
}

/* Title line — Animasyonlu başlık satırı */
.sec-title-line {
  font-family: var(--ff-display);
  font-size: var(--font-h1);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.92;
  display: flex;
  flex-wrap: wrap;
  min-height: 0.95em;
}

.sec-title-line .word {
  display: inline-flex;
  margin-right: 0.25em;
}

/* Subtitle */
.sec-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
  font-weight: 500;
  margin-top: var(--space-md);
  margin-bottom: var(--space-3xl);
  opacity: 0;
}

/* ===== TEXT STROKE EFFECTS ===== */
.stroke-letter {
  -webkit-text-stroke: 2px white;
  -webkit-text-fill-color: transparent;
}

.accent-letter {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  -webkit-text-stroke: 0;
}

/* Bej arka planda stroke → koyu çizgi */
.sec-title-line .letter {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.sec-title-line .letter.stroke-letter {
  -webkit-text-stroke: 2px var(--text-primary);
  -webkit-text-fill-color: transparent;
}

.sec-title-line .letter.accent-letter {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* ===== PROSE — Blog ve uzun metin içerikleri ===== */
.prose {
  font-size: var(--font-body);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
}

.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.prose h3 {
  font-size: clamp(18px, 2vw, 24px);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.prose p {
  margin-bottom: var(--space-md);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 700;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}

.prose a:hover {
  color: var(--accent-hover);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.prose li {
  margin-bottom: var(--space-xs);
}

.prose ul li::marker {
  color: var(--accent);
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--text-muted);
}

.prose img {
  margin: var(--space-xl) 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sec-title-line {
    font-size: clamp(36px, 10vw, 60px);
  }
}
