/*
Theme Name: Akıllı Şehir Bursa
Theme URI: https://akillisehir.bursa.bel.tr/
Author: Bursa Büyükşehir Belediyesi — Bilgi İşlem Dairesi Başkanlığı
Description: Bursa'nın akıllı şehir vizyonu için modern, eklentisiz WordPress teması. Proje içerik türü, tema taksonomisi, fikir formu, Özelleştirici ayarları ve yerel yazı tipleri dahildir.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akilli-sehir-bursa
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ------------------------------------------------------------------
   Değişkenler
------------------------------------------------------------------ */
:root {
	--asb-ink: #0B1F1A;
	--asb-ink-2: #12302A;
	--asb-ground: #F4F6F1;
	--asb-surface: #FFFFFF;
	--asb-line: #DDE3DA;
	--asb-line-dark: #3C5A4E;
	--asb-text-2: #3E4F47;
	--asb-muted: #55655D;
	--asb-green: #17763F;
	--asb-green-soft: #E3EFE6;
	--asb-on-dark: #C9D6CF;
	--asb-on-dark-2: #B9C7BF;
	--asb-accent: #9BD45C;
	--asb-radius: 22px;
	--asb-max: 1240px;
	--asb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--asb-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* ------------------------------------------------------------------
   Temel
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--asb-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--asb-ink);
	background: var(--asb-ground);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--asb-green); }
a:hover { color: var(--asb-ink); }
:focus-visible { outline: 3px solid var(--asb-accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--asb-display); line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--asb-surface); clip: auto !important; clip-path: none; color: var(--asb-ink);
	display: block; font-weight: 600; height: auto; left: 8px; padding: 14px 20px; top: 8px; width: auto; z-index: 100000;
}

.asb-container { max-width: var(--asb-max); margin: 0 auto; padding: 0 24px; }
.asb-section { padding: 64px 0; }
@media (max-width: 760px) { .asb-section { padding: 48px 0; } }
.asb-section--white { background: var(--asb-surface); border-top: 1px solid var(--asb-line); border-bottom: 1px solid var(--asb-line); }
.asb-section--dark { background: var(--asb-ink); color: var(--asb-ground); }
.asb-eyebrow {
	display: block; font-size: 14px; font-weight: 600; letter-spacing: .12em;
	text-transform: uppercase; color: var(--asb-green); margin-bottom: 14px;
}
.asb-section--dark .asb-eyebrow, .asb-hero .asb-eyebrow { color: var(--asb-accent); }
.asb-h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.01em; line-height: 1.08; margin: 0; }
.asb-lead { font-size: 17px; color: var(--asb-text-2); }
.asb-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.asb-head-row > div { max-width: 640px; }
.asb-head-row p { margin: 0; color: var(--asb-text-2); max-width: 420px; }

/* Düğmeler */
.asb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600;
	text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600;
	transition: transform .15s ease, background-color .15s ease;
}
.asb-btn:hover { transform: translateY(-1px); }
.asb-btn--accent { background: var(--asb-accent); color: var(--asb-ink); }
.asb-btn--accent:hover { color: var(--asb-ink); }
.asb-btn--ghost { color: var(--asb-ground); border-color: var(--asb-line-dark); }
.asb-btn--ghost:hover { color: var(--asb-ground); border-color: var(--asb-accent); }
.asb-btn--dark { background: var(--asb-ink); color: var(--asb-ground); }
.asb-btn--dark:hover { color: var(--asb-ground); background: var(--asb-ink-2); }

