/* =====================================================================
   Zevo Nakliyat - çekirdek stiller (FAZ 1)
   Tasarım değişkenleri, header/footer iskeleti, sabit aksiyonlar, çerez paneli
   ve yasal sayfa tipografisi. Vitrin tasarımı FAZ 2'de assets/css/style.css'e eklenir.
   ===================================================================== */

:root {
  --zv-ink: #0E2A3B;
  --zv-ink-2: #3D5463;
  --zv-muted: #6B7F8C;
  --zv-line: #DCE3E8;
  --zv-paper: #F6F4EF;
  --zv-surface: #FFFFFF;
  --zv-accent: #F2611D;
  --zv-accent-ink: #FFFFFF;
  --zv-accent-hover: #D9520F;
  --zv-wa: #1FA855;
  --zv-ok: #1F7A4D;
  --zv-error: #B42318;
  --zv-radius: 14px;
  --zv-radius-sm: 8px;
  --zv-shadow: 0 10px 30px -12px rgba(14, 42, 59, .25);
  --zv-font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --zv-font-head: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --zv-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--zv-header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--zv-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--zv-ink);
  background: var(--zv-paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--zv-font-head); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--zv-accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.zv-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;
}
.zv-skip {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--zv-ink); color: #fff; padding: 10px 16px; border-radius: var(--zv-radius-sm);
}
.zv-skip:focus { top: 12px; }
.zv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Butonlar ---------- */
.zv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.zv-btn:active { transform: translateY(1px); }
.zv-btn--primary { background: var(--zv-accent); color: var(--zv-accent-ink); }
.zv-btn--primary:hover { background: var(--zv-accent-hover); }
.zv-btn--ghost { background: transparent; border-color: var(--zv-line); color: var(--zv-ink); }
.zv-btn--ghost:hover { border-color: var(--zv-ink); }
.zv-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Üst bar ---------- */
.zv-topbar { background: var(--zv-ink); color: rgba(255, 255, 255, .82); font-size: .82rem; }
.zv-topbar__inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; min-height: 36px; }
.zv-topbar__item { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.zv-topbar__item i { font-size: 1rem; color: var(--zv-accent); }
@media (max-width: 767.98px) {
  .zv-topbar__item:not(.zv-topbar__item--license) { display: none; }
  .zv-topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.zv-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 239, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.zv-header.is-scrolled { border-bottom-color: var(--zv-line); box-shadow: 0 6px 24px -18px rgba(14, 42, 59, .5); }
.zv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--zv-header-h); }
.zv-brand img { height: 40px; width: auto; }

