/* Bilgisayar Dedektifi — alt tema stilleri
   Renk: lacivert + tek vurgu (logodaki kırmızı). Sistem yazı tipleri (dış font isteği yok). */
:root {
	--bd-navy: #0f2235;
	--bd-navy-2: #17324d;
	--bd-ink: #1b2430;
	--bd-muted: #5a6675;
	--bd-line: #dde3ea;
	--bd-bg: #ffffff;
	--bd-soft: #f4f6f9;
	--bd-accent: #b4232c;
	--bd-accent-ink: #ffffff;
	--bd-radius: 6px;
	--bd-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--bd-font-ar: "Noto Naskh Arabic", "Segoe UI", Tahoma, "Geeza Pro", "Arial", sans-serif;
}

body { font-family: var(--bd-font); color: var(--bd-ink); background: var(--bd-bg); line-height: 1.65; font-size: 17px; }
html[lang^="ar"] body { font-family: var(--bd-font-ar); font-size: 18px; line-height: 1.8; }

a { color: var(--bd-navy-2); text-underline-offset: 2px; }
a:hover, a:focus { color: var(--bd-accent); }
:focus-visible { outline: 3px solid var(--bd-accent); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--bd-navy); line-height: 1.25; font-weight: 700; }
.entry-content h2 { margin-top: 2.2em; font-size: 1.55rem; }
.entry-content h3 { margin-top: 1.6em; font-size: 1.2rem; }

/* Üst bölüm */
.site-header { background: var(--bd-navy); }
.site-header a, .main-title a, .site-description { color: #fff; }
.main-navigation, .main-navigation ul ul { background: var(--bd-navy); }
.main-navigation .main-nav ul li a { color: #fff; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a { color: #fff; background: var(--bd-navy-2); }
.site-logo img, .custom-logo { height: 48px; width: auto; filter: none; }
.site-branding .main-title, .site-branding .site-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 480px) { .site-logo img { height: 40px; } }
.bd-expert img { border-radius: 8px; }

/* İçerik haritası */
.bd-breadcrumb ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .9rem; color: var(--bd-muted); }
.bd-breadcrumb li + li::before { content: "›"; margin-inline-end: .35rem; color: var(--bd-muted); }
html[dir="rtl"] .bd-breadcrumb li + li::before { content: "‹"; }

/* Doğrudan cevap paragrafı */
.bd-answer { font-size: 1.12rem; background: var(--bd-soft); border-inline-start: 4px solid var(--bd-navy-2); padding: 1rem 1.2rem; border-radius: var(--bd-radius); }

/* Tablolar */
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .97rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--bd-line); padding: .6rem .75rem; text-align: start; vertical-align: top; }
.entry-content thead th { background: var(--bd-navy); color: #fff; }
.entry-content tbody tr:nth-child(even) { background: var(--bd-soft); }

/* Kutular */
.bd-legal, .bd-warning { border-radius: var(--bd-radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.bd-legal { background: #f6f3ea; border: 1px solid #e5dcc3; }
.bd-warning { background: #fbeeee; border: 1px solid #efc9cb; }
.bd-faq h3 { font-size: 1.08rem; margin-top: 1.4em; }
.bd-cta { background: var(--bd-navy); color: #fff; border-radius: var(--bd-radius); padding: 1.4rem 1.5rem; margin: 2rem 0; }
.bd-cta h2, .bd-cta h3, .bd-cta a { color: #fff; }
.bd-cta a { font-weight: 700; }

/* Uzman kutusu */
.bd-expert { display: flex; gap: 1rem; align-items: center; border-top: 1px solid var(--bd-line); margin-top: 2.5rem; padding-top: 1.2rem; }
.bd-expert img { flex: 0 0 auto; }
.bd-expert p { margin: 0; }
.bd-expert__by { font-size: .85rem; color: var(--bd-muted); }
.bd-expert__name { font-weight: 600; }
.bd-updated { font-size: .9rem; color: var(--bd-muted); }

/* Butonlar */
.bd-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-radius: var(--bd-radius); font-weight: 700; text-decoration: none; line-height: 1.2; min-height: 44px; }
.bd-btn--call { background: var(--bd-accent); color: var(--bd-accent-ink); }
.bd-btn--wa { background: #1f7a4a; color: #fff; }
.bd-btn--form { background: #fff; color: var(--bd-navy); border: 1px solid var(--bd-line); }
.bd-btn:hover, .bd-btn:focus { color: inherit; filter: brightness(1.08); }

/* Sabit iletişim çubuğu */
.bd-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 999; background: var(--bd-navy); color: #fff; padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0,0,0,.18); }
.bd-sticky__warn { margin: 0 0 .4rem; font-size: .82rem; line-height: 1.35; opacity: .92; text-align: center; }
.bd-sticky__actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.bd-sticky .bd-btn { padding: .55rem .9rem; font-size: .95rem; }
body { padding-bottom: 120px; }
@media (min-width: 900px) {
	.bd-sticky { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
	.bd-sticky__warn { margin: 0; text-align: start; max-width: 55%; }
	body { padding-bottom: 80px; }
}
@media (max-width: 480px) {
	.bd-sticky .bd-btn span { display: none; }
}

/* Teklif formu */
.bd-form { max-width: 640px; }
.bd-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.bd-form input[type=text], .bd-form input[type=tel], .bd-form input[type=email], .bd-form select, .bd-form textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #b8c3cf; border-radius: var(--bd-radius); font: inherit; background: #fff; }
.bd-form small { display: block; color: var(--bd-muted); margin-top: .3rem; }
.bd-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.bd-form legend { font-weight: 600; margin-bottom: .3rem; }
.bd-form .bd-inline { display: inline-flex; gap: .35rem; font-weight: 400; margin-inline-end: 1rem; }
.bd-consent label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.bd-req { color: var(--bd-muted); font-weight: 400; font-size: .85em; }
.bd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-form-msg { padding: .8rem 1rem; border-radius: var(--bd-radius); }
.bd-form-msg--ok { background: #e8f5ec; border: 1px solid #b9dfc6; }
.bd-form-msg--err { background: #fbeeee; border: 1px solid #efc9cb; }

/* Alt bilgi */
.site-footer, .site-info { background: var(--bd-navy); color: #c9d3de; }
.site-footer a, .site-info a { color: #fff; }

.bd-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; text-align: start; padding: 1rem 0; }
.bd-footer ul { list-style: none; margin: 0; padding: 0; }
.bd-footer li { margin: .3rem 0; font-size: .95rem; }
.bd-footer__h { font-weight: 700; color: #fff; margin-bottom: .5rem; }
.bd-footer__legal { font-size: .85rem; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; }

/* Çerez onayı (sabit çubuğun üstünde) */
.bd-consent-bar { position: fixed; inset-inline: 1rem; bottom: 130px; z-index: 1000; max-width: 560px; margin-inline: auto; background: #fff; color: var(--bd-ink); border: 1px solid var(--bd-line); border-radius: var(--bd-radius); box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 1rem 1.1rem; font-size: .95rem; }
.bd-consent-bar[hidden] { display: none; }
.bd-consent-bar p { margin: 0 0 .7rem; }
.bd-consent-bar__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.bd-consent-bar button { cursor: pointer; border: 0; font: inherit; }
.bd-consent-bar .bd-btn--form { border: 1px solid var(--bd-line); }
@media (min-width: 900px) { .bd-consent-bar { bottom: 90px; } }

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
