/* ==========================================================================
   Alnair — reset, tipografi ve paylasilan ogeler
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }

/* --- Basliklar ---
   Bodoni yalnizca buyuk puntolarda; siki satir araligi ve hafif negatif
   harf araligi Didone'nin dogru oturmasi icin. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }

/* h3 kucuk kaldigi icin Bodoni degil, govde ailesinden — ince tirnaklar
   bu puntoda kayboluyor. */
h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

/* text-wrap: pretty — satir sonunda tek kelimenin (oksuz) kalmasini onler */
p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* --- Yerlesim yardimcilari --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }

/* Cipa hedefi sabit menunun altina insin.
   Menuden bir bolume atlayinca tarayici bolumun tepesini ekranin en ustune
   getiriyordu; sabit menu (87px) basligin ustune biniyor ve mobilde baslik
   gorunmuyordu. Masaustunde bolum bosluklari genis oldugu icin sorun ortaya
   cikmiyordu. scroll-margin-top gorunumu degistirmez, yalnizca atlama
   noktasini asagi kaydirir. */
:where(#about, #services, #international, #office, #contact, #top) {
  scroll-margin-top: 100px;
}

/* Govde metni olcusu: 80 karakterin altinda tutulur */
.measure { max-width: 62ch; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.65;
  color: var(--navy);
  font-weight: 400;
}

/* --- Butonlar ---
   Cumle duzeni; buyuk harf + genis aralik bilincli olarak kullanilmadi. */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--paper-raised);
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.btn:hover { background: transparent; color: var(--navy); }

/* Koyu zeminde: altin cerceve, dolgu yok — altin burada yapisal, dekor degil */
.btn--onNavy {
  background: transparent;
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
.btn--onNavy:hover { background: var(--gold-bright); color: var(--navy-deep); }

/* --- Erisilebilirlik --- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Hareketi azalt tercihine saygi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