.zv-nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--zv-line);
  background: var(--zv-surface); font-size: 1.4rem; align-items: center; justify-content: center; cursor: pointer;
}
.zv-nav { display: flex; align-items: center; gap: 1.5rem; }
.zv-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.zv-nav__item { position: relative; display: flex; align-items: center; }
.zv-nav__link { display: block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.zv-nav__link:hover, .zv-nav__link.is-active { background: rgba(14, 42, 59, .07); }
.zv-nav__sub-toggle { background: none; border: 0; padding: .25rem; margin-left: -.5rem; cursor: pointer; display: inline-flex; }
.zv-nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; list-style: none; margin: 0; padding: .5rem;
  background: var(--zv-surface); border: 1px solid var(--zv-line); border-radius: var(--zv-radius); box-shadow: var(--zv-shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.zv-nav__sub a { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: var(--zv-radius-sm); text-decoration: none; font-weight: 500; }
.zv-nav__sub a:hover, .zv-nav__sub a.is-active { background: var(--zv-paper); }
.zv-nav__sub i { font-size: 1.25rem; color: var(--zv-accent); }
.has-children:hover .zv-nav__sub, .has-children:focus-within .zv-nav__sub, .has-children.is-open .zv-nav__sub {
  opacity: 1; visibility: visible; transform: none;
}
.zv-nav__actions { display: flex; align-items: center; gap: .9rem; }
.zv-header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.zv-header__phone i { color: var(--zv-accent); font-size: 1.2rem; }

@media (max-width: 1199.98px) {
  .zv-nav-toggle { display: inline-flex; }
  .zv-nav {
    position: fixed; inset: calc(var(--zv-header-h) + 36px) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.25rem 16px 7rem;
    background: var(--zv-paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .zv-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .zv-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .zv-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--zv-line); }
  .zv-nav__link { flex: 1; padding: 1rem .25rem; border-radius: 0; font-size: 1.05rem; }
  .zv-nav__link:hover, .zv-nav__link.is-active { background: none; color: var(--zv-accent); }
  .zv-nav__sub-toggle { margin: 0; padding: .75rem; font-size: 1.1rem; }
  .zv-nav__sub {
    position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .75rem;
    display: none; opacity: 1; visibility: visible; transform: none; background: transparent;
  }
  .has-children.is-open .zv-nav__sub { display: block; }
  .has-children:hover .zv-nav__sub { display: none; }
  .has-children.is-open:hover .zv-nav__sub { display: block; }
  .zv-nav__actions { flex-direction: column; align-items: stretch; }
  .zv-nav__actions .zv-btn { width: 100%; }
  .zv-header__phone { justify-content: center; padding: .75rem; border: 1px solid var(--zv-line); border-radius: 999px; }
  body.zv-nav-open { overflow: hidden; }
}

/* ---------- Breadcrumb ---------- */
.zv-breadcrumb { font-size: .85rem; color: var(--zv-muted); padding: .9rem 0 0; }
.zv-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.zv-breadcrumb li + li::before { content: '/'; margin-right: .35rem; opacity: .6; }
.zv-breadcrumb a { text-decoration: none; }
.zv-breadcrumb a:hover { color: var(--zv-ink); text-decoration: underline; }
.zv-breadcrumb [aria-current] span { color: var(--zv-ink); font-weight: 600; }

main:focus { outline: none; }

/* ---------- Footer ---------- */
.zv-footer { background: var(--zv-ink); color: rgba(255, 255, 255, .78); padding: 4.5rem 0 0; margin-top: 5rem; font-size: .93rem; }
.zv-footer a { text-decoration: none; }
.zv-footer a:hover { color: #fff; text-decoration: underline; }
.zv-footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.zv-footer__about { max-width: 34ch; }
.zv-footer__badges { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .45rem; }
.zv-footer__badges li, .zv-footer__contact a, .zv-footer__contact span { display: flex; gap: .55rem; align-items: flex-start; }
.zv-footer__badges i, .zv-footer__contact i { color: var(--zv-accent); font-size: 1.1rem; margin-top: .15rem; flex-shrink: 0; }
.zv-footer__social { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.zv-footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2); font-size: 1.15rem;
}
.zv-footer__social a:hover { background: var(--zv-accent); border-color: var(--zv-accent); text-decoration: none; }
.zv-footer__heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 1rem; font-family: var(--zv-font-body); font-weight: 700; }
.zv-footer__heading--spaced { margin-top: 1.75rem; }
.zv-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.zv-footer__more { color: var(--zv-accent); font-weight: 600; }
.zv-footer__contact { font-style: normal; display: grid; gap: .7rem; word-break: break-word; }
.zv-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding: 1.5rem 0 2rem; font-size: .82rem;
}
.zv-footer__copy { margin: 0; }
.zv-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.zv-footer .zv-linkbtn { color: inherit; font-size: inherit; text-decoration: none; }
.zv-footer .zv-linkbtn:hover { color: #fff; text-decoration: underline; }

/* ---------- Sabit hızlı aksiyonlar ---------- */
.zv-quick { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: .6rem; }
.zv-quick__btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem; border-radius: 999px;
  color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--zv-shadow); transition: transform .2s ease;
}
.zv-quick__btn:hover { transform: translateY(-2px); }
.zv-quick__btn i { font-size: 1.35rem; }
.zv-quick__btn--wa { background: var(--zv-wa); }
.zv-quick__btn--call { background: var(--zv-ink); }
.zv-quick__btn--quote { display: none; background: var(--zv-accent); }

