/*
Theme Name: FixTekno
Theme URI: https://fixtekno.com
Author: FixTekno
Description: Teknoloji blogu ve teknik servis talebi sistemi için WordPress teması. Servis talebi formu, takip kodu ile durum sorgulama ve yönetim paneli desteği içerir.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
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: fixtekno
*/

:root {
	--navy-900: #030814;
	--navy-800: #06101f;
	--navy-700: #0a1a33;
	--blue: #0a84ff;
	--blue-600: #0070e0;
	--blue-300: #4aa8ff;
	--ink: #0b1730;
	--muted: #64748b;
	--line: #e4e9f1;
	--soft: #f4f7fb;
	--radius: 12px;
	--shadow: 0 6px 24px rgba(10, 26, 51, .08);
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px;
	background: #fff; color: var(--ink); z-index: 1000; top: 8px; left: 8px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 10px; border: 1.5px solid transparent;
	font: 600 14px/1.2 var(--font); cursor: pointer; text-decoration: none !important;
	transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-pill { border-radius: 999px; padding: 10px 22px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); color: #fff; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { font-size: 26px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.brand-text em { font-style: italic; font-weight: 700; }
.custom-logo { max-height: 46px; width: auto; }

.primary-nav { flex: 1; }
.primary-nav .menu, .footer-menu, .contact-list, .social { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; gap: 28px; }
.primary-nav a { color: #e6eefc; font-size: 14px; font-weight: 500; padding: 8px 0; display: inline-block; }
.primary-nav a:hover { color: var(--blue-300); text-decoration: none; }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--blue); }
.primary-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 18px;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.header-search { background: var(--navy-800); padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 420px at 78% 45%, rgba(10, 132, 255, .3), transparent 60%),
		linear-gradient(180deg, #030814, #061226);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(74, 168, 255, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(74, 168, 255, .07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
	mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}
.hero-inner {
	position: relative; display: grid; grid-template-columns: 1.05fr 1fr;
	align-items: center; gap: 40px; padding: 70px 0 64px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 20px; }
.hero h1 .line { display: block; }
.accent { color: var(--blue); }
.lead { color: #c9d6ee; font-size: 17px; max-width: 540px; margin: 0 0 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art img { display: block; width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }

/* ---------- Features ---------- */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature {
	display: flex; align-items: center; gap: 14px; padding: 34px 20px;
	color: var(--ink); border-left: 1px solid var(--line);
}
.feature:first-child { border-left: 0; padding-left: 0; }
.feature:hover { text-decoration: none; background: var(--soft); }
.feature__icon { color: var(--blue); font-size: 34px; display: grid; }
.feature__text strong { display: block; font-size: 14px; }
.feature__text small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; margin-top: 2px; }