/* ------------------------------------------------------------------
   Üst bilgi
------------------------------------------------------------------ */
.asb-header { background: var(--asb-ink); color: var(--asb-ground); position: relative; z-index: 20; }
.asb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.asb-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--asb-ground); }
.asb-brand:hover { color: var(--asb-ground); }
.asb-brand__mark { color: var(--asb-accent); flex: none; }
.asb-brand__logo { max-height: 44px; width: auto; }
.asb-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.asb-brand__title { font-family: var(--asb-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.asb-brand__sub { font-size: 12px; color: var(--asb-on-dark-2); }

.asb-nav { display: flex; align-items: center; gap: 8px; }
.asb-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.asb-menu a { display: block; color: var(--asb-ground); text-decoration: none; padding: 12px 14px; font-size: 15px; border-radius: 999px; }
.asb-menu a:hover, .asb-menu .current-menu-item > a { color: var(--asb-accent); }
.asb-menu .sub-menu { display: none; }
.asb-nav__cta { margin-left: 4px; }
.asb-nav-toggle {
	display: none; background: transparent; border: 1px solid var(--asb-line-dark); color: var(--asb-ground);
	width: 48px; height: 48px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.asb-nav-toggle .asb-icon--close { display: none; }

@media (max-width: 960px) {
	.asb-nav-toggle { display: inline-flex; }
	.asb-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--asb-ink); border-top: 1px solid var(--asb-line-dark);
		flex-direction: column; align-items: stretch; padding: 12px 24px 24px;
	}
	.asb-nav.is-open { display: flex; }
	.asb-menu { flex-direction: column; }
	.asb-menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--asb-ink-2); }
	.asb-nav__cta { margin: 12px 0 0; }
	.asb-header.is-open .asb-nav-toggle .asb-icon--menu { display: none; }
	.asb-header.is-open .asb-nav-toggle .asb-icon--close { display: block; }
}

