/*
 * Cast Ajans Blue: site teması.
 * Fikir: set ışığı. Kehribar "kayıtta" ışığı yalnızca şu an oyuncu arayan projeleri işaretler;
 * geri kalan her şey soğuk kağıt zemin, gece mavisi metin ve tek bir mavi perde rengiyle sakin kalır.
 */

/* Bricolage Grotesque (başlık) ve Instrument Sans (metin): yerelden, latin + latin-ext */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-ext.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin.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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
    src: url('/fonts/instrument-sans-latin-ext.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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
    src: url('/fonts/instrument-sans-latin.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 {
    --night: #121a3a;      /* gece: metin, koyu alanlar */
    --night-2: #1c2652;
    --screen: #2340f5;     /* mavi perde: ana eylem */
    --screen-dark: #1830c9;
    --sky: #43b6ec;        /* logodaki gökyüzü mavisi */
    --paper: #f5f7fc;      /* zemin */
    --white: #fff;
    --mist: #dde3f0;       /* çizgiler */
    --slate: #59627f;      /* ikincil metin */
    --tally: #ffb020;      /* set ışığı: yalnızca "oyuncu aranıyor" */
    --danger: #c42b38;
    --ok: #18794e;

    --font-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
    --font-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-s: 6px;
    --radius: 12px;
    --radius-l: 20px;
    --gutter: clamp(16px, 4vw, 32px);
    --max: 1200px;
    --header-h: 64px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; background: var(--paper); color: var(--night);
    font: 400 1.0625rem/1.6 var(--font-text);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--screen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--screen-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
::selection { background: var(--sky); color: var(--night); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-s); background: var(--night); color: var(--white); }
.skip-link:focus { top: 12px; color: var(--white); }

h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--night); margin: 0 0 .5em; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.25rem); font-weight: 800; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
h4, .h4 { font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.55; color: var(--slate); max-width: 38em; }
.muted { color: var(--slate); }
small, .small { font-size: .875rem; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--slate); max-width: 34em; }

/* ---------- Düğmeler ---------- */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: 0 1.375em; border: 2px solid transparent; border-radius: 999px;
    font: 600 1rem/1 var(--font-text); text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.button svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.button-primary { background: var(--screen); color: var(--white); }
.button-primary:hover { background: var(--screen-dark); color: var(--white); }
.button-light { background: var(--white); color: var(--night); }
.button-light:hover { background: var(--mist); color: var(--night); }
.button-line { border-color: currentColor; color: var(--night); background: transparent; }
.button-line:hover { background: var(--night); border-color: var(--night); color: var(--white); }
.on-night .button-line { color: var(--white); }
.on-night .button-line:hover { background: var(--white); border-color: var(--white); color: var(--night); }
.button-lg { min-height: 56px; padding: 0 1.75em; font-size: 1.0625rem; }
.button-block { width: 100%; }
.text-link { font-weight: 600; color: var(--screen); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link:hover { text-decoration: underline; }

/* ---------- Set ışığı ---------- */
.tally { display: inline-flex; align-items: center; gap: .5em; font-size: .875rem; font-weight: 600; color: inherit; }
.tally::before { content: ''; width: .625em; height: .625em; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 .2em rgba(255, 176, 32, .25), 0 0 12px rgba(255, 176, 32, .7); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
    .tally-live::before { animation: tally 2.4s ease-in-out infinite; }
    @keyframes tally { 50% { box-shadow: 0 0 0 .32em rgba(255, 176, 32, .12), 0 0 18px rgba(255, 176, 32, .9); } }
}

/* ---------- Üst bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 247, 252, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--mist); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { width: auto; height: 42px; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a, .nav summary { display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--night); font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover { background: var(--white); }
.nav a[aria-current="page"], .nav .is-current > summary { background: var(--white); box-shadow: inset 0 0 0 1px var(--mist); }
.nav details { position: relative; }
.nav details svg { width: 14px; height: 14px; transition: transform .15s; }
.nav details[open] svg { transform: rotate(180deg); }
.nav .submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 8px; display: grid; gap: 2px; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(18, 26, 58, .12); }
.nav .submenu a { border-radius: var(--radius-s); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login-link { display: none; }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--night); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.header-actions .button { min-height: 42px; padding: 0 1.1em; font-size: .9375rem; }
@media (min-width: 1024px) {
    :root { --header-h: 76px; }
    .nav { display: block; margin: 0 auto 0 32px; }
    .brand { margin-right: 0; }
    .brand img { height: 50px; }
    .menu-toggle { display: none; }
    .header-actions .login-link { display: inline-flex; }
}

/* Mobil menü */
.mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--night); color: var(--white); padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-menu-top .menu-toggle { color: var(--white); }
.mobile-menu nav { flex: 1; }
.mobile-menu ul { margin: 8px 0 0; padding: 0; list-style: none; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--white); font: 600 1.375rem/1.2 var(--font-display); text-decoration: none; }
.mobile-menu li li a { min-height: 48px; padding-left: 16px; font: 500 1.0625rem/1.2 var(--font-text); color: rgba(255, 255, 255, .8); }
.mobile-menu .mobile-menu-group > span { display: block; padding: 20px 0 4px; font-size: .875rem; color: rgba(255, 255, 255, .6); }
.mobile-menu .button-block + .button-block { margin-top: 10px; }
.mobile-menu-actions { display: grid; gap: 10px; padding-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Gece alanı (ana sayfa girişi, sayfa başları) ---------- */
.on-night { background: var(--night); color: rgba(255, 255, 255, .86); }
.on-night h1, .on-night h2, .on-night h3 { color: var(--white); }
.on-night .lead, .on-night .muted { color: rgba(255, 255, 255, .72); }
.on-night a:not(.button) { color: var(--sky); }

.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.hero::after { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(35, 64, 245, .45), transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 13em; margin-bottom: .35em; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: rgba(255, 255, 255, .72); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--sky); }
@media (max-width: 599px) { .hero-actions .button { flex: 1 1 100%; } }

