/**
 * Site-wide üst menü — index.html, wms-list.html ve Next layout bu dosyayı yükler.
 */
:root {
  --site-max: 1120px;
  --site-pad: clamp(1rem, 3.5vw, 1.25rem);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.site-header__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0.85rem var(--site-pad);
  display: flex;
  align-items: center;
  gap: 0.85rem 1.35rem;
  flex-wrap: wrap;
}
/*
 * Logo: şeffaf PNG/SVG. Wrapper ve img üzerinde zemin, filtre, blend, gölge yok.
 */
.site-header__brand {
  display: flex;
  align-items: center;
  line-height: 0;
  margin: 0 auto 0 0;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  mix-blend-mode: normal;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.site-header__brand::before,
.site-header__brand::after {
  content: none;
}
.site-header__brand:hover {
  opacity: 0.94;
  filter: none;
}
.site-header__brand:focus {
  outline: none;
}
.site-header__brand:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header__logo {
  height: clamp(2.95rem, 6.5vw, 3.85rem);
  width: auto;
  max-width: min(400px, 82vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.site-header__menu-btn {
  display: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #334155;
  border-radius: 10px;
  min-width: 2.35rem;
  height: 2.2rem;
  padding: 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
/* Dar ekran: tek satır logo + CTA + …, menü tam genişlikte açılır panel (üst üste binme yok) */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.45rem 0.5rem;
    padding: 0.65rem var(--site-pad) 0.65rem;
    flex-wrap: unset;
    justify-content: unset;
  }
  .site-header__brand {
    margin: 0;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .site-header__cta {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    font-size: 0.68rem;
    padding: 0.46rem 0.72rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .site-header__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
    flex-shrink: 0;
  }
  .site-header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.65rem var(--site-pad) 1rem;
    box-sizing: border-box;
    grid-column: unset;
    grid-row: unset;
    justify-content: initial;
    flex-wrap: unset;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    z-index: 1002;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    align-items: stretch;
  }
  .site-header.site-header--open .site-header__nav {
    display: grid;
  }
  .site-header__link {
    font-size: 0.74rem;
    padding: 0.5rem 0.45rem;
    text-align: center;
    white-space: normal;
    line-height: 1.24;
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-header__logo {
    height: clamp(2.65rem, 7vw, 3.35rem);
    max-width: min(240px, 52vw);
    object-fit: contain;
    object-position: left center;
  }
}
@media (max-width: 430px) {
  .site-header__logo {
    height: clamp(2.75rem, 8vw, 3.45rem);
    max-width: min(220px, 50vw);
  }
  .site-header__cta {
    font-size: 0.62rem;
    padding: 0.42rem 0.58rem;
  }
}
.site-header__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  padding: 0.48rem 0.55rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.site-header__link:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}
.site-header__link.is-active {
  color: #0f172a;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
}
.site-header__cta {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  border: 1px solid rgba(37, 99, 235, 0.35);
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 14px rgba(37, 99, 235, 0.28);
}
.site-header__cta:hover {
  filter: brightness(1.05);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}
.site-main {
  width: 100%;
  min-height: calc(100vh - 5rem);
}

/* Sabit üst menü altında #anchor hizalaması */
[id].section-data,
[id].section-lead,
section[id],
#pazar-verisi,
#lead,
#neden-var,
#kim {
  scroll-margin-top: 6rem;
}
