/* ==========================================================================
   TEFAŞ — Tasarım token'ları, reset ve tipografi temeli
   ========================================================================== */

:root {
  /* Marka renkleri */
  --tf-navy:        #16213A;  /* koyu lacivert — başlıklar, footer */
  --tf-blue:        #1B4586;  /* kurumsal mavi — bant, linkler */
  --tf-red:         #D8203A;  /* aksan kırmızı — CTA, eyebrow */
  --tf-red-dark:    #B31730;  /* CTA hover */
  --tf-pink:        #FF8FA0;  /* koyu zemin aksanı — şu an kullanılmıyor */

  /* Metin */
  --tf-ink:         #2B3038;  /* gövde metni */
  --tf-muted:       #55606D;  /* ikincil metin */
  --tf-grey:        #98A0A9;  /* placeholder / dipnot */
  --tf-placeholder: #9AA1AA;

  /* Yüzeyler */
  --tf-white:       #FFFFFF;
  --tf-bg-soft:     #F8F9FA;
  --tf-bg-alt:      #F2F3F5;
  --tf-bg-hatch:    #E9EBEE;
  --tf-line:        #E4E7EB;
  --tf-line-strong: #D5DAE0;
  --tf-line-dashed: #C6CCD3;

  /* Ölçüler */
  --tf-container:   1240px;
  --tf-gutter:      24px;
  --tf-section-y:   88px;

  /* Tipografi */
  --tf-font: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Diğer */
  --tf-header-h:    71px;
  --tf-hatch: repeating-linear-gradient(115deg, rgba(27, 69, 134, 0.07) 0 2px, transparent 2px 12px);
  --tf-hatch-soft: repeating-linear-gradient(115deg, rgba(27, 69, 134, 0.06) 0 2px, transparent 2px 12px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tf-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--tf-white);
  color: var(--tf-ink);
  font-family: var(--tf-font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video { max-width: 100%; }

a {
  color: var(--tf-blue);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
a:hover { color: var(--tf-red); }

h1, h2, h3, h4, p { margin: 0; }

input, select, textarea, button { font-family: inherit; }
input::placeholder,
textarea::placeholder { color: var(--tf-placeholder); }
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--tf-blue) !important;
}

::selection {
  background: var(--tf-red);
  color: #fff;
}

/* Klavye ile gezinenler için görünür odak halkası */
:focus-visible {
  outline: 2px solid var(--tf-blue);
  outline-offset: 2px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
