/* ==========================================================
   03 · LAYOUT — container, bölüm iskeleti, header, footer
   ========================================================== */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .section { padding-block: var(--section-y); }
  .section--soft { background: var(--color-soft); }
  .section--dark { background: var(--bg-dark-glow); color: var(--on-dark-strong); }
  .section--dark-gradient {
    background: linear-gradient(180deg, var(--color-night) 0%, #081235 100%);
    color: var(--on-dark-strong);
  }

  .section-head { margin-bottom: 48px; }
  .section-head--center { text-align: center; }
  .section-head--center .section-sub { margin-inline: auto; }

  .section-title {
    font-size: var(--fs-h2);
    color: var(--color-navy);
    margin-bottom: 16px;
  }
  .section-title--md { font-size: var(--fs-h2-md); line-height: 1.25; }
  .section--dark .section-title,
  .section--dark-gradient .section-title { color: var(--on-dark-strong); }

  .section-sub { color: var(--color-muted); font-size: 1.0625rem; max-width: 56ch; }
  .section--dark .section-sub,
  .section--dark-gradient .section-sub { color: var(--on-dark); }

  /* ---------- Header (sabit) ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: saturate(1.4) blur(8px);
    transition: box-shadow .3s;
  }
  .site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(20, 26, 74, 0.35); }

  .site-header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }
  .site-header__logo { justify-self: start; display: flex; margin-top: -15px; }
  .site-header__logo img { width: 163px; }
  .site-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }

  .site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
  .site-nav a { font-size: 0.8125rem; color: #2a2e3a; text-decoration: none; transition: color .2s; }
  .site-nav a:hover { color: var(--color-blue); }

  .menu-toggle {
    display: none;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--color-line); background: #fff; color: var(--color-navy);
    place-items: center; cursor: pointer;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    background: var(--color-night);
    color: var(--on-dark);
    font-size: var(--fs-sm);
    padding: 8px 0 40px;
  }
  .site-footer__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 24px 32px;
  }
  .site-footer__logo img { width: 170px; filter: brightness(0) invert(1); }
  .site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .site-footer__nav a { color: var(--on-dark); text-decoration: none; }
  .site-footer__nav a:hover { color: var(--color-accent); }
  .site-footer__copy { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
}