/* ---------- Service ---------- */
.service { position: relative; overflow: hidden; color: #fff; background: var(--navy-800); }
.service::before { content: ""; position: absolute; inset: 0; background: var(--service-img, none) center / cover no-repeat; }
.service::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, #06101f 0%, rgba(6, 16, 31, .92) 38%, rgba(6, 16, 31, .4) 100%);
}
.service--pattern::before {
	background-image:
		radial-gradient(circle at 82% 50%, rgba(10, 132, 255, .35), transparent 45%),
		linear-gradient(rgba(74, 168, 255, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(74, 168, 255, .08) 1px, transparent 1px);
	background-size: auto, 32px 32px, 32px 32px;
}
.service-inner {
	position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr;
	gap: 48px; align-items: center; padding: 76px 0;
}
.service-kicker { color: var(--blue-300); font-weight: 600; margin: 0 0 8px; }
.service h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 16px; }
.service-copy p:not(.service-kicker) { color: #c9d6ee; max-width: 460px; margin: 0 0 24px; }
.service-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 420px; }
.service-steps li { display: flex; align-items: center; gap: 16px; }
.step-icon {
	display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(6, 16, 31, .6); font-size: 22px;
}
.step-text strong { display: block; font-size: 15px; }
.step-text small { display: block; color: #b9c8e3; font-size: 13px; }

/* ---------- Blog ---------- */
.latest { padding: 64px 0 72px; background: #fff; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: 26px; font-weight: 800; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post-grid--three { grid-template-columns: repeat(3, 1fr); }
.post-grid--archive { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.post-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s;
}
.post-card:hover { border-color: #c9d8f0; box-shadow: 0 10px 30px rgba(10, 26, 51, .12); }
.post-card__media { position: relative; }
.post-card__thumb {
	display: block; aspect-ratio: 16 / 10; overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(135deg, #0a1a33, #0a4fa8);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-ph { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .55); font-size: 46px; }
.chip {
	position: absolute; left: 12px; bottom: -12px; padding: 3px 11px; border-radius: 8px;
	background: #dbeafe; color: #1b66c9; font-size: 12px; font-weight: 600; text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(10, 26, 51, .12);
}
.chip:hover { background: #c7defc; }
.post-card__body { padding: 26px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { margin: 0 0 18px; font-size: 15px; line-height: 1.4; flex: 1; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--blue-600); text-decoration: none; }
.post-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.read-time { display: inline-flex; align-items: center; gap: 5px; }
.read-time .ico { width: 13px; height: 13px; }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- CTA ---------- */
.cta { color: #fff; background: linear-gradient(100deg, #0a2a63, #0b1f45 60%, #071634); overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .9fr .7fr; gap: 28px; align-items: center; padding: 38px 0; }
.cta h2 { margin: 0 0 8px; font-size: 26px; }
.cta p { margin: 0 0 18px; color: #c4d3ee; font-size: 14px; max-width: 520px; }
.cta-art img { display: block; max-width: 280px; margin: 0 auto; }
.cta-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cta-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.cta-points .ico { font-size: 22px; color: #cfe3ff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c8e3; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding: 44px 0 38px; }
.footer-brand p { margin: 12px 0 18px; }
.social { display: flex; gap: 14px; }
.social a { color: #fff; font-size: 18px; display: grid; }
.social a:hover { color: var(--blue-300); }
.site-footer h2 { margin: 0 0 14px; font-size: 14px; color: #fff; }
.footer-menu { display: grid; gap: 8px; }
.footer-menu a, .contact-list a { color: #b9c8e3; }
.footer-menu a:hover, .contact-list a:hover { color: #fff; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ico { color: var(--blue-300); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; }
.footer-bottom p { margin: 0; }
.legal { display: flex; gap: 18px; }
.legal a { color: #b9c8e3; }

/* ---------- Inner pages ---------- */
.page-hero { color: #fff; padding: 56px 0 46px; background: radial-gradient(700px 300px at 85% 30%, rgba(10, 132, 255, .28), transparent 60%), linear-gradient(180deg, #030814, #071530); }
.page-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; max-width: 860px; }
.page-hero__extra { margin-top: 14px; color: #c9d6ee; font-size: 16px; max-width: 640px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; }
.chip--inline { position: static; display: inline-block; }
.page-body { padding: 48px 0 72px; }
.archive-wrap { padding: 36px 0 72px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pill { padding: 7px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; }
.pill:hover { text-decoration: none; border-color: var(--blue); }
.pill.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.single-post { padding-top: 40px; }
.single-post__image { margin: 0 0 32px; }
.single-post__image img { width: 100%; border-radius: var(--radius); }
.entry-content { font-size: 17px; line-height: 1.75; max-width: 70ch; }
.page-content .entry-content { max-width: none; }
.entry-content h2 { font-size: 26px; margin: 2em 0 .6em; }
.entry-content h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); color: #334155; }
.entry-content pre { background: var(--navy-800); color: #e2ecff; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.entry-content code { background: #eef3fb; padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--soft); }
.tag-list a { display: inline-block; margin: 0 8px 8px 0; padding: 4px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--ink); }
.support-box {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin: 40px 0; padding: 26px 28px; border-radius: var(--radius);
	background: linear-gradient(100deg, #0a2a63, #0b1f45); color: #fff;
}
.support-box h2 { margin: 0 0 4px; font-size: 20px; }
.support-box p { margin: 0; color: #c4d3ee; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 32px 0; }
.post-navigation a { font-weight: 600; }
.related { background: var(--soft); padding-top: 48px; }

.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 14px; }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
a.page-numbers:hover { text-decoration: none; border-color: var(--blue); }

.search-form { display: flex; gap: 10px; max-width: 560px; }
.search-field { flex: 1; padding: 12px 16px; border-radius: 10px; border: 1.5px solid #d5dcea; font: 15px var(--font); }
.header-search .search-field { background: #0b1a33; border-color: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 48px; }
.comments-title, .comment-reply-title { font-size: 22px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-size: 12px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid #d5dcea; border-radius: 10px; font: 15px var(--font);
}

/* ---------- Servis talebi formu ---------- */
.fx-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 30px; margin-bottom: 28px; }
.fx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.fx-field--full { grid-column: 1 / -1; }
.fx-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.fx-field input[type="text"], .fx-field input[type="email"], .fx-field input[type="tel"], .fx-field select, .fx-field textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid #d5dcea; border-radius: 10px;
	font: 15px var(--font); color: var(--ink); background: #fff;
}
.fx-field input:focus, .fx-field select:focus, .fx-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 132, 255, .18); }
.fx-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: #334155; }
.fx-check input { margin-top: 4px; }
.fx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fx-notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; }
.fx-notice ul { margin: 8px 0 0; padding-left: 20px; }
.fx-notice p { margin: 6px 0 0; }
.fx-notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.fx-notice--info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; margin: 24px 0 0; }
.fx-success { text-align: center; padding: 44px 30px; }
.fx-success h2 { margin: 12px 0 6px; font-size: 26px; }
.fx-success__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 30px; }
.fx-code { display: inline-block; margin: 6px 0 18px; padding: 12px 28px; border-radius: 12px; background: var(--navy-800); color: #fff; font: 700 28px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.fx-badge { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--c, #64748b); color: #fff; font-size: 13px; font-weight: 600; }
.fx-result__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fx-result__label { margin: 0; font-size: 12px; color: var(--muted); }
.fx-result__code { margin: 0; font: 700 24px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.fx-result__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.fx-result__list dt { font-size: 12px; color: var(--muted); }
.fx-result__list dd { margin: 2px 0 0; font-weight: 600; }
.fx-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; }
.fx-steps li { flex: 1; text-align: center; position: relative; font-size: 13px; color: var(--muted); }
.fx-steps li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.fx-steps li:first-child::before { display: none; }
.fx-steps li.is-done::before, .fx-steps li.is-current::before { background: var(--blue); }
.fx-steps__dot { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: #fff; font-size: 14px; }
.fx-steps .is-done .fx-steps__dot { background: var(--blue); border-color: var(--blue); }
.fx-steps .is-current .fx-steps__dot { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 132, 255, .2); }
.fx-steps .is-done, .fx-steps .is-current { color: var(--ink); font-weight: 600; }
.fx-steps__label { display: block; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.post-grid--archive, .post-grid--three { grid-template-columns: repeat(2, 1fr); }
	.features-grid { grid-template-columns: repeat(3, 1fr); }
	.feature:nth-child(4) { border-left: 0; padding-left: 0; }
	.cta-inner { grid-template-columns: 1fr 1fr; }
	.cta-art { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.header-inner { gap: 14px; }
	.nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: auto; background: none; border: 0; cursor: pointer; order: 3; }
	.header-actions { margin-left: 0; order: 2; }
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; }
	.nav-toggle__bars::before { position: absolute; top: -7px; }
	.nav-toggle__bars::after { position: absolute; top: 7px; }
	.primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-900); padding: 8px 20px 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav a { display: block; padding: 12px 0; }
	.hero-inner, .service-inner { grid-template-columns: 1fr; }
	.hero-inner { padding: 48px 0 40px; }
	.hero-art { order: -1; }
	.hero-art img { max-width: 420px; margin: 0 auto; }
	.service-inner { padding: 52px 0; }
	.service::after { background: linear-gradient(180deg, rgba(6, 16, 31, .9), rgba(6, 16, 31, .75)); }
}
@media (max-width: 640px) {
	.features-grid { grid-template-columns: 1fr 1fr; }
	.feature, .feature:first-child { padding: 22px 12px; border-left: 0; border-bottom: 1px solid var(--line); }
	.post-grid, .post-grid--archive, .post-grid--three { grid-template-columns: 1fr; }
	.cta-inner, .footer-grid { grid-template-columns: 1fr; }
	.footer-bottom__inner { flex-direction: column; }
	.fx-form { grid-template-columns: 1fr; }
	.fx-card { padding: 22px 18px; }
	.header-actions .btn { display: none; }
	.fx-steps__label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
