/* ============================================================
   ALP TAŞIMACILIK — Temel Stiller (Reset + Tipografi + Yardımcılar)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFadeIn 0.7s var(--ease-out) both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
}

/* Klavye ile gezinen kullanıcılar için erişilebilir odak halkası */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

/* ---- Kapsayıcı ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- Bölüm Düzeni ---- */
.section {
  padding-block: var(--section-padding);
}

.section-sm {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-alt {
  background-color: var(--color-light);
}

.section-dark {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

/* ---- Bölüm Başlığı Şablonu ---- */
.section-head {
  max-width: 680px;
  margin-bottom: var(--space-xl);
}

.section-head.text-center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

.section-head p {
  font-size: var(--fs-body-lg);
  margin-top: var(--space-sm);
}

/* ---- Yardımcı Sınıflar ---- */
.text-primary {
  color: var(--color-primary) !important;
}
.bg-primary-custom {
  background-color: var(--color-primary) !important;
}
.text-muted-custom {
  color: var(--color-text-muted) !important;
}
.fw-medium {
  font-weight: 500;
}

.divider-line {
  height: 1px;
  background: var(--color-border);
  border: 0;
  margin: 0;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Ekranı okuyucular için atla bağlantısı */
.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 2000;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}
