/*
Theme Name: Kuzey Hurdacılık
Theme URI: https://www.kuzeyhurdacilik.com.tr/
Description: Kuzey Hurdacılık için Hello Elementor alt teması. Mergen Ajans tarafından hazırlanmıştır.
Author: Mergen Ajans
Template: hello-elementor
Version: 1.0.0
Text Domain: kuzey-hurdacilik
*/

:root {
	--kh-green: #6cbb2f;
	--kh-green-dark: #3f7f2a;
	--kh-deep: #163019;
	--kh-blue: #2b7bb9;
	--kh-bg: #f3f8ee;
	--kh-text: #1f2a21;
	--kh-muted: #56645a;
	--kh-line: #dfe8d8;
	--kh-radius: 14px;
	--kh-shadow: 0 10px 30px rgba(22, 48, 25, .08);
	--kh-font-head: "Ubuntu", "Segoe UI", system-ui, sans-serif;
	--kh-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
	font-family: var(--kh-font);
	color: var(--kh-text);
	font-size: 17px;
	line-height: 1.7;
	background: #fff;
}
h1, h2, h3, h4 { font-family: var(--kh-font-head); color: var(--kh-deep); line-height: 1.25; font-weight: 700; margin: 0 0 .6em; }
a { color: var(--kh-green-dark); }
a:hover, a:focus { color: var(--kh-deep); }
img { max-width: 100%; height: auto; }

.kh-wrap { width: min(1180px, 92%); margin: 0 auto; }
.kh-narrow { width: min(820px, 92%); }

/* Varsayılan olarak başlıklar ortalı */
.kh-main h1, .kh-main h2, .kh-eyebrow { text-align: center; }

/* ---------- Header ---------- */
.kh-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.admin-bar .kh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .kh-header { top: 0; } }
.kh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.kh-logo img { display: block; height: 58px; width: auto; }
.kh-nav ul { list-style: none; margin: 0; padding: 0; }
.kh-nav > ul { display: flex; align-items: center; gap: 6px; }
.kh-nav li { position: relative; }
.kh-nav a { display: block; padding: 10px 14px; color: var(--kh-deep); text-decoration: none; font-weight: 600; font-family: var(--kh-font-head); border-radius: 8px; }
.kh-nav a:hover, .kh-nav .current-menu-item > a, .kh-nav .current-menu-ancestor > a { color: var(--kh-green-dark); background: var(--kh-bg); }
.kh-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.kh-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-radius: 12px; box-shadow: var(--kh-shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border-top: 3px solid var(--kh-green); }
.kh-nav li:hover > .sub-menu, .kh-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kh-nav .sub-menu a { font-weight: 500; padding: 9px 12px; }
.kh-header__cta { white-space: nowrap; }

/* Hamburger: tıklanınca pembe olmasın, logo yeşili kullanılsın */
.kh-burger,
.kh-burger:hover,
.kh-burger:focus,
.kh-burger:active,
.kh-burger[aria-expanded="true"] {
	display: none; width: 48px; height: 48px; border: 0; border-radius: 10px; padding: 0;
	background: var(--kh-green-dark) !important; color: #fff !important; box-shadow: none; outline: none; cursor: pointer;
}
.kh-burger:focus-visible { outline: 3px solid var(--kh-green) !important; outline-offset: 2px; }
.kh-burger span, .kh-burger span::before, .kh-burger span::after { display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; position: relative; transition: .2s; content: ""; }
.kh-burger span::before { position: absolute; top: -7px; }
.kh-burger span::after { position: absolute; top: 7px; }
.kh-burger[aria-expanded="true"] span { background: transparent; }
.kh-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.kh-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.kh-subtoggle, .kh-subtoggle:hover, .kh-subtoggle:focus, .kh-subtoggle:active { display: none; background: transparent !important; color: var(--kh-deep) !important; border: 0; box-shadow: none; }

@media (max-width: 1080px) {
	.kh-header__inner { min-height: 70px; }
	.kh-logo img { height: 46px; }
	.kh-burger, .kh-burger:hover, .kh-burger:focus, .kh-burger:active, .kh-burger[aria-expanded="true"] { display: block; }
	.kh-header__cta { display: none; }
	.kh-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none; max-height: calc(100vh - 70px); overflow-y: auto; }
	.kh-nav.is-open { display: block; }
	.kh-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 4%; }
	.kh-nav li { border-bottom: 1px solid var(--kh-line); }
	.kh-nav a { padding: 14px 6px; }
	.kh-nav .menu-item-has-children > a::after { display: none; }
	.kh-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 8px 14px; min-width: 0; }
	.kh-nav li.is-open > .sub-menu { display: block; }
	.kh-nav .sub-menu li { border: 0; }
	.kh-subtoggle, .kh-subtoggle:hover, .kh-subtoggle:focus, .kh-subtoggle:active { display: block; position: absolute; right: 0; top: 4px; width: 46px; height: 46px; font-size: 22px; line-height: 1; cursor: pointer; }
	.kh-nav li.is-open > .kh-subtoggle { transform: rotate(180deg); }
}

