/* AML Atölye — sayfa düzeni ve site bileşenleri.
   Tasarım tokenleri styles.css'tedir; buradaki her renk/tipografi değeri
   var(--color-*), var(--font-*) üzerinden gelir. Yeni renk tanımlanmaz. */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* — sayfa iskeleti — */
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 32px; }
.eyebrow {
  font-family: var(--font-heading); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-accent-700);
}
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.section-head h2 { margin: 0; font-size: 40px; letter-spacing: 0.01em; text-transform: uppercase; }

/* Klavye kullanıcısı için içeriğe atlama bağlantısı */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--color-accent-900); color: var(--color-bg);
  font-family: var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: top 0.15s;
}
.skip:focus { top: 16px; color: var(--color-bg); }

/* — üst menü — */
.site-nav {
  display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap;
  max-width: 1180px; margin-inline: auto; padding: 20px 32px;
  border-bottom: 1px solid var(--color-divider);
}
.site-nav .nav-brand { font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.site-nav nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-nav nav a {
  font-family: var(--font-heading); font-size: 15px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: inherit;
}
.site-nav nav a:hover,
.site-nav nav a[aria-current="page"] { color: var(--color-accent-700); }
.site-nav .btn-primary {
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 18px; color: var(--color-bg);
}

/* — ızgaralar — */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { grid-template-columns: 1.05fr 1fr; align-items: end; }

/* Ölçü şeridi ve süreç adımları: hücreler ayraçla bölünür, mobilde alt alta iner. */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail > * { padding: 22px 24px; border-right: 1px solid var(--color-divider); }
.rail > *:first-child { padding-left: 0; }
.rail > *:last-child { padding-right: 0; border-right: 0; }
.rail-num { font-family: var(--font-heading); font-size: 34px; line-height: 1; }
.rail-label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.68; margin-top: 6px;
}
.steps > * { padding: 26px 26px; }
.steps h3 { margin: 0 0 10px; font-size: 22px; text-transform: uppercase; }
.steps p { margin: 0; font-size: 14px; line-height: 1.6; opacity: 0.8; }
.step-num {
  font-family: var(--font-heading); font-size: 15px; letter-spacing: 0.16em;
  color: var(--color-accent-700); margin-bottom: 12px;
}

/* — hizmet satırları (hizmetler.html) — */
.svc-row {
  display: grid; grid-template-columns: 120px 1.2fr 1fr; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid var(--color-divider);
}
.svc-row h2 { margin: 0 0 14px; font-size: 34px; text-transform: uppercase; }
.svc-row p { margin: 0; font-size: 15px; line-height: 1.7; opacity: 0.85; }
.spec { font-size: 14px; line-height: 1.9; opacity: 0.8; }
.spec > div { display: flex; justify-content: space-between; gap: 12px; }
.spec > div + div { border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); }

/* — koyu bant (CTA) — */
.band { background: var(--color-accent-900); color: var(--color-bg); }
.band h2 { text-transform: uppercase; line-height: 1.05; }
.band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band .btn-light {
  background: var(--color-bg); color: var(--color-accent-900); border-color: var(--color-bg);
  font-family: var(--font-heading); font-size: 17px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 16px 24px;
}
.band .btn-light:hover { background: var(--color-accent-200); color: var(--color-accent-900); }
.band .btn-outline {
  color: var(--color-bg); border-color: color-mix(in srgb, #f2f2f3 45%, transparent);
  font-family: var(--font-heading); font-size: 17px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 16px 24px;
}
.band .btn-outline:hover { background: color-mix(in srgb, #f2f2f3 12%, transparent); color: var(--color-bg); }

/* — alt bilgi — */
.site-footer {
  max-width: 1180px; margin-inline: auto; padding: 40px 32px 56px;
  border-top: 1px solid var(--color-divider);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px;
}
.site-footer .footer-brand {
  font-family: var(--font-heading); letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7;
}
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }

/* — SSS açılır blokları — */
.faq { border-top: 1px solid var(--color-divider); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 26px; line-height: 1; color: var(--color-accent-700); flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--color-accent-700); }
.faq p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; opacity: 0.85; max-width: 78ch; }

/* — mobilde sabit duran WhatsApp çubuğu — */
.mobile-cta { display: none; }

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-template-columns: repeat(2, 1fr); }
  .rail > * { padding: 22px 24px; border-right: 1px solid var(--color-divider); }
  .rail > *:nth-child(2n) { border-right: 0; padding-right: 0; }
  .rail > *:nth-child(2n+1) { padding-left: 0; }
  .rail > *:nth-child(n+3) { border-top: 1px solid var(--color-divider); }
}

@media (max-width: 760px) {
  .wrap, .site-nav, .site-footer { padding-inline: 20px; }
  h1 { font-size: 40px !important; }
  .section-head h2, .band h2 { font-size: 30px; }
  .grid-2, .grid-3, .split, .band-grid { grid-template-columns: 1fr; }
  .band-grid { gap: 28px; }
  .split { align-items: start; }
  .rail { grid-template-columns: 1fr; }
  .rail > * { padding: 18px 0; border-right: 0; border-top: 1px solid var(--color-divider); }
  .rail > *:first-child { border-top: 0; }
  .steps > * { padding: 22px 0; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .svc-row h2 { font-size: 28px; }
  .site-nav { gap: 12px 18px; }
  .site-nav nav { gap: 18px; width: 100%; }
  .site-nav .btn-primary { margin-left: auto; }
  .faq summary { font-size: 18px; }

  /* Alttaki sabit çubuk kadar boşluk bırak, alt bilgi altında kalmasın */
  body { padding-bottom: 64px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; inset: auto 0 0 0; z-index: 20;
    background: var(--color-bg); border-top: 1px solid var(--color-divider);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center;
    padding: 16px 12px; text-decoration: none;
    font-family: var(--font-heading); font-size: 15px;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mobile-cta a:first-child { background: var(--color-accent-700); color: var(--color-bg); }
  .mobile-cta a:last-child { color: var(--color-text); }
}

@media print {
  .site-nav .btn-primary, .mobile-cta, .skip { display: none; }
  body { padding-bottom: 0; }
  .band { background: none; color: var(--color-text); }
}