/* Afiş şeridi: şu an oyuncu aranan projeler */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(40px, 6vw, 72px) 0 16px; }
.rail-head .tally { color: var(--white); font-size: 1rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 80%); gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); list-style: none; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
@media (min-width: 600px) { .rail { grid-auto-columns: minmax(260px, 46%); } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 2 * 14px - 2 * var(--gutter)) / 3); } }
.rail > li { scroll-snap-align: start; }
.poster { display: block; color: var(--white); text-decoration: none; }
.poster-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--night-2); }
.poster-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.poster:hover .poster-image img { transform: scale(1.04); }
.poster-image .tally { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(18, 26, 58, .78); color: var(--white); font-size: .8125rem; backdrop-filter: blur(4px); }
.poster-title { display: block; margin-top: 10px; font-weight: 600; line-height: 1.3; }
.on-night .poster-title { color: var(--white); }
.poster:hover .poster-title { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nasıl işler: gerçekten bir sıra olduğu için numaralı ---------- */
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 12px; padding-top: 16px; border-top: 2px solid var(--night); }
.steps li::before { content: counter(step); grid-row: span 2; font: 800 2rem/1 var(--font-display); color: var(--screen); }
@media (min-width: 768px) {
    .steps li { display: block; padding-top: 18px; }
    .steps li::before { display: block; margin-bottom: 14px; font-size: 2.75rem; }
}
.steps h3 { font-size: 1.25rem; margin-bottom: .4em; }
.steps p { margin: 0; color: var(--slate); }

/* ---------- Proje ızgarası ---------- */
.projects { display: grid; gap: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.project { display: flex; flex-direction: column; color: var(--night); text-decoration: none; }
.project-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-image .tally { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(18, 26, 58, .78); color: var(--white); font-size: .75rem; }
.project h3, .project-title { margin: 12px 0 4px; font: 600 1.0625rem/1.3 var(--font-text); letter-spacing: 0; color: var(--night); }
/* Görselsiz yazılar için tipografik kapak */
.project-cover { display: flex; align-items: flex-end; padding: 16px; background: var(--night); background-image: radial-gradient(120% 90% at 100% 0%, rgba(35, 64, 245, .55), transparent 60%); }
.project-cover span { font: 800 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.05 var(--font-display); letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.project:nth-child(3n+2) .project-cover, li:nth-child(3n+2) .project-cover { background-image: radial-gradient(120% 90% at 0% 0%, rgba(67, 182, 236, .5), transparent 60%); }
.project p { margin: 0; font-size: .9375rem; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project:hover h3, .project:hover .project-title { color: var(--screen); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Oyuncu ızgarası ---------- */
.faces { display: grid; gap: 16px 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .faces { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; } }
@media (min-width: 1100px) { .faces { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.face { display: block; color: var(--night); text-decoration: none; }
.face img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.face span { display: block; margin-top: 8px; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.face small { display: block; color: var(--slate); font-weight: 400; }

/* ---------- Bölünmüş içerik ---------- */
.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media img { width: 100%; border-radius: var(--radius-l); }
.split-media.logo-card { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--mist); border-radius: var(--radius-l); background: var(--white); }
.split-media.logo-card img { width: min(100%, 360px); border-radius: 0; }

/* ---------- Partnerler ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .partners { grid-template-columns: repeat(6, 1fr); } }
.partners li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 12px; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); }
.partners img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners li:hover img { filter: none; opacity: 1; }

/* ---------- Başvuru çağrısı bandı ---------- */
.cta-band { border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; }

/* ---------- Sayfa başı ---------- */
.page-head { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem); margin-bottom: .3em; }
.page-head .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .875rem; color: var(--slate); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--mist); }
.on-night .crumbs { color: rgba(255, 255, 255, .6); }
.on-night .crumbs li + li::before { color: rgba(255, 255, 255, .3); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Uzun metin (blog, kurumsal) ---------- */
.prose { font-size: 1.0625rem; line-height: 1.75; max-width: 42em; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.5em 0 .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; height: auto; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--screen); color: var(--slate); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--mist); text-align: left; }
.prose a { overflow-wrap: anywhere; }

.article-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); margin-bottom: 32px; background: var(--mist); }
.aside-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius-l); }
.aside-box h2 { font-size: 1.375rem; }
.aside-list { margin: 24px 0 0; padding: 0; list-style: none; }
.aside-list li + li { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mist); }
.aside-list a { color: var(--night); font-weight: 500; text-decoration: none; line-height: 1.35; }
.aside-list a:hover { color: var(--screen); }

