/* Dyt. Rabia Özsaygın — ortak stil (tüm sayfalar). Sayfaya özel stiller her sayfanın <style> bloğunda. */

/* ---------- fonts (self-hosted; Latin + Türkçe alt kümesi, değişken eksenler) ---------- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/fraunces.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/fraunces-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter.woff2') format('woff2'); }
/* Yükleme anındaki kaymayı önlemek için ölçüleri eşlenmiş yedekler */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 105.82%; ascent-override: 91.55%; descent-override: 22.79%; line-gap-override: 0%; }
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 103.04%; ascent-override: 94.91%; descent-override: 24.75%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
    --bg: #f6f1e8; --bg-2: #efe7d7; --paper: #fbf7ef;
    --ink: #1f2620; --ink-2: #4a534b; --ink-3: #636a62;
    --line: #e3d9c3; --line-2: #d6cab0;
    --olive: #2f3d2a; --olive-2: #475a3f; --deep: #2f3d2a;
    --terra: #a14f2e; --terra-2: #f0a684; --gold: #c4a661; --gold-2: #e2cf9a;
    --on-dark: #fbf7ef; --on-dark-2: rgba(251,247,239,.78);
    --shadow: 0 1px 2px rgba(31,38,32,.04), 0 8px 32px rgba(31,38,32,.06);
    --shadow-lg: 0 1px 2px rgba(31,38,32,.06), 0 24px 60px rgba(31,38,32,.10);
    --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-md: 18px; --fs-lg: 21px; --fs-xl: 24px; --fs-2xl: 30px;
    --radius: 14px; --radius-sm: 8px; --radius-lg: 22px;
    --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11'; line-height: 1.6; }
h1, h2, h3, h4, h5 { font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; margin: 0; color: var(--olive); text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-style: italic; font-weight: 400; }
img { max-width: 100%; }
.mono { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.kicker { display: block; font-size: var(--fs-sm); color: var(--terra); margin-bottom: 14px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: -3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--olive); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); background: color-mix(in oklab, var(--bg) 86%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px; max-width: 1280px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: block; flex-shrink: 0; }
.brand-name { font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-size: var(--fs-md); color: var(--olive); letter-spacing: -0.01em; line-height: 1.1; }
.brand-name small { display: block; font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; font-weight: 500; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: var(--fs-sm); color: var(--ink-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--olive); }
.nav-cta { background: var(--olive); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; transition: background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--olive-2); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-2); width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; color: var(--olive); }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: var(--on-dark-2); padding: 64px 0 28px; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer .brand-name { color: var(--paper); }
.footer .brand-name small { color: rgba(251,247,239,.7); }
.footer-about { margin: 18px 0 0; max-width: 320px; line-height: 1.6; }
.footer-title { font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); margin: 0 0 14px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.footer ul a { display: inline-block; padding: 6px 0; color: var(--on-dark-2); }
.footer ul a:hover { color: var(--paper); }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.footer-contact a, .footer-meta a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(251,247,239,.4); text-underline-offset: 3px; }
.footer-contact .icon { margin-right: 8px; color: var(--gold); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(251,247,239,.14); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: var(--fs-sm); }
.footer-bottom .legal { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.footer-bottom .legal a { padding: 6px 0; }
.footer-bottom .legal a:hover { color: var(--paper); }
.footer-meta { width: 100%; font-size: var(--fs-xs); color: rgba(251,247,239,.7); }

/* ---------- whatsapp float ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper), 0 8px 24px rgba(47,61,42,.35); z-index: 40; transition: transform .2s, opacity .2s; }
.wa-float:hover { transform: translateY(-2px); background: var(--olive-2); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }


/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 12px 20px 20px; gap: 0; border-bottom: 1px solid var(--line); }
    .nav-links a { padding: 12px 0; font-size: var(--fs-base); width: 100%; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { display: none; }
    .nav-inner { padding: 12px 20px; }
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-brand, .footer-contact-col { grid-column: 1 / -1; }
    .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

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