/* Ortak erişilebilirlik, yasal sayfa ve çerez tercihleri stilleri. */
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 12px 16px;
    border: 2px solid #15120e;
    border-radius: 10px;
    background: #fff;
    color: #15120e;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 3px solid #0f766e !important;
    outline-offset: 3px !important;
}

.nav-links a,
.lang-btn,
.btn-dark,
.btn-hero,
.btn-ghost,
.btn-wa,
.btn-submit,
.footer a,
.cookie-preferences-link {
    min-height: 44px;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.nav-links a,
.footer a,
.cookie-preferences-link { display: inline-flex; align-items: center; }
.btn-ghost { display: inline-flex; align-items: center; }

.cookie-preferences-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-consent {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    z-index: 2100;
    width: min(760px, calc(100% - 32px));
    max-height: min(55vh, 420px);
    margin: 0 auto;
    overflow: auto;
    padding: 18px;
    border: 2px solid #15120e;
    border-radius: 16px;
    background: #fff;
    color: #15120e;
    box-shadow: 7px 8px 0 #15120e;
}

.cookie-consent[hidden] { display: none; }
body.cookie-consent-open { padding-bottom: var(--cookie-consent-height, 0px); }
.cookie-consent__title { margin: 0 0 6px; font-size: 18px; }
.cookie-consent__text { margin: 0; color: #4d463c; font-size: 14px; line-height: 1.55; }
.cookie-consent__text a { color: inherit; font-weight: 700; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookie-consent__button {
    min-width: 120px;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid #15120e;
    border-radius: 999px;
    background: #fff;
    color: #15120e;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.cookie-consent__button--accept { background: #15120e; color: #fff; }

.legal-page { background: #faf6ef; color: #15120e; }
.legal-nav { border-bottom: 2px solid #15120e; }
.legal-nav__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.legal-nav__links a { min-height: 44px; display: inline-flex; align-items: center; color: #15120e; font-weight: 700; text-decoration: none; }
.legal {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 100px;
}
.legal h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; }
.legal h2 { margin: 36px 0 12px; font-size: clamp(20px, 3vw, 26px); }
.legal h3 { margin: 24px 0 8px; font-size: 18px; }
.legal p,
.legal li { color: #4d463c; font-size: 16px; line-height: 1.75; }
.legal p { margin: 12px 0; }
.legal ul { margin: 12px 0; padding-left: 24px; }
.legal a { color: #7d1650; font-weight: 650; }
.legal .updated { margin: 10px 0 32px; color: #6b6356; font-size: 14px; }
.legal .notice { padding: 18px 20px; border-left: 5px solid #19c5b4; background: #fff; }
.legal-footer .footer-bottom { margin-top: 0; }

@media (max-width: 600px) {
    .cookie-consent { max-height: 48vh; padding: 16px; }
    .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-consent__button { width: 100%; }
    .legal-nav__links { gap: 8px; }
    .legal-nav__links a { font-size: 13px; }
    .legal { width: min(100% - 32px, 900px); padding-top: 42px; }
}

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