/* ==========================================================
   Antoba Redüktör – ana stil
   Yazı tipi: Poppins · Ölçüler bilinçli olarak sade tutuldu.
   ========================================================== */

:root {
	--navy: #00559f;
	--navy-dark: #003f77;
	--teal: #00818a;
	--teal-soft: #e6f3f4;
	--ink: #1d2733;
	--text: #45515e;
	--muted: #6b7682;
	--line: #e2e7ed;
	--bg: #ffffff;
	--bg-alt: #f4f7fa;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px rgba(16, 32, 56, .05), 0 6px 20px rgba(16, 32, 56, .06);
	--container: 1180px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 15px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
	font-family: var(--font);
	color: var(--ink);
	line-height: 1.3;
	margin: 0 0 .6em;
	font-weight: 600;
	letter-spacing: -.01em;
}
h1 { font-size: 1.9rem; }      /* ~28px */
h2 { font-size: 1.45rem; }     /* ~22px */
h3 { font-size: 1.07rem; }     /* ~16px */
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
small { font-size: .85rem; }

.lead { font-size: 1.05rem; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.narrow-left { max-width: 760px; margin-bottom: 28px; }

.screen-reader-text,
.hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

.icon { flex: none; width: 18px; height: 18px; }

/* ---------- Düğmeler ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 20px;
	font: 500 .93rem/1.2 var(--font);
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 16px; font-size: .87rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-soft); color: var(--navy-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .93rem; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
	display: inline-block;
	font-size: .8rem; font-weight: 500;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 8px;
}
.tag {
	display: inline-block;
	font-size: .75rem; font-weight: 500;
	color: var(--teal); background: var(--teal-soft);
	padding: 2px 10px; border-radius: 99px;
	margin-bottom: 8px; align-self: flex-start;
}

/* ---------- Üst bar ve başlık ---------- */
.topbar { background: var(--ink); color: #c8d1db; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #c8d1db; }
.topbar a:hover { color: #fff; }
.topbar-item, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 20px; }
.topbar .icon { width: 14px; height: 14px; opacity: .8; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand img { width: auto; height: 46px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu a {
	display: block; padding: 8px 12px;
	font-size: .93rem; font-weight: 500;
	color: var(--ink); border-radius: 6px;
}
.main-nav .menu a:hover { color: var(--navy); background: var(--bg-alt); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { color: var(--navy); }
.main-nav .sub-menu { display: none; }

.nav-toggle {
	display: none;
	background: none; border: 1px solid var(--line); border-radius: 8px;
	width: 42px; height: 42px; color: var(--ink); cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(900px 400px at 85% 20%, rgba(0,129,138,.10), transparent 60%),
		linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
	border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: 2.1rem; margin-bottom: 16px; }  /* ~32px */
.hero .lead { max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-tile {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	display: flex; align-items: center; justify-content: center;
	padding: 18px; aspect-ratio: 1 / .82;
}
.hero-tile img { max-height: 150px; width: auto; object-fit: contain; }
.hero-tile-2, .hero-tile-4 { transform: translateY(22px); }

/* ---------- Öne çıkanlar ---------- */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); }
.fact strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.fact span { font-size: .84rem; color: var(--muted); }

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }

.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.page-head h1 { margin-bottom: 6px; }
.page-head .lead { margin: 0; max-width: 680px; font-size: 1rem; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Ürün kartları ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d3dbe4; }
.product-media {
	display: flex; align-items: center; justify-content: center;
	height: 220px; padding: 20px; background: #fff;
	border-bottom: 1px solid var(--line);
}
.product-media img { max-height: 170px; width: auto; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body p { font-size: .9rem; color: var(--muted); }
.product-title { font-size: 1.02rem; margin-bottom: 8px; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--navy); }
.product-body .link-arrow { margin-top: auto; }

.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.product-detail-media {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 340px;
}
.product-detail-media img { max-height: 280px; width: auto; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.product-contact { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.product-contact .icon { color: var(--teal); }

/* ---------- İkili blok ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.check-list .icon { color: var(--teal); width: 16px; height: 16px; margin-top: 4px; }

/* ---------- Kataloglar ---------- */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.catalog-card {
	display: flex; align-items: center; gap: 16px;
	padding: 18px 20px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.catalog-card:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--ink); }
.catalog-icon { position: relative; flex: none; width: 46px; height: 46px; border-radius: 10px; background: #fdecec; color: #c62828; display: flex; align-items: center; justify-content: center; }
.catalog-icon .icon { width: 22px; height: 22px; }
.catalog-icon small { position: absolute; bottom: -6px; font-size: .6rem; font-weight: 600; background: #c62828; color: #fff; padding: 0 5px; border-radius: 4px; line-height: 1.5; }
.catalog-text { flex: 1; min-width: 0; }
.catalog-text strong { display: block; font-weight: 500; font-size: .95rem; }
.catalog-text span { display: block; font-size: .84rem; color: var(--muted); }
.catalog-dl { color: var(--muted); }
.catalog-card:hover .catalog-dl { color: var(--navy); }

/* ---------- Çağrı bandı ---------- */
.cta { background: linear-gradient(120deg, var(--navy) 0%, #00668f 55%, var(--teal) 100%); color: #dfeaf5; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.cta p { margin: 0; font-size: .95rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Formlar ---------- */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.form-card, .contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.contact-card { background: var(--bg-alt); position: sticky; top: 100px; }
.card-title { font-size: 1.05rem; margin-bottom: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.form legend { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--ink); }
.form label em, .form-foot em { color: #c62828; font-style: normal; }
.form input, .form select, .form textarea {
	width: 100%;
	font: 400 .93rem/1.5 var(--font);
	color: var(--ink);
	padding: 10px 12px;
	border: 1px solid #d5dce4; border-radius: 8px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,85,159,.12); }
.form > label { margin-bottom: 16px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0 0 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.form-foot small { color: var(--muted); }
.notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: .9rem; }
.notice-success { background: #e8f5ee; color: #1e6b43; border: 1px solid #c7e7d4; }
.notice-error { background: #fdeeee; color: #a12a2a; border: 1px solid #f3cccc; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 12px; font-size: .92rem; color: var(--ink); }
.contact-list .icon { color: var(--teal); margin-top: 3px; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }

.map-wrap { line-height: 0; border-top: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.2); }

/* ---------- Yazı içeriği ---------- */
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.6em; color: var(--navy); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-image { margin: 1.6em 0; }
.entry-content .lead { font-size: 1.08rem; color: var(--ink); }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.post-list { display: grid; gap: 28px; }
.post-item { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-title { font-size: 1.15rem; margin-bottom: 4px; }
.post-date { font-size: .82rem; color: var(--muted); display: block; margin-bottom: 8px; }
.single-thumb { border-radius: var(--radius-lg); margin-bottom: 28px; }
.pagination .nav-links { display: flex; gap: 6px; margin-top: 32px; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Alt bölüm ---------- */
.site-footer { background: #121a23; color: #9aa6b2; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.4fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 8px; height: auto; width: 170px; margin-bottom: 16px; }
.footer-title { color: #fff; font-size: .9rem; font-weight: 500; margin-bottom: 16px; }
.footer-menu, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #b9c3cd; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--teal); filter: brightness(1.5); }
.footer-bottom { border-top: 1px solid #222d39; font-size: .8rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.main-nav { gap: 16px; }
	.main-nav .menu a { padding: 8px 9px; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 12px 24px 20px; box-shadow: 0 12px 24px rgba(16,32,56,.08);
	}
	.nav-open .main-nav { display: flex; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.header-cta { justify-content: center; }
	.site-header { position: sticky; }

	.hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 56px; }
	.hero-visual { max-width: 520px; }
	.facts-grid { grid-template-columns: 1fr 1fr; }
	.fact { border-left: 0; padding-left: 0; }
	.product-grid { grid-template-columns: 1fr 1fr; }
	.split, .product-detail, .form-layout { grid-template-columns: 1fr; gap: 32px; }
	.contact-card { position: static; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	html { font-size: 14.5px; }
	.container { padding: 0 16px; }
	.topbar-item { display: none; }
	.topbar-inner { justify-content: center; }
	.topbar-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
	.header-inner { min-height: 64px; }
	.brand img { height: 38px; }
	h1, .hero h1 { font-size: 1.6rem; }
	h2 { font-size: 1.25rem; }
	.section { padding: 52px 0; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.hero-tile { padding: 12px; }
	.hero-tile img { max-height: 110px; }
	.product-media { height: 180px; }
	.product-media img { max-height: 140px; }
	.product-grid, .catalog-grid, .form-grid, .check-list, .footer-grid { grid-template-columns: 1fr; }
	.facts-grid { grid-template-columns: 1fr 1fr; gap: 0 12px; }
	.fact { padding: 18px 0; gap: 10px; }
	.form-card, .contact-card { padding: 22px; }
	.footer-bottom .container { flex-direction: column; }
}

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