/*!
 * px-site.css (Pixiepa pcms site paketi; kaynak: vcms-site.css) - Site geneli parcalar (tema bagimsiz): cerez onay bandi + tercihler penceresi, alt bilgi yasal baglantilari,
 * bakim onizleme seridi. Yalnizca SiteOptions'ta ilgili ozellik aciksa yuklenir (bkz. app/Views/Common/_site_widgets.php).
 * Sinif oneki "vcs-". Renkler --vc-* degiskenlerinden okunur (tanimli degilse varsayilanlar).
 */
/* Vurgu rengi (baglantilar, ana dugme, anahtar, odak halkasi) BEYAZ kart uzerinde okunmak zorundadir; bu yuzden --vc-primary'ye BAGLANMAZ
   (acik / fildisi / altin primary beyazda okunmaz). Tema isterse :root'ta --vc-consent-accent (beyaza karsi >= 4.5:1) ve
   --vc-consent-accent-contrast (vurgu uzerindeki yazi) tanimlar; tanimlanmazsa koyu murekkep (#1c2127, ~15:1) kullanilir. */
.vcs-consent, .vcs-modal, .vcs-footlinks, .vcs-ribbon { --p: var(--vc-consent-accent, #1c2127); --pc: var(--vc-consent-accent-contrast, #fff); --t: #1c2127; --m: #59616b; --b: #c9ced4; --s: #fff; --f: var(--vc-font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); }
.vcs-consent *, .vcs-modal *, .vcs-consent *::before, .vcs-modal *::before, .vcs-consent *::after, .vcs-modal *::after { box-sizing: border-box; }
.vcs-consent[hidden], .vcs-modal[hidden], .vcs-backdrop[hidden] { display: none !important; }

/* ---- Alt bilgi baglantilari ---- */
.vcs-footlinks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem 1.25rem; padding: .85rem 1rem; font-family: var(--f); font-size: .8125rem; line-height: 1.4; }
.vcs-footlinks a, .vcs-footlinks button { padding: .35rem 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: none; opacity: .85; cursor: pointer; }
.vcs-footlinks a:hover, .vcs-footlinks button:hover { opacity: 1; text-decoration: underline; }
.vcs-footlinks a:focus-visible, .vcs-footlinks button:focus-visible { outline: 2px solid var(--vc-primary, #1f4e8c); outline-offset: 2px; opacity: 1; }
.footer-copyright .vcs-footlinks, footer .vcs-footlinks { padding: .5rem 0 0; justify-content: inherit; }
footer .vcs-footlinks a, footer .vcs-footlinks button { color: inherit; }
/* JS tasimazsa sayfa sonunda sakin bir satir olarak kalir */
body > .vcs-footlinks { background: #1f2327; color: #d6dade; }

/* ---- Onay bandi ---- */
.vcs-consent { position: fixed; z-index: 2147483000; font-family: var(--f); color: var(--t); }
.vcs-consent__card { background: var(--s); border: 1px solid var(--b); border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .22); padding: 1.15rem 1.25rem; }
.vcs-consent__title { margin: 0 0 .35rem; font-family: var(--f); font-size: 1.05rem; font-weight: 700; color: var(--t); line-height: 1.3; }
.vcs-consent__title:focus { outline: 0; }
.vcs-consent__text { font-size: .875rem; line-height: 1.55; color: var(--m); }
.vcs-consent__text p { margin: 0 0 .4rem; }
.vcs-consent__links { margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .8125rem; }
.vcs-consent a, .vcs-modal a { color: var(--p); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.vcs-consent a:focus-visible, .vcs-modal a:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; border-radius: 2px; }
.vcs-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.vcs-btn { flex: 1 1 auto; min-height: 44px; padding: .55rem 1.1rem; border: 2px solid var(--t); border-radius: 999px; background: transparent; color: var(--t); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.vcs-btn:hover { background: rgba(0, 0, 0, .06); }
.vcs-btn:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }
.vcs-btn--primary { background: var(--p); border-color: var(--p); color: var(--pc); }
.vcs-btn--primary:hover { background: var(--p); filter: brightness(.92); }
.vcs-btn--ghost { border-color: var(--b); color: var(--t); font-weight: 600; }

/* Konumlar: bottom (tam genislik cubuk) | bottom-left | bottom-right | center (iletisim kutusu) */
.vcs-consent--bottom { inset-inline: 0; bottom: 0; padding: .75rem; }
.vcs-consent--bottom .vcs-consent__card { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: .25rem; }
@media (min-width: 900px) {
  .vcs-consent--bottom .vcs-consent__card { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: center; }
  .vcs-consent--bottom .vcs-consent__title, .vcs-consent--bottom .vcs-consent__text, .vcs-consent--bottom .vcs-consent__links { grid-column: 1; }
  .vcs-consent--bottom .vcs-consent__actions { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
  .vcs-consent--bottom .vcs-btn { flex: none; white-space: nowrap; }
}
.vcs-consent--bottom-left, .vcs-consent--bottom-right { bottom: 1rem; width: calc(100% - 2rem); max-width: 25rem; }
.vcs-consent--bottom-left { left: 1rem; }
.vcs-consent--bottom-right { right: 1rem; }
@media (max-width: 479px) { .vcs-consent--bottom-left, .vcs-consent--bottom-right { inset-inline: .5rem; bottom: .5rem; width: auto; max-width: none; } }
.vcs-consent--center { inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem; pointer-events: none; }
.vcs-consent--center .vcs-consent__card { width: 100%; max-width: 30rem; pointer-events: auto; max-height: calc(100vh - 2rem); overflow-y: auto; }
.vcs-backdrop { position: fixed; inset: 0; z-index: 2147482999; background: rgba(15, 18, 24, .55); }
@media (max-width: 479px) {
  .vcs-consent__card { padding: 1rem; }
  .vcs-consent__text { max-height: 24vh; overflow-y: auto; }
  .vcs-consent__actions { gap: .5rem; margin-top: .85rem; }
  .vcs-consent__actions .vcs-btn { flex: 1 1 calc(50% - .25rem); min-width: 0; padding-inline: .5rem; }
  .vcs-consent__actions .vcs-btn--ghost { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .vcs-consent:not([hidden]) .vcs-consent__card { animation: vcs-in .25s ease-out both; } @keyframes vcs-in { from { opacity: 0; transform: translateY(10px); } } }

/* ---- Tercihler penceresi ---- */
.vcs-modal { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 1rem; font-family: var(--f); color: var(--t); background: rgba(15, 18, 24, .6); }
.vcs-modal__panel { width: 100%; max-width: 34rem; max-height: calc(100vh - 2rem); overflow-y: auto; background: var(--s); border-radius: 16px; padding: 1.4rem 1.4rem 1.25rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.vcs-modal__title { margin: 0 0 .35rem; font-family: var(--f); font-size: 1.2rem; font-weight: 700; color: var(--t); }
.vcs-modal__title:focus { outline: 0; }
.vcs-modal__intro { margin: 0 0 1rem; font-size: .875rem; color: var(--m); line-height: 1.55; }
.vcs-cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--b); }
.vcs-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--b); }
.vcs-cat__text { min-width: 0; display: grid; gap: .15rem; }
.vcs-cat__text strong { font-size: .925rem; color: var(--t); }
.vcs-cat__text span { font-size: .8125rem; color: var(--m); line-height: 1.5; }
.vcs-cat__fixed { flex: none; font-size: .75rem; font-weight: 700; color: #1b5e3b; background: #dcf1e5; border-radius: 999px; padding: .25rem .65rem; white-space: nowrap; }
.vcs-toggle { position: relative; flex: none; display: inline-block; width: 48px; height: 28px; cursor: pointer; }
.vcs-switch { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.vcs-toggle__track { position: absolute; inset: 0; border-radius: 999px; background: #8a929b; transition: background-color .2s; }
.vcs-toggle__track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.vcs-switch:checked + .vcs-toggle__track { background: var(--p); }
.vcs-switch:checked + .vcs-toggle__track::after { transform: translateX(20px); }
[dir="rtl"] .vcs-switch:checked + .vcs-toggle__track::after { transform: translateX(-20px); }
.vcs-switch:focus-visible + .vcs-toggle__track { outline: 3px solid var(--p); outline-offset: 2px; }
.vcs-modal .vcs-consent__actions .vcs-btn { flex: 1 1 0; }
@media (prefers-reduced-motion: reduce) { .vcs-toggle__track, .vcs-toggle__track::after { transition: none; } }

.vcs-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Bakim onizleme seridi ---- */
.vcs-ribbon { position: fixed; z-index: 2147483002; top: 0; inset-inline-start: 50%; transform: translateX(-50%); max-width: calc(100% - 1rem); padding: .3rem .9rem; border-radius: 0 0 10px 10px; background: #b45309; color: #fff; font: 600 .75rem/1.4 var(--f); text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); pointer-events: none; }
[dir="rtl"].vcs-ribbon { transform: translateX(50%); }

/* Yuzen butonlar (vcms-float): telefonda sayfa sonu boslugu koyu footer'in icinde kalsin (body alt dolgusu beyaz serit birakmasin); alt boslugu --vcf-safe-bottom saglar */
@media (max-width: 767.98px) {
  html.vcf-on.vcf-on body:not(.vcf-has-bar) { padding-bottom: 0; }
  html.vcf-on footer .footer-copyright { padding-bottom: max(20px, var(--vcf-safe-bottom, 0px)); }
}
