/* =====================================================
   Dervişoğlu Turizm Taşımacılık — Base Reset & Tipografi
   tokens.css'ten SONRA yüklenmelidir.
===================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-lh);
  color: var(--color-text-primary);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--transition-color);
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ── FOCUS STATE (erişilebilirlik — zorunlu) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--color-navy-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── TİPOGRAFİ ── */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--color-heading);
}

p {
  margin: 0;
}

.text-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--text-display-weight);
  line-height: var(--text-display-lh);
  letter-spacing: var(--text-display-ls);
  color: var(--color-text-on-navy);
}

.text-h1 {
  font-size: var(--text-h1);
  font-weight: var(--text-h1-weight);
  line-height: var(--text-h1-lh);
  letter-spacing: var(--text-h1-ls);
}

.text-h2 {
  font-size: var(--text-h2);
  font-weight: var(--text-h2-weight);
  line-height: var(--text-h2-lh);
  letter-spacing: var(--text-h2-ls);
}

.text-h3 {
  font-size: var(--text-h3);
  font-weight: var(--text-h3-weight);
  line-height: var(--text-h3-lh);
}

.text-h4 {
  font-size: var(--text-h4);
  font-weight: var(--text-h4-weight);
  line-height: var(--text-h4-lh);
}

.text-eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: var(--text-eyebrow-weight);
  letter-spacing: var(--text-eyebrow-ls);
  text-transform: var(--text-eyebrow-transform);
  color: var(--color-navy-light);
}

.text-body-lg { font-size: var(--text-body-lg); line-height: var(--text-body-lg-lh); }
.text-body    { font-size: var(--text-body); line-height: var(--text-body-lh); }
.text-body-sm { font-size: var(--text-body-sm); line-height: var(--text-body-sm-lh); color: var(--color-text-secondary); }
.text-label   { font-size: var(--text-label); font-weight: var(--text-label-weight); letter-spacing: var(--text-label-ls); }
.text-caption { font-size: var(--text-caption); line-height: var(--text-caption-lh); color: var(--color-text-muted); }
.text-muted   { color: var(--color-text-secondary); }
.text-on-navy { color: var(--color-text-on-navy); }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}

@media (min-width: 576px) {
  .container { padding: 0 var(--margin-tablet); }
}

@media (min-width: 1200px) {
  .container { padding: 0 var(--margin-desktop); }
}

.container-xl {
  max-width: var(--container-xl);
}

/* ── SECTION ── */
.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

@media (min-width: 1200px) {
  .section {
    padding-top: var(--space-30);
    padding-bottom: var(--space-30);
  }
}

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

.section-header {
  margin-bottom: var(--space-12);
  text-align: center;
}

.section-header--start {
  text-align: left;
}

@media (min-width: 992px) {
  .section-header {
    margin-bottom: var(--space-16);
  }
}

.section-header .text-h2 {
  margin-top: var(--space-2);
}

.section-header .text-body-lg {
  margin-top: var(--space-4);
}

/* ── UTILITIES ── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-4);
  z-index: 2000;
  background: var(--color-navy-primary);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ── PRINT ── */
@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .btn { display: none; }

  body { font-size: 12pt; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; }
}
