/* rtlcss ile üretildi: theme/css/base.css (elle düzenlemeyin, _i18n/rtl_css.js) */
/* ============================================================
   PARKEXPERT — Base: reset, tipografi, yerleşim, erişilebilirlik
   ============================================================ */

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{margin:0;padding:0}
body{
  background:var(--background);color:var(--foreground);
  font-family:var(--font);font-size:var(--fs-body);line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:clip;
}
body.has-ctabar{padding-bottom:0}

img,svg,video{max-width:100%;display:block}
img{height:auto;-webkit-user-drag:none}
iframe{border:0;max-width:100%}

/* --- Tipografi --- */
h1,h2,h3,h4{margin:0;color:var(--foreground);letter-spacing:var(--ls-tight);text-wrap:balance;font-weight:750;line-height:1.12}
h1{font-size:var(--fs-h1);line-height:1.05}
h2{font-size:var(--fs-h2)}
h3{font-size:var(--fs-h3);font-weight:700;letter-spacing:-.012em;line-height:1.3}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
strong{color:var(--foreground);font-weight:650}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
small{font-size:var(--fs-small)}
hr{border:0;border-top:1px solid var(--border);margin:32px 0}
::selection{background:var(--primary-soft);color:var(--foreground)}

:focus-visible{outline:2.5px solid var(--ring);outline-offset:3px;border-radius:4px}

/* --- Yerleşim --- */
.container{max-width:calc(var(--container) + var(--gutter)*2);margin-inline:auto;padding-inline:var(--gutter)}
.grid-12{display:grid;grid-template-columns:repeat(12,1fr);gap:var(--gutter)}
.section{padding-block:var(--section-y)}
.section--surface{background:linear-gradient(-180deg,var(--background) 0%,var(--surface) 55%,var(--background) 100%)}
.section--tight{padding-block:calc(var(--section-y)*.62)}

/* Bölüm başlık kalıbı */
.section-head{max-width:820px;margin-inline:auto;text-align:center;padding-inline:var(--gutter)}
.section-head--left{margin-inline:0;text-align:right;padding-inline:0}
.eyebrow{margin:0 0 16px;font-size:var(--fs-label);font-weight:800;letter-spacing:var(--ls-label);color:var(--primary);text-transform:uppercase}
.eyebrow--dash{display:flex;align-items:center;gap:10px}
.eyebrow--dash::before{content:"";width:26px;height:2px;background:var(--primary);border-radius:2px}
.section-head .lead{margin:18px auto 0}
.lead{max-width:680px;font-size:var(--fs-lead);line-height:1.62;color:var(--muted-foreground)}

/* Metin gövdesi (makale/rehber) */
.prose{max-width:760px;margin-inline:auto}
.prose h2{margin:56px 0 14px;font-size:clamp(23px,2.3vw,30px);scroll-margin-top:calc(var(--header-h) + 24px)}
.prose h3{margin:34px 0 10px;font-size:19.4px;scroll-margin-top:calc(var(--header-h) + 24px)}
.prose p{margin:0 0 16px;font-size:17.8px;line-height:1.72;color:var(--muted-foreground)}
.prose a{font-weight:600}
.prose > ul{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:11px}
.prose > ul > li{display:flex;gap:12px;font-size:17.3px;line-height:1.62;color:var(--muted-foreground)}
.prose > ul > li::before{content:"";margin-top:9px;width:6px;height:6px;border-radius:50%;background:var(--primary);flex:0 0 auto}
.prose > ol{margin:0 0 18px;padding-right:22px;color:var(--muted-foreground)}
.prose > ol li{margin-bottom:9px;line-height:1.62}

/* --- Erişilebilirlik --- */
.skip-link{
  position:absolute;right:16px;top:-64px;z-index:200;
  background:var(--primary);color:var(--primary-foreground);
  padding:12px 20px;border-radius:0 0 12px 12px;font-weight:700;font-size:15.7px;
  transition:top .18s ease;
}
.skip-link:focus{top:0;outline-offset:-3px}
.visually-hidden{
  position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* JS yokken gizlenecek / gösterilecek */
.js-only{display:none}
html.js .js-only{display:revert}
html.js .no-js-only{display:none}

/* Doğrulanmamış veri alanları: sunucu 'data-verified' basana kadar gizli (Prompt §8.3, §23) */
[data-content-required]{display:none!important}

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

/* Ekran dışı bölümlerin render maliyetini düşür (özellikle mobil).
   contain-intrinsic-size, kaydırma çubuğu zıplamasını önler. */
.section,.final-cta,.site-footer{content-visibility:auto;contain-intrinsic-size:auto 640px}
.pe-hero,.trust-strip{content-visibility:visible}

@media (max-width:760px){
  body.has-ctabar{padding-bottom:calc(var(--mobile-ctabar-h) + env(safe-area-inset-bottom))}
}

@media print{
  .site-header,.site-footer,.mobile-ctabar,.pe-cta,.skip-link{display:none!important}
  body{background:#fff;color:#000}
}

/* ============ V3: MOBİL OKUNABİLİRLİK ============
   Küçük ekranlarda kenar boşluğu, satır uzunluğu ve tipografi dengesi. */
@media (max-width:520px){
  :root{--gutter:20px}
  .page-hero h1{font-size:clamp(28px,7.6vw,34px);line-height:1.18}
  .page-hero .lead,.lead{font-size:17.3px;line-height:1.62}
  .section-head h2,h2{font-size:clamp(23px,5.6vw,28px);line-height:1.25}
  .prose h2{font-size:clamp(21px,5.2vw,26px)}
  .prose p,.prose li{font-size:16.7px;line-height:1.7}
  /* Uzun başlık/URL'lerin taşmasını engelle */
  h1,h2,h3,.pe-card h3,.tile h3{overflow-wrap:anywhere}
}
