/* Herkese açık sayfaların ortak teması (anasayfa, /basvuru, ödeme sonucu, hata sayfaları). Getirio logosu: koyu yeşil + lime.
   Yazı tipleri kendi sunucumuzdan (CSP: dış kaynak yok): başlık Outfit, metin Nunito Sans (SIL OFL 1.1, public/fonts). */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
    --lime: #d4f463;
    --lime-soft: #f4fbdc;
    --lime-mid: #e6f8a8;
    --green: #13433c;
    --green-2: #1d5a50;
    --green-soft: #e8f0ee;
    --black: #13433c;
    --ink: #1d2422;
    --ink-2: #48514e;
    --ink-3: #6f7875;
    --line: #e4e7e3;
    --soft: #f6f7f4;
    --paper: #fbfaf6;
    --danger: #b42318;
    --danger-soft: #fef3f2;
    --radius: 0.75rem;
    --font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-head: "Outfit", "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 16px; color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
p { margin: 0; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -10000px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; padding: 0.5rem 1rem; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 1.1rem; border-radius: 0.6rem; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-2); }
.btn-lime { background: var(--lime); color: var(--green); }
.btn-lime:hover { background: #c9ee45; }
.btn-outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--soft); }
.btn-block { width: 100%; }
.is-disabled { opacity: 0.4; pointer-events: none; }

/* Sade sayfaların üst ve alt bandı (başvuru, ödeme sonucu, hata) */
.site-top { background: #fff; border-bottom: 1px solid var(--line); }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; margin: 0; }
.logo img { height: 34px; width: auto; }
.site-top a.back { font-weight: 700; text-decoration: none; }
.site-top a.back:hover { text-decoration: underline; }
.site-foot { background: var(--green); color: #cfe0db; font-size: 0.9rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 64px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }

/* Ödeme sonucu (PayTR iFrame içinde açılır; gezinme bağlantısı yok) */
.result-page { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 1rem; background: var(--paper); }
.result { width: 100%; max-width: 26rem; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.result .logo { justify-content: center; margin-bottom: 1.5rem; }
.result-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto; border-radius: 50%; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.result-ok .result-icon { background: var(--lime); color: var(--green); }
.result-fail .result-icon { background: var(--danger-soft); color: var(--danger); }
.result p { font-size: 1.1rem; line-height: 1.6; margin-top: 1rem; }

/* Mobil alt gezinme çubuğu (resources/views/partials/bottom-nav.blade.php; anasayfa, işletme, başvuru, yasal sayfalar). Yalnız
   < 768 px görünür; altta güvenli alan (ana çubuk / çentik: viewport-fit=cover) kadar iç boşluk. Sayfa sonundaki boşluk
   (.bottom-nav-spacer) çubuk yüksekliğindedir: içerik ve alt bilgi çubuğun altında kalmaz. */
:root { --bottom-nav-h: 64px; }
.wrap { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
.bottom-nav, .bottom-nav-spacer { display: none; }
.bottom-nav { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 767.98px) {
    .bottom-nav-spacer { display: block; height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
    .bottom-nav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
        background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(19, 67, 60, 0.08);
    }
    .bottom-nav-link {
        flex: 1 1 0; min-width: 0; height: var(--bottom-nav-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
        color: var(--ink-3); font-size: 0.75rem; font-weight: 700; line-height: 1.1; text-decoration: none; -webkit-tap-highlight-color: transparent;
    }
    .bottom-nav-icon { width: 3.5rem; height: 1.85rem; padding: 0.2rem 0; border-radius: 999px; transition: background-color 0.2s; }
    .bottom-nav-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .bottom-nav-link:hover { color: var(--green); }
    .bottom-nav-link:focus-visible { outline-offset: -3px; }
    .bottom-nav-link[aria-current] { color: var(--green); }
    .bottom-nav-link[aria-current] .bottom-nav-icon { background: var(--lime-mid); }
}
@media (prefers-reduced-motion: reduce) {
    .bottom-nav-icon { transition: none; }
}
