/* ==========================================================================
   Modern CSS Reset
   ========================================================================== */

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

/* Temel margin/padding sıfırlama */
* {
  margin: 0;
  padding: 0;
}

/* Gövde ayarları */
html {
  font-family: var(--font-family-sans);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth; /* Modern kaydırma */
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Liste stilleri */
ul, ol {
  list-style: none;
}

/* Linkler */
a {
  color: inherit;
  text-decoration: none;
}

/* Resim ve medyalar */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form elemanları tipografi devralma */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Button sıfırlama */
button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Tablolar */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Erişilebilirlik: Sadece klavye kullanıcılarına outline göster */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
