/*
 * İzmir Mobil Lastik — Ana Stil Dosyası
 * Bu dosya, Tema Çekirdeği Agent'ı tarafından minimal bir reset ile
 * oluşturulmuştur. Bölüm/bileşen stilleri sonraki agent'lar (header/footer,
 * anasayfa, hizmetler, hizmet bölgeleri, blog, iletişim) tarafından eklenecek.
 *
 * Not: tokens.css bu dosyadan ÖNCE enqueue edilir (bkz. functions.php),
 * bu nedenle burada :root token'larına doğrudan erişilebilir.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-background, #0A0A0B);
  color: var(--color-foreground, #F5F5F6);
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body, sans-serif);
  font-size: var(--fs-body, 1rem);
  line-height: var(--lh-body, 1.6);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

/* Ekran okuyucu için görsel olarak gizli yardımcı (WP çekirdeği bu sınıfı
   çeşitli navigasyon başlıklarında kullanır). */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  width: auto;
  height: auto;
  white-space: normal;
}

/* 404 — minimal iskelet için taban düzen (özel şablonu yok; bkz. 404.php) */
.error-404 {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-24, 96px) var(--space-4, 16px);
  text-align: center;
}

.error-404 .page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h1);
  color: var(--color-foreground);
  margin: 0 0 var(--space-4, 16px);
}

.error-404 .page-content {
  color: var(--color-foreground-muted);
  font-size: var(--fs-body-lg, 1.125rem);
  line-height: var(--lh-body, 1.6);
}

.error-404 .page-content a {
  display: inline-block;
  margin-top: var(--space-4, 16px);
  color: var(--color-on-accent);
  background: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  padding: var(--space-3, 12px) var(--space-6, 24px);
  border-radius: var(--radius-md, 8px);
}

.error-404 .page-content a:hover {
  background: var(--color-accent-hover);
}
