/* ============================================
   MOD SLM - CSS RESET
   Tarayıcı varsayılanlarını sıfırla
   ============================================ */

/* Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* HTML & Body */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  zoom: 0.95;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--neutral-dark);
  background-color: var(--primary-white);
  overflow-x: hidden;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  color: var(--primary-black);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

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

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

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Buttons */
button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Input & Textarea */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Remove input number spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

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

/* Horizontal Rule */
hr {
  border: none;
  border-top: var(--border-width) solid var(--neutral-border);
  margin: var(--space-md) 0;
}

/* Code & Pre */
code,
pre {
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

/* Selection */
::selection {
  background-color: var(--accent-gold);
  color: var(--primary-white);
}

::-moz-selection {
  background-color: var(--accent-gold);
  color: var(--primary-white);
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-lighter);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-medium);
  border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-dark);
}

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

/* Focus Visible (Klavye navigasyonu için) */
*:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Skip to main content link (accessibility) */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-black);
  color: var(--primary-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 9999;
  text-decoration: none;
}

.skip-to-main:focus {
  top: 0;
}