/* ------------------------------------------------------------------
   Açılış (hero)
------------------------------------------------------------------ */
.asb-hero { background: var(--asb-ink); color: var(--asb-ground); padding: 72px 0 96px; }
.asb-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.asb-hero__title { font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 28px; }
.asb-hero__text { font-size: 19px; color: var(--asb-on-dark); max-width: 560px; margin: 0 0 28px; }
.asb-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.asb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.asb-stat { background: var(--asb-ink-2); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.asb-stat__value { font-family: var(--asb-display); font-size: clamp(36px, 4vw, 52px); font-weight: 700; color: var(--asb-accent); line-height: 1; }
.asb-stat__label { color: var(--asb-on-dark); font-size: 15px; }
@media (max-width: 420px) { .asb-stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Neden + grafik + hedefler
------------------------------------------------------------------ */
.asb-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.asb-why .asb-h2 { margin-bottom: 20px; }
.asb-card { background: var(--asb-surface); border: 1px solid var(--asb-line); border-radius: 24px; padding: 36px; }
.asb-chart { display: flex; flex-direction: column; gap: 24px; }
.asb-chart__title { font-weight: 600; font-size: 15px; }
.asb-bars { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.asb-bar__row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.asb-bar__row strong { font-weight: 600; }
.asb-bar__track { height: 14px; background: #E6EBE3; border-radius: 999px; overflow: hidden; }
.asb-bar__fill { height: 100%; border-radius: 999px; background: #7FA191; }
.asb-bars li:nth-child(2) .asb-bar__fill { background: #3F7A62; }
.asb-bars li:nth-child(3) .asb-bar__fill { background: var(--asb-ink); }
.asb-chart__note { font-size: 13px; color: var(--asb-muted); }

.asb-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.asb-goal { background: var(--asb-surface); border: 1px solid var(--asb-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.asb-goal .asb-icon { color: var(--asb-green); width: 28px; height: 28px; }

/* ------------------------------------------------------------------
   Temalar
------------------------------------------------------------------ */
.asb-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.asb-theme {
	text-decoration: none; color: var(--asb-ink); background: var(--asb-ground); border-radius: var(--asb-radius);
	padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; border: 1px solid transparent;
	transition: border-color .15s ease, transform .15s ease;
}
.asb-theme:hover { color: var(--asb-ink); border-color: var(--asb-green); transform: translateY(-2px); }
.asb-theme__top { display: flex; justify-content: space-between; align-items: center; }
.asb-theme__top .asb-icon { width: 40px; height: 40px; stroke-width: 1.6; }
.asb-theme__num { font-family: var(--asb-display); font-size: 14px; color: var(--asb-muted); }
.asb-theme__name { font-family: var(--asb-display); font-size: 26px; font-weight: 700; }
.asb-theme__desc { color: var(--asb-text-2); font-size: 15px; }

/* ------------------------------------------------------------------
   Vizyon projeler
------------------------------------------------------------------ */
.asb-vision { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.asb-vcard { background: var(--asb-surface); border: 1px solid var(--asb-line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.asb-vcard--featured { background: var(--asb-ink); color: var(--asb-ground); border-color: var(--asb-ink); }
.asb-vcard__badge { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--asb-green-soft); color: var(--asb-green); }
.asb-vcard--featured .asb-vcard__badge { background: var(--asb-ink-2); color: var(--asb-accent); }
.asb-vcard__title { font-size: 28px; line-height: 1.15; margin: 0; }
.asb-vcard__title a { color: inherit; text-decoration: none; }
.asb-vcard__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.asb-vcard__text { margin: 0; color: var(--asb-text-2); }
.asb-vcard--featured .asb-vcard__text { color: var(--asb-on-dark); }
.asb-vcard__stats { display: flex; gap: 28px; margin-top: auto; flex-wrap: wrap; }
.asb-vcard__stat { display: flex; flex-direction: column; }
.asb-vcard__stat b { font-family: var(--asb-display); font-size: 30px; font-weight: 700; color: var(--asb-accent); }
.asb-vcard__stat span { font-size: 13px; color: var(--asb-on-dark-2); }

/* ------------------------------------------------------------------
   Proje kartları + filtre
------------------------------------------------------------------ */
.asb-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.asb-chip {
	font: inherit; font-size: 14px; min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1px solid #C9D3C6; background: var(--asb-surface); color: var(--asb-ink); cursor: pointer; text-decoration: none;
	display: inline-flex; align-items: center;
}
.asb-chip:hover { border-color: var(--asb-ink); color: var(--asb-ink); }
.asb-chip[aria-pressed="true"], .asb-chip.is-current { background: var(--asb-ink); border-color: var(--asb-ink); color: var(--asb-ground); font-weight: 600; }

.asb-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.asb-pcard {
	position: relative; border: 1px solid var(--asb-line); border-radius: 18px; padding: 24px; background: var(--asb-surface);
	display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease, box-shadow .15s ease;
}
.asb-pcard:hover { border-color: var(--asb-green); box-shadow: 0 6px 24px rgba(11, 31, 26, .06); }
.asb-pcard[hidden] { display: none; }
.asb-pcard__img { margin: -24px -24px 6px; border-radius: 17px 17px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--asb-ground); }
.asb-pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asb-front #projeler .asb-pcard__img { display: none; } /* PDF tasarımı: ana sayfada görselsiz kartlar */
.asb-pcard__tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--asb-green); }
.asb-pcard__title { font-family: var(--asb-display); font-size: 20px; font-weight: 600; line-height: 1.25; margin: 0; }
.asb-pcard__title a { color: var(--asb-ink); text-decoration: none; }
.asb-pcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.asb-pcard__text { color: var(--asb-text-2); font-size: 15px; margin: 0; }
.asb-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 12px 0; margin-top: 24px; }
.asb-empty { color: var(--asb-muted); }

/* ------------------------------------------------------------------
   Yol haritası
------------------------------------------------------------------ */
.asb-road { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.asb-road li { border-top: 2px solid var(--asb-line-dark); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.asb-road li.is-active { border-top-color: var(--asb-accent); }
.asb-road__tag { font-family: var(--asb-display); font-size: 15px; color: var(--asb-on-dark-2); }
.asb-road li.is-active .asb-road__tag { color: var(--asb-accent); }
.asb-road__title { font-family: var(--asb-display); font-size: 22px; font-weight: 600; }
.asb-road__text { color: var(--asb-on-dark); font-size: 15px; }

/* ------------------------------------------------------------------
   Katılım + form
------------------------------------------------------------------ */
.asb-join { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: start; }
.asb-join .asb-h2 { margin-bottom: 18px; }
.asb-quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.asb-quicklinks a {
	text-decoration: none; color: var(--asb-ink); background: var(--asb-surface); border: 1px solid var(--asb-line);
	border-radius: 16px; padding: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.asb-quicklinks a:hover { border-color: var(--asb-green); color: var(--asb-ink); }
@media (max-width: 420px) { .asb-quicklinks { grid-template-columns: 1fr; } }

.asb-form { display: flex; flex-direction: column; gap: 18px; }
.asb-form h3 { font-size: 24px; margin: 0; }
.asb-field { display: flex; flex-direction: column; gap: 6px; }
.asb-field label { font-size: 14px; font-weight: 600; }
.asb-field .asb-opt { font-weight: 400; color: var(--asb-muted); }
.asb-field input, .asb-field select, .asb-field textarea {
	font: inherit; min-height: 48px; padding: 0 14px; border: 1px solid #B9C4B6; border-radius: 12px;
	background: #F9FAF7; color: var(--asb-ink); width: 100%;
}
.asb-field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.asb-field input:focus, .asb-field select:focus, .asb-field textarea:focus { outline: 3px solid var(--asb-accent); outline-offset: 1px; border-color: var(--asb-green); }
.asb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--asb-text-2); }
.asb-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--asb-green); }
.asb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.asb-notice { border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.asb-notice--success { background: var(--asb-green-soft); color: #0F5A2F; }
.asb-notice--error { background: #FBE9E7; color: #8A1F11; }

/* ------------------------------------------------------------------
   Alt bilgi
------------------------------------------------------------------ */
.asb-footer { background: var(--asb-ink); color: var(--asb-on-dark); padding: 56px 0 40px; font-size: 15px; }
.asb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.asb-footer__col { display: flex; flex-direction: column; gap: 8px; }
.asb-footer__head { font-weight: 600; color: var(--asb-ground); }
.asb-footer__brand { font-family: var(--asb-display); font-weight: 700; font-size: 18px; color: var(--asb-ground); }
.asb-footer a { color: var(--asb-on-dark); }
.asb-footer a:hover { color: var(--asb-accent); }
.asb-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.asb-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #24443A; font-size: 13px; color: #9FB0A7; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------------
   İç sayfalar
------------------------------------------------------------------ */
.asb-pagehead { background: var(--asb-ink); color: var(--asb-ground); padding: 64px 0 72px; }
.asb-pagehead h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.02em; margin: 0; max-width: 900px; }
.asb-pagehead__lead { color: var(--asb-on-dark); font-size: 19px; max-width: 720px; margin: 20px 0 0; }
.asb-pagehead__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.asb-pagehead__meta a, .asb-pagehead__meta span {
	font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--asb-ink-2); color: var(--asb-accent); text-decoration: none;
}
.asb-crumbs { font-size: 14px; color: var(--asb-on-dark-2); margin-bottom: 18px; }
.asb-crumbs a { color: var(--asb-on-dark-2); }
.asb-crumbs a:hover { color: var(--asb-accent); }

.asb-main { padding: 64px 0 96px; }
.asb-entry { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.asb-entry > * + * { margin-top: 1.1em; }
.asb-entry h2 { font-size: 32px; margin-top: 1.6em; }
.asb-entry h3 { font-size: 24px; margin-top: 1.4em; }
.asb-entry img { border-radius: 16px; }
.asb-entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--asb-green); font-size: 20px; color: var(--asb-text-2); }
.asb-entry .alignwide { max-width: 1100px; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.asb-entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.asb-entry figcaption { font-size: 14px; color: var(--asb-muted); text-align: center; }
.asb-featured { max-width: 1000px; margin: -40px auto 48px; border-radius: 24px; overflow: hidden; position: relative; }
.asb-featured img { display: block; width: 100%; height: auto; }

.asb-related { margin-top: 80px; }
.asb-related h2 { font-size: 28px; margin-bottom: 24px; }

.asb-postlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.asb-pagination { margin-top: 48px; }
.asb-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.asb-pagination .page-numbers {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px;
	border-radius: 999px; border: 1px solid var(--asb-line); background: var(--asb-surface); text-decoration: none; color: var(--asb-ink);
}
.asb-pagination .page-numbers.current { background: var(--asb-ink); color: var(--asb-ground); border-color: var(--asb-ink); }

.asb-search { display: flex; gap: 8px; max-width: 520px; }
.asb-search input[type="search"] { flex: 1; font: inherit; min-height: 48px; padding: 0 16px; border: 1px solid #B9C4B6; border-radius: 999px; background: var(--asb-surface); }

.asb-404 { text-align: center; padding: 120px 0; }
.asb-404 .asb-search { margin: 32px auto 0; }

/* ------------------------------------------------------------------
   Açılış arka planı + animasyonlar (assets/js/theme.js)
------------------------------------------------------------------ */
.asb-hero { position: relative; overflow: hidden; isolation: isolate; }
.asb-hero > .asb-container { position: relative; z-index: 1; }
.asb-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.asb-hero__img {
	position: absolute; inset: -6% 0 0; background-size: cover; background-position: 70% 40%;
	transform: translate3d(0, var(--asb-parallax, 0px), 0); scale: 1.04; will-change: transform;
}
.asb-hero__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.asb-hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 31, 26, .94) 0%, rgba(11, 31, 26, .78) 38%, rgba(11, 31, 26, .25) 70%, rgba(11, 31, 26, .35) 100%),
		linear-gradient(0deg, var(--asb-ink) 0%, rgba(11, 31, 26, 0) 22%);
}
.asb-stat { position: relative; background: rgba(18, 48, 42, .78); border: 1px solid rgba(155, 212, 92, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; }
.asb-stat::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(115deg, transparent 30%, rgba(155, 212, 92, .16) 50%, transparent 70%);
	transform: translateX(-120%);
}
.asb-stat__value { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
	.asb-hero__shade { background: linear-gradient(180deg, rgba(11, 31, 26, .9), rgba(11, 31, 26, .82)); }
}

@media (prefers-reduced-motion: no-preference) {
	/* Açılış: yüklenince sırayla gelir */
	.asb-js .asb-hero .asb-eyebrow,
	.asb-js .asb-hero__title,
	.asb-js .asb-hero__text,
	.asb-js .asb-hero__actions,
	.asb-js .asb-stat { animation: asb-up .9s cubic-bezier(.2, .7, .2, 1) both; }
	.asb-js .asb-hero__title { animation-delay: .08s; }
	.asb-js .asb-hero__text { animation-delay: .18s; }
	.asb-js .asb-hero__actions { animation-delay: .28s; }
	.asb-js .asb-stat:nth-child(1) { animation-delay: .30s; }
	.asb-js .asb-stat:nth-child(2) { animation-delay: .42s; }
	.asb-js .asb-stat:nth-child(3) { animation-delay: .54s; }
	.asb-js .asb-stat:nth-child(4) { animation-delay: .66s; }
	.asb-js .asb-stat::after { animation: asb-shine 1.6s ease 1.1s both; }
	.asb-js .asb-stat:nth-child(2)::after { animation-delay: 1.25s; }
	.asb-js .asb-stat:nth-child(3)::after { animation-delay: 1.4s; }
	.asb-js .asb-stat:nth-child(4)::after { animation-delay: 1.55s; }
	.asb-hero__img { animation: asb-zoom 18s ease-in-out infinite alternate; }

	/* Kaydırınca beliren öğeler.
	   :where() önceliği sıfırlar; böylece aşağıdaki .is-in kuralı her zaman baskın gelir. */
	.asb-js :where(
		.asb-front .asb-section .asb-head-row,
		.asb-front .asb-why > *,
		.asb-front .asb-goal,
		.asb-front .asb-theme,
		.asb-front .asb-vcard,
		.asb-front .asb-pcard,
		.asb-front .asb-more,
		.asb-front .asb-section--dark .asb-h2,
		.asb-front .asb-road li,
		.asb-front .asb-join > *,
		.asb-projects .asb-pcard
	) {
		opacity: 0; transform: translate3d(0, 36px, 0);
		transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), border-color .15s ease, box-shadow .15s ease;
		transition-delay: calc(var(--asb-i, 0) * 80ms);
	}
	.asb-js :where(.asb-front .asb-theme) { transform: translate3d(0, 36px, 0) scale(.97); }
	.asb-js .is-in { opacity: 1; transform: none; }
	.asb-js .asb-front .asb-theme.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
	.asb-js .asb-front .asb-pcard.is-in:hover { transform: translateY(-3px); transition-delay: 0s; }

	/* Grafik çubukları */
	.asb-js .asb-front .asb-bar__fill { width: 0 !important; transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
	.asb-js .asb-front .asb-chart.is-in .asb-bar__fill { width: var(--asb-bar) !important; }
	.asb-js .asb-front .asb-chart.is-in li:nth-child(2) .asb-bar__fill { transition-delay: .2s; }
	.asb-js .asb-front .asb-chart.is-in li:nth-child(3) .asb-bar__fill { transition-delay: .4s; }

	/* Yol haritası: üst çizgi soldan dolar */
	.asb-road li { position: relative; }
	.asb-js .asb-front .asb-road li.is-active::before {
		content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--asb-accent);
		transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .3s;
	}
	.asb-js .asb-front .asb-road li.is-active { border-top-color: var(--asb-line-dark); }
	.asb-js .asb-front .asb-road li.is-active.is-in::before { transform: scaleX(1); }

	/* Hedef ikonları hafifçe nabız atar */
	.asb-front .asb-goal.is-in .asb-icon { animation: asb-pop .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--asb-i, 0) * 80ms + .25s); }
}

/* Bölüm arka planlarında hareketli devre izleri */
.asb-front .asb-section { position: relative; isolation: isolate; overflow: hidden; }
.asb-front .asb-section::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	width: min(860px, 75vw); aspect-ratio: 4 / 3; top: -40px; right: -120px;
	background: url("assets/img/section-circuit-light.svg") no-repeat center / contain;
	opacity: .9;
	transform: translate3d(0, var(--asb-shift, 0px), 0);
}
/* Beyaz bölümlerde sol alta, aynalanmış */
.asb-front .asb-section--white::before { top: auto; bottom: -60px; right: auto; left: -140px; transform: translate3d(0, var(--asb-shift, 0px), 0) scaleX(-1); }
.asb-front .asb-section--dark::before { background-image: url("assets/img/section-circuit-dark.svg"); top: -20px; right: -80px; opacity: 1; }
/* Katılım bölümünde form tarafını sade bırak */
.asb-front #katilim::before { top: auto; bottom: -80px; right: auto; left: -160px; transform: translate3d(0, var(--asb-shift, 0px), 0) scaleX(-1); }
@media (max-width: 760px) {
	.asb-front .asb-section::before { opacity: .5; width: 120vw; }
}