/* ---------- Kutular, listeler ---------- */
.panel { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 32px); }
.faq { border-top: 1px solid var(--mist); }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.75rem/1 var(--font-text); color: var(--screen); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div, .faq details > p { padding: 0 0 20px; margin: 0; color: var(--slate); max-width: 46em; }

.pagination-nav { margin-top: 48px; }
.pagination-nav ul, .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination-nav a, .pagination-nav span, .pagination .page-link { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--mist); background: var(--white); color: var(--night); text-decoration: none; font-weight: 600; }
.pagination-nav a:hover, .pagination .page-link:hover { border-color: var(--night); }
.pagination-nav [aria-current="page"] span, .pagination .active .page-link { background: var(--night); border-color: var(--night); color: var(--white); }
.pagination .disabled .page-link { opacity: .45; }

/* Etiketler */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist); color: var(--night); font-size: .9375rem; text-decoration: none; }
.chips a:hover { border-color: var(--night); }

/* İletişim */
.contact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-list a, .contact-list li > span { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); color: var(--night); text-decoration: none; font-weight: 500; }
.contact-list a:hover { border-color: var(--night); }
.contact-list svg { width: 22px; height: 22px; color: var(--screen); flex-shrink: 0; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-l); background: var(--mist); }

/* Genel form alanları (iletişim, yorum, giriş) */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9375rem; }
.input, .field input, .field textarea, .field select {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9d1e3; border-radius: var(--radius-s);
    background: var(--white); color: var(--night); font: 400 1rem/1.4 var(--font-text); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--screen); box-shadow: 0 0 0 4px rgba(35, 64, 245, .14); }
.alert { padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.alert-ok { background: #e3f4ec; color: var(--ok); }
.alert-error { background: #fbe7e9; color: var(--danger); }

/* ---------- Alt bilgi ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 112px); padding: clamp(48px, 6vw, 80px) 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-about { grid-column: 1 / -1; max-width: 26em; }
@media (min-width: 900px) { .footer-about { grid-column: auto; } }
.footer-about img { height: 64px; width: auto; margin-bottom: 16px; background: var(--white); border-radius: var(--radius-s); padding: 6px 10px; }
.site-footer h2 { font: 600 1rem/1.3 var(--font-text); letter-spacing: 0; color: var(--white); margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; color: rgba(255, 255, 255, .6); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); }
.social a:hover { background: var(--screen); text-decoration: none; }
.social svg { width: 20px; height: 20px; }

/* Mobilde sabit başvuru düğmesi (form sayfası hariç) */
.apply-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; transform: translateY(150%); transition: transform .25s ease; }
.apply-dock.is-visible { transform: none; }
.apply-dock .button { width: 100%; box-shadow: 0 10px 30px rgba(18, 26, 58, .3); }
@media (min-width: 1024px) { .apply-dock { display: none; } }

/* ---------- Eski şablonlarla uyum (legacy.css üstüne) ---------- */
body .bg-primary, body .bg-soft, body .card.bg-primary { background-color: var(--white) !important; }
body .shadow-soft, body .shadow-inset, body .shadow-sm { box-shadow: none !important; }
body .card { border: 1px solid var(--mist); border-radius: var(--radius); }
body .border-light { border-color: var(--mist) !important; }
body .btn { font-family: var(--font-text); border-radius: 999px; font-weight: 600; }
body .btn-primary { background: var(--screen); border-color: var(--screen); color: var(--white); box-shadow: none; }
body .btn-primary:hover, body .btn-primary:focus { background: var(--screen-dark); border-color: var(--screen-dark); color: var(--white); box-shadow: none; }
body .form-control { background: var(--white); border: 1.5px solid #c9d1e3; box-shadow: none; color: var(--night); font-weight: 400; }
body .form-control:focus { border-color: var(--screen); box-shadow: 0 0 0 4px rgba(35, 64, 245, .14); }
body .text-secondary { color: var(--screen) !important; }
body .display-1, body .display-2, body .display-3, body .display-4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 { font-family: var(--font-display); }
body .nav-pills .nav-link { border-radius: 999px; box-shadow: none; }
body .nav-pills .nav-link.active { background: var(--night); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