@media (max-width: 767.98px) {
  .zv-quick {
    left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--zv-surface); border-top: 1px solid var(--zv-line); box-shadow: 0 -8px 24px -16px rgba(14, 42, 59, .4);
  }
  .zv-quick__btn { flex: 1; justify-content: center; flex-direction: column; gap: .15rem; padding: .45rem .25rem; border-radius: 10px; font-size: .78rem; box-shadow: none; }
  .zv-quick__btn:hover { transform: none; }
  .zv-quick__btn--call { background: transparent; color: var(--zv-ink); }
  .zv-quick__btn--wa { background: transparent; color: var(--zv-wa); }
  .zv-quick__btn--quote { display: inline-flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Çerez paneli ---------- */
.zv-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 200; max-width: 460px; width: calc(100% - 32px); }
.zv-cookie__box {
  background: var(--zv-surface); border: 1px solid var(--zv-line); border-radius: var(--zv-radius);
  box-shadow: 0 24px 60px -20px rgba(14, 42, 59, .45); padding: 1.25rem 1.25rem 1rem;
}
.zv-cookie__title { font-size: 1.1rem; margin-bottom: .4rem; }
.zv-cookie__text { font-size: .88rem; color: var(--zv-ink-2); margin: 0 0 1rem; }
.zv-cookie__prefs { display: grid; gap: .6rem; margin-bottom: 1rem; }
.zv-cookie__opt { display: flex; gap: .65rem; align-items: flex-start; font-size: .86rem; padding: .65rem .75rem; border: 1px solid var(--zv-line); border-radius: var(--zv-radius-sm); cursor: pointer; }
.zv-cookie__opt input { margin-top: .25rem; accent-color: var(--zv-accent); width: 18px; height: 18px; flex-shrink: 0; }
.zv-cookie__opt strong { display: block; }
.zv-cookie__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.zv-cookie__actions .zv-btn { flex: 1 1 auto; min-height: 42px; padding: .55rem .9rem; font-size: .86rem; }
@media (max-width: 767.98px) {
  .zv-cookie { left: 8px; right: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- İçerik sayfaları (yasal metinler, KVKK formu, 404) ---------- */
.zv-page { padding: 2.5rem 0 1rem; }
.zv-page__head { max-width: 760px; margin-bottom: 2rem; }
.zv-page__title { font-size: clamp(2rem, 4vw, 3rem); }
.zv-page__meta { color: var(--zv-muted); font-size: .88rem; }
.zv-prose { max-width: 760px; font-size: 1.02rem; color: var(--zv-ink-2); }
.zv-prose h2 { font-size: 1.4rem; color: var(--zv-ink); margin-top: 2rem; }
.zv-prose h3 { font-size: 1.15rem; color: var(--zv-ink); margin-top: 1.5rem; }
.zv-prose a { color: var(--zv-accent-hover); }
.zv-prose ul, .zv-prose ol { padding-left: 1.25rem; }
.zv-prose li { margin-bottom: .35rem; }

.zv-card { background: var(--zv-surface); border: 1px solid var(--zv-line); border-radius: var(--zv-radius); padding: 1.5rem; }
.zv-form { display: grid; gap: 1.1rem; }
.zv-field { display: grid; gap: .35rem; }
.zv-field label, .zv-field legend { font-weight: 600; font-size: .92rem; }
.zv-field input, .zv-field select, .zv-field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid var(--zv-line); border-radius: var(--zv-radius-sm);
  background: var(--zv-surface); transition: border-color .15s ease;
}
.zv-field textarea { min-height: 130px; resize: vertical; }
.zv-field input:focus, .zv-field select:focus, .zv-field textarea:focus { border-color: var(--zv-ink); outline: none; }
.zv-field.has-error input, .zv-field.has-error select, .zv-field.has-error textarea { border-color: var(--zv-error); }
.zv-field__error { color: var(--zv-error); font-size: .84rem; }
.zv-field__hint { color: var(--zv-muted); font-size: .84rem; }
.zv-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.zv-check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--zv-accent); flex-shrink: 0; }
.zv-alert { padding: 1rem 1.15rem; border-radius: var(--zv-radius-sm); border: 1px solid; margin-bottom: 1.25rem; }
.zv-alert--ok { background: #EAF6EF; border-color: #B7E0C8; color: var(--zv-ok); }
.zv-alert--error { background: #FDECEA; border-color: #F5C2BC; color: var(--zv-error); }
.zv-alert--info { background: #EEF3F6; border-color: var(--zv-line); color: var(--zv-ink-2); }

.zv-404 { text-align: center; padding: 5rem 0 2rem; }
.zv-404__code { font-family: var(--zv-font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--zv-accent); margin: 0; }
.zv-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