/* ---------- Buttons ---------- */
.kh-btn, a.kh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 999px; font-weight: 700; font-family: var(--kh-font-head);
	background: var(--kh-green); color: #fff; text-decoration: none; transition: .2s; border: 2px solid var(--kh-green);
}
.kh-btn:hover, .kh-btn:focus { background: var(--kh-green-dark); border-color: var(--kh-green-dark); color: #fff; }
.kh-btn--light, a.kh-btn--light { background: #fff; color: var(--kh-deep); border-color: #fff; }
.kh-btn--light:hover, .kh-btn--light:focus { background: var(--kh-bg); color: var(--kh-deep); border-color: var(--kh-bg); }
.kh-btn--ghost, a.kh-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.kh-btn--ghost:hover, .kh-btn--ghost:focus { background: #fff; color: var(--kh-deep); }
.kh-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }

/* ---------- Breadcrumb ---------- */
.kh-breadcrumb { background: var(--kh-deep); color: rgba(255,255,255,.75); font-size: 14px; padding: 10px 0; }
.kh-breadcrumb a { color: #fff; text-decoration: none; }
.kh-breadcrumb a:hover { color: var(--kh-green); }
.kh-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.kh-breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .6; }

/* ---------- Hero ---------- */
.kh-hero {
	position: relative; overflow: hidden; color: #fff; text-align: center;
	padding: 90px 0 80px;
	background:
		radial-gradient(circle at 85% 20%, rgba(108,187,47,.45), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(43,123,185,.35), transparent 45%),
		linear-gradient(135deg, var(--kh-deep) 0%, #24512a 60%, var(--kh-green-dark) 100%);
}
.kh-hero::after {
	content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
	border: 34px solid rgba(255,255,255,.06);
}
.kh-hero--home { padding: 120px 0 110px; }
.kh-main .kh-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); max-width: 900px; margin: 0 auto 18px; }
.kh-hero .kh-eyebrow { color: #b9ec8f; }
.kh-lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 780px; margin: 0 auto; color: rgba(255,255,255,.9); }

/* ---------- Sections ---------- */
.kh-section { padding: 80px 0; }
.kh-section--alt { background: var(--kh-bg); }
.kh-section--tight { padding: 0; margin-top: -46px; position: relative; z-index: 2; }
.kh-eyebrow { display: block; font-family: var(--kh-font-head); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--kh-green-dark); margin: 0 0 10px; }
.kh-main h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.kh-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; color: var(--kh-muted); }
.kh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.kh-areas { text-align: center; margin: 36px auto 0; max-width: 860px; color: var(--kh-muted); }

/* Badges */
.kh-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kh-badges li { background: #fff; border-radius: var(--kh-radius); box-shadow: var(--kh-shadow); padding: 24px 18px; text-align: center; border-bottom: 4px solid var(--kh-green); }
.kh-badges strong { display: block; font-family: var(--kh-font-head); font-size: 22px; color: var(--kh-deep); }
.kh-badges span { color: var(--kh-muted); font-size: 15px; }
.kh-badges--stack { grid-template-columns: 1fr 1fr; }

/* Cards */
.kh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kh-grid--4 { grid-template-columns: repeat(4, 1fr); }
.kh-card, .kh-mini {
	background: #fff; border: 1px solid var(--kh-line); border-radius: var(--kh-radius); padding: 28px 26px;
	transition: .25s; position: relative;
}
.kh-card::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--kh-green); margin-bottom: 18px; }
.kh-card:hover { box-shadow: var(--kh-shadow); transform: translateY(-3px); border-color: transparent; }
.kh-card h3, .kh-mini h3 { font-size: 20px; margin-bottom: 10px; }
.kh-card h3 a { color: var(--kh-deep); text-decoration: none; }
.kh-card h3 a:hover { color: var(--kh-green-dark); }
.kh-card p, .kh-mini p { color: var(--kh-muted); margin: 0 0 14px; font-size: 16px; }
.kh-card > a { font-weight: 700; text-decoration: none; }
.kh-section--alt .kh-card, .kh-section--alt .kh-mini { border-color: transparent; }

/* Check list */
.kh-check { list-style: none; margin: 0 0 20px; padding: 0; }
.kh-check li { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px dashed var(--kh-line); }
.kh-check li::before {
	content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--kh-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Steps */
.kh-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.kh-steps li { background: #fff; border-radius: var(--kh-radius); padding: 30px 24px 24px; position: relative; counter-increment: s; box-shadow: var(--kh-shadow); }
.kh-steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--kh-green); color: #fff; font-family: var(--kh-font-head); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.kh-steps h3 { font-size: 19px; }
.kh-steps p { margin: 0; color: var(--kh-muted); font-size: 16px; }

/* FAQ */
.kh-faq { margin-top: 26px; }
.kh-faq details { background: #fff; border: 1px solid var(--kh-line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.kh-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-family: var(--kh-font-head); color: var(--kh-deep); position: relative; }
.kh-faq summary::-webkit-details-marker { display: none; }
.kh-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--kh-green-dark); }
.kh-faq details[open] summary::after { content: "–"; }
.kh-faq details > div { padding: 0 22px 16px; color: var(--kh-muted); }
.kh-faq p { margin: 0 0 8px; }