@keyframes asb-up { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes asb-shine { to { transform: translateX(120%); } }
@keyframes asb-zoom { from { scale: 1.04; } to { scale: 1.1; } }
@keyframes asb-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Eski içerik (CMSMasters / WPBakery) uyumluluğu — inc/legacy-content.php */
.asb-entry .asb-lg-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 0 1.5em; }
.asb-entry .asb-lg-row > * { margin-top: 0; }
.asb-lg-col { flex: 1 1 calc(var(--asb-w, 100%) - 24px); min-width: min(100%, 280px); }
.asb-lg-col > * + * { margin-top: 1em; }
.asb-lg-box { padding: 28px; }
.asb-lg-box h2 { font-size: 22px; margin-top: 0; }
.asb-lg-heading { margin: .4em 0 .3em; }
.asb-lg-html iframe { width: 100%; max-width: 100%; border: 0; margin: 0 !important; border-radius: 16px; background: var(--asb-surface); }
.asb-lg-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 16px; display: block; }
.asb-lg-image { margin: 0; }
.asb-lg-image img { display: block; width: 100%; height: auto; }
.asb-lg-btn { width: 100%; text-align: center; }
.asb-lg-divider { border: 0; border-top: 1px solid var(--asb-line); margin: 2em 0; }
.asb-lg-toggle { border: 1px solid var(--asb-line); border-radius: 14px; padding: 14px 18px; background: var(--asb-surface); }
.asb-lg-toggle summary { cursor: pointer; font-weight: 600; }
.asb-entry .asb-lg-wide { margin-left: 50%; transform: translateX(-50%); width: min(1192px, 100vw - 48px); font-size: 16px; line-height: 1.55; }
.asb-entry .asb-lg-form { font-size: 16px; line-height: 1.55; margin-top: 1.5em; }
.asb-entry .asb-lg-form .asb-form > * + * { margin-top: 0; }

/* WordPress çekirdek sınıfları */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--asb-muted); }
.sticky, .bypostauthor, .gallery-caption { }
