/* ==========================================================================
   Usta Teknik Servis — Temel Stiller ve Sıfırlama
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  color: var(--primary);
  line-height: var(--lh-tight);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-section-title); }
h3 { font-size: var(--fs-card-title); font-weight: 700; }
p { margin: 0; color: var(--muted); }

/* Kapsayıcı ve bölüm ritmi */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.container-narrow { max-width: 800px; margin: 0 auto; }

.section { padding: var(--section-pad-mobile) 0; }
@media (min-width: 900px) {
  .section { padding: var(--section-pad-desktop) 0; }
}
.section-tight { padding: calc(var(--section-pad-mobile) * .6) 0; }
.section-alt { background: var(--background); }
.section-dark { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }

/* Bölüm başlığı deseni */
.section-head { max-width: 720px; margin: 0 0 var(--space-xl); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-xl); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--blue); background: var(--blue-soft);
  padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-lead { font-size: var(--fs-lead); color: var(--muted); margin-top: var(--space-sm); }

/* Metin vurgusu */
.text-accent { color: var(--accent); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* Erişilebilirlik: scroll-fade animasyon hook'u */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