/* Contact */
.kh-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; }
.kh-contact__item { background: var(--kh-bg); border-radius: var(--kh-radius); padding: 24px 26px; margin-bottom: 18px; text-align: center; }
.kh-main .kh-contact__item h2 { font-size: 20px; margin-bottom: 6px; }
.kh-contact__item p, .kh-contact__item address { margin: 0 0 8px; font-style: normal; }
.kh-contact__item a[href^="tel"] { font-size: 24px; font-weight: 700; text-decoration: none; font-family: var(--kh-font-head); }
.kh-contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; border-radius: var(--kh-radius); display: block; }

/* CTA band */
.kh-cta { background: linear-gradient(120deg, var(--kh-green-dark), var(--kh-green)); color: #fff; padding: 60px 0; text-align: center; }
.kh-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; text-align: center; }
.kh-cta p { margin: 0 auto; max-width: 680px; color: rgba(255,255,255,.92); }

/* ---------- Blog ---------- */
.kh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kh-post { background: #fff; border: 1px solid var(--kh-line); border-radius: var(--kh-radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.kh-post:hover { box-shadow: var(--kh-shadow); transform: translateY(-3px); }
.kh-post__img { display: block; aspect-ratio: 16/10; background: var(--kh-bg); overflow: hidden; }
.kh-post__img img { width: 100%; height: 100%; object-fit: cover; }
.kh-post__img--empty { display: flex; align-items: center; justify-content: center; }
.kh-post__img--empty img { width: 40%; height: auto; object-fit: contain; opacity: .5; }
.kh-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.kh-post__date { font-size: 14px; color: var(--kh-muted); margin-bottom: 6px; }
.kh-post h2.kh-post__title { font-size: 21px; text-align: left; margin-bottom: 10px; }
.kh-post__title a { color: var(--kh-deep); text-decoration: none; }
.kh-post__title a:hover { color: var(--kh-green-dark); }
.kh-post__excerpt { color: var(--kh-muted); font-size: 16px; flex: 1; }
.kh-post__more { font-weight: 700; text-decoration: none; margin-top: 10px; }
.kh-empty { text-align: center; color: var(--kh-muted); }
.kh-pagination { margin-top: 40px; text-align: center; }
.kh-pagination .page-numbers { display: inline-block; min-width: 42px; padding: 8px 12px; margin: 3px; border-radius: 8px; background: var(--kh-bg); text-decoration: none; color: var(--kh-deep); }
.kh-pagination .current { background: var(--kh-green); color: #fff; }

.kh-article { font-size: 18px; }
.kh-article h2 { text-align: left; font-size: 28px; margin-top: 1.6em; }
.kh-article h3 { font-size: 22px; margin-top: 1.4em; }
.kh-article img { border-radius: 12px; }
.kh-article__thumb { margin: 0 0 30px; }
.kh-article__thumb img { width: 100%; border-radius: var(--kh-radius); }
.kh-hero .kh-post__date { color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.kh-footer { background: var(--kh-deep); color: rgba(255,255,255,.78); padding: 70px 0 0; font-size: 16px; }
.kh-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.kh-footer__logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }
.kh-footer__logo img { height: 46px; width: auto; display: block; }
.kh-footer h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.kh-footer ul { list-style: none; margin: 0; padding: 0; }
.kh-footer li { margin-bottom: 8px; }
.kh-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.kh-footer a:hover { color: var(--kh-green); }
.kh-footer address { font-style: normal; }
.kh-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 20px 0; text-align: center; font-size: 14px; }

/* Sabit iletişim butonları */
.kh-float { position: fixed; right: 18px; bottom: 18px; z-index: 99; display: flex; flex-direction: column; gap: 12px; }
.kh-float a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: .2s; }
.kh-float a:hover { transform: scale(1.07); }
.kh-float__wa { background: #25d366; }
.kh-float__tel { background: var(--kh-green-dark); }
.kh-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.kh-grid, .kh-posts { grid-template-columns: repeat(2, 1fr); }
	.kh-grid--4, .kh-steps { grid-template-columns: repeat(2, 1fr); }
	.kh-badges { grid-template-columns: repeat(2, 1fr); }
	.kh-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.kh-section { padding: 56px 0; }
	.kh-hero { padding: 64px 0 60px; }
	.kh-hero--home { padding: 80px 0 90px; }
	.kh-two, .kh-contact { grid-template-columns: 1fr; gap: 30px; }
	.kh-grid, .kh-grid--4, .kh-steps, .kh-posts { grid-template-columns: 1fr; }
	.kh-badges, .kh-badges--stack { grid-template-columns: 1fr 1fr; gap: 10px; }
	.kh-badges li { padding: 18px 10px; }
	.kh-badges strong { font-size: 18px; }
	.kh-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.kh-actions .kh-btn { width: 100%; }
	.kh-contact__map iframe { min-height: 340px; }
}

/* Hello Elementor'un .site-main genişlik sınırlamasını kaldır */
.kh-main { width: 100%; max-width: none; margin: 0; padding: 0; }
