/**
 * ATech tipografi — Poppins (tüm sayfalar)
 * Yükleme: head.php / index.html (Google Fonts)
 */
:root {
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --font-prose: var(--font-sans);

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 800;

  /* Poppins için satır aralığı / tracking */
  --line-height-body: 1.65;
  --line-height-heading: 1.22;
  --line-height-tight: 1.12;
  --letter-spacing-heading: -0.022em;
  --letter-spacing-label: 0.055em;
  --letter-spacing-caps: 0.04em;
  --letter-spacing-body: 0;

  --text-xs: 0.6875rem;   /* 11px */
  --text-sm: 0.8125rem;   /* 13px */
  --text-base: 0.9375rem; /* 15px — Poppins gövde */
  --text-lg: 1.0625rem;   /* 17px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: clamp(1.375rem, 2vw + 0.75rem, 1.75rem);
  --text-3xl: clamp(1.625rem, 2.8vw + 0.5rem, 2.25rem);
  --text-hero: clamp(2rem, 4vw + 0.75rem, 3.625rem);
  --text-display: clamp(2.75rem, 5.6vw + 1rem, 4.875rem);
}

html {
  font-family: var(--font-sans);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

h1 {
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

h2 { font-weight: var(--font-weight-bold); }
h3, h4, h5, h6 { font-weight: var(--font-weight-semibold); }

p, li, label, td, th, dd, dt, figcaption, blockquote {
  font-family: var(--font-body);
}

button,
input,
select,
textarea,
optgroup,
.btn,
[type="submit"],
[type="button"],
[type="reset"] {
  font-family: inherit;
}

code, kbd, pre, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.text-medium { font-weight: var(--font-weight-medium); }
.text-semibold { font-weight: var(--font-weight-semibold); }
.text-bold { font-weight: var(--font-weight-bold); }
.text-extrabold { font-weight: var(--font-weight-extrabold); }

.label-caps {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
}
