/*
Theme Name: Şantiye
Theme URI: https://example.com/santiye
Author: Şantiye Tema
Author URI: https://example.com
Description: İnşaat, müteahhitlik ve yapı firmaları için modern, hızlı ve sade WordPress teması. Beton grisi, çelik mavisi ve iş güvenliği sarısı üzerine kurulu; proje portföyü, hizmetler, rakamlar, çalışma süreci ve teklif formu hazır gelir. Tüm içerik Görünüm > Özelleştir bölümünden düzenlenir.
Version: 1.0.0
Requires at least: 6.0
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: santiye
Tags: business, construction, custom-logo, custom-menu, featured-images, one-column, translation-ready, threaded-comments, wide-blocks
*/

/* ==========================================================================
   1. Değişkenler
   ========================================================================== */
:root {
	--concrete: #e6e6e0;
	--paper: #f4f4f0;
	--white: #ffffff;
	--steel: #1f2c38;
	--steel-2: #2b3b49;
	--muted: #4a5966;
	--line: #c9cbc4;
	--hivis: #f5c400;
	--hivis-deep: #d9a900;

	--font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
	--font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gut: clamp(1.25rem, 4vw, 2.5rem);
	--header-h: 76px;
}

/* ==========================================================================
   2. Temel
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--steel);
	font: 400 1.0625rem/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

img,
video {
	max-width: 100%;
	height: auto;
}

svg {
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
}

h1,
h2 {
	font-stretch: 118%;
}

h3,
h4 {
	font-stretch: 108%;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

:focus-visible {
	outline: 3px solid var(--steel);
	outline-offset: 3px;
}

.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 {
	z-index: 100;
	top: 0.5rem;
	left: 0.5rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--hivis);
	color: var(--steel);
	font-weight: 600;
}

.wrap {
	width: min(100% - 2 * var(--gut), var(--wrap));
	margin-inline: auto;
}

.wrap--narrow {
	width: min(100% - 2 * var(--gut), 800px);
}

.section {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.section--concrete {
	background: var(--concrete);
}

.section--white {
	background: var(--white);
}

.section-head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 1.5rem clamp(2rem, 6vw, 5rem);
	align-items: end;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head h2 {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	line-height: 1.05;
}

.section-head p {
	margin: 0;
	max-width: 48ch;
	color: var(--muted);
}

.section-more {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2.5rem 0 0;
}

/* ==========================================================================
   3. Düğmeler
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1.6rem;
	border: 2px solid var(--steel);
	background: transparent;
	color: var(--steel);
	font: 600 1rem/1.2 var(--font-head);
	font-stretch: 110%;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
	background: var(--steel);
	color: var(--white);
}

.btn--primary {
	border-color: var(--hivis);
	background: var(--hivis);
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.btn--primary:hover {
	border-color: var(--steel);
	background: var(--steel);
	color: var(--white);
}

.btn--dark {
	border-color: var(--steel);
	background: var(--steel);
	color: var(--white);
}

.btn--dark:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--steel);
}

.btn--sm {
	padding: 0.7rem 1.2rem;
	font-size: 0.9375rem;
}

/* ==========================================================================
   4. Üst bilgi çubuğu ve başlık
   ========================================================================== */
.topbar {
	background: var(--steel);
	color: #d3dae0;
	font-size: 0.875rem;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.55rem;
}

.topbar p {
	margin: 0;
}

.topbar__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
}

.topbar a {
	text-decoration: none;
}

.topbar a:hover {
	color: var(--hivis);
}

.topbar :focus-visible {
	outline-color: var(--hivis);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	transition: box-shadow 0.2s;
}

.admin-bar .site-header {
	top: 32px;
}

.site-header.is-stuck {
	box-shadow: 0 6px 20px rgba(31, 44, 56, 0.12);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: var(--header-h);
}

.brand {
	margin-right: auto;
}

.brand__link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.brand__mark {
	flex: none;
}

.brand__name {
	font: 800 1.2rem/1 var(--font-head);
	font-stretch: 118%;
	letter-spacing: -0.01em;
}

.brand .custom-logo {
	display: block;
	width: auto;
	max-height: 52px;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
}

.primary-nav a {
	position: relative;
	display: block;
	padding-block: 0.4rem;
	font-weight: 500;
	text-decoration: none;
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	background: var(--hivis);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
	transform: scaleX(1);
}

/* Alt menü */
.primary-nav .menu-item-has-children {
	position: relative;
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	z-index: 10;
	display: none;
	min-width: 220px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line);
	border-top: 3px solid var(--hivis);
	background: var(--paper);
	list-style: none;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.primary-nav .sub-menu a {
	padding-block: 0.55rem;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--steel);
	background: transparent;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--steel);
}

.nav-toggle__bars {
	position: relative;
	margin-inline: auto;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -7px;
}

.nav-toggle__bars::after {
	top: 7px;
}

/* ==========================================================================
   5. Giriş alanı
   ========================================================================== */
.hero {
	overflow: hidden;
	background-color: var(--concrete);
	background-image:
		linear-gradient(rgba(31, 44, 56, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(31, 44, 56, 0.06) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: -1px -1px;
	border-bottom: 1px solid var(--line);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	padding-block: clamp(3rem, 7vw, 6rem);
}

.hero h1 {
	margin-bottom: 1.5rem;
	font-size: clamp(2.4rem, 5vw, 4.3rem);
	font-stretch: 125%;
	line-height: 1.02;
	letter-spacing: -0.02em;
	hyphens: auto;
}

.hero__text {
	max-width: 46ch;
	margin-bottom: 2.25rem;
	color: var(--muted);
	font-size: 1.1875rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero__frame {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin-left: auto;
	padding: 0 3rem 3rem 0;
}

.hero__art {
	position: relative;
	aspect-ratio: 5 / 6;
	overflow: hidden;
	border: 1px solid var(--steel);
	background: var(--paper);
}

.hero__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.art-lines path {
	fill: none;
	stroke: var(--steel);
	stroke-width: 1.75;
	stroke-linecap: square;
}

.art-windows .win {
	fill: var(--concrete);
	stroke: var(--steel);
	stroke-width: 1.25;
}

.art-fills .fill-hv {
	fill: var(--hivis);
	stroke: var(--steel);
	stroke-width: 1.75;
}

/* Ölçü çizgileri */
.dim {
	position: absolute;
	background: var(--steel);
}

.dim::before,
.dim::after {
	content: "";
	position: absolute;
	background: var(--steel);
}

.dim--v {
	top: 0;
	right: 1.25rem;
	bottom: 3rem;
	width: 1px;
}

.dim--v::before,
.dim--v::after {
	left: -6px;
	width: 13px;
	height: 1px;
}

.dim--v::before {
	top: 0;
}

.dim--v::after {
	bottom: 0;
}

.dim--h {
	bottom: 1.25rem;
	left: 0;
	right: 3rem;
	height: 1px;
}

.dim--h::before,
.dim--h::after {
	top: -6px;
	width: 1px;
	height: 13px;
}

.dim--h::before {
	left: 0;
}

.dim--h::after {
	right: 0;
}

.dim-label {
	position: absolute;
	padding: 0.15rem 0.5rem;
	background: var(--hivis);
	font: 600 0.8125rem/1.2 var(--font-body);
	white-space: nowrap;
}

.dim-label--v {
	top: calc(50% - 1.5rem);
	right: 0.45rem;
	writing-mode: vertical-rl;
	transform: translateY(-50%) rotate(180deg);
	padding: 0.5rem 0.15rem;
}

.dim-label--h {
	bottom: 0.55rem;
	left: calc(50% - 1.5rem);
	transform: translateX(-50%);
}

/* Açılışta bir kez oynayan çizim: hareket tercihi kapalıysa hiçbir şey saklanmaz. */
@keyframes santiye-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes santiye-fade {
	from {
		opacity: 0;
	}
}

@keyframes santiye-grow-y {
	from {
		transform: scaleY(0);
	}
}

@keyframes santiye-grow-x {
	from {
		transform: scaleX(0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.draw {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
		animation: santiye-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
		animation-delay: var(--d, 0s);
	}

	.art-windows,
	.art-fills {
		animation: santiye-fade 0.6s ease 1.9s backwards;
	}

	.dim--v {
		transform-origin: top;
		animation: santiye-grow-y 1.1s ease-out 0.6s backwards;
	}

	.dim--h {
		transform-origin: left;
		animation: santiye-grow-x 1.1s ease-out 0.9s backwards;
	}

	.dim-label {
		animation: santiye-fade 0.4s ease 1.7s backwards;
	}
}

/* ==========================================================================
   6. Hizmetler
   ========================================================================== */
.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	border: 1px solid var(--line);
	background: var(--line);
}

.service {
	position: relative;
	padding: 2.25rem 2rem 2.5rem;
	background: var(--paper);
	transition: background-color 0.2s;
}

.service::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 0;
	background: var(--hivis);
	transition: height 0.25s;
}

.service:hover {
	background: var(--white);
}

.service:hover::before {
	height: 100%;
}

.service .icon {
	display: block;
	margin-bottom: 1.5rem;
}

.service h3 {
	margin-bottom: 0.5rem;
	font-size: 1.3rem;
}

.service p {
	margin: 0;
	color: var(--muted);
}

/* ==========================================================================
   7. Rakamlar
   ========================================================================== */
.stats {
	background: var(--steel);
	color: var(--white);
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.stat {
	padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2.5vw, 2rem);
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.stat p {
	margin: 0;
}

.stat__num {
	margin-bottom: 0.35rem !important;
	font: 800 clamp(2rem, 3.6vw, 3.1rem) / 1 var(--font-head);
	font-stretch: 120%;
	letter-spacing: -0.02em;
}

.stat__label {
	color: #c4ccd3;
	font-size: 0.975rem;
}

/* ==========================================================================
   8. Projeler
   ========================================================================== */
.projects {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem) 1.5rem;
}

.project {
	grid-column: span 6;
}

.projects:not(.projects--grid) .project:nth-child(4n + 1),
.projects:not(.projects--grid) .project:nth-child(4n + 4) {
	grid-column: span 7;
}

.projects:not(.projects--grid) .project:nth-child(4n + 2),
.projects:not(.projects--grid) .project:nth-child(4n + 3) {
	grid-column: span 5;
}

.projects--grid .project {
	grid-column: span 4;
}

.project__media {
	position: relative;
	display: block;
	height: clamp(240px, 27vw, 380px);
	overflow: hidden;
	background: var(--paper);
}

.project__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.project:hover .project__media img {
	transform: scale(1.04);
}

.ph {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--steel);
	background-color: var(--paper);
	background-image: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(31, 44, 56, 0.07) 9px 10px);
}

.ph svg {
	display: block;
	width: 100%;
	height: 100%;
}

.chip {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.35rem 0.8rem;
	background: var(--hivis);
	color: var(--steel);
	font-size: 0.8125rem;
	font-weight: 600;
}

.project__info {
	padding-top: 1rem;
}

.project__info h3 {
	margin-bottom: 0.35rem;
	font-size: 1.35rem;
}

.project__info h3 a {
	text-decoration: none;
}

.project__info h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hivis);
	text-decoration-thickness: 3px;
}

.project__meta {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

.project__meta span + span {
	margin-left: 0.75rem;
	padding-left: 0.75rem;
	border-left: 1px solid var(--line);
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
	list-style: none;
}

.filters a {
	display: block;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--steel);
	font-weight: 500;
	text-decoration: none;
}

.filters a:hover,
.filters a[aria-current="page"] {
	background: var(--steel);
	color: var(--white);
}

/* ==========================================================================
   9. Çalışma süreci
   ========================================================================== */
.steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.5rem;
	counter-reset: step;
	list-style: none;
}

.steps li {
	position: relative;
	padding-top: 2.75rem;
	border-top: 3px solid var(--steel);
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	top: -3px;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--hivis);
	font: 800 1.05rem/1 var(--font-head);
}

.steps h3 {
	margin-bottom: 0.4rem;
	font-size: 1.2rem;
}

.steps p {
	margin: 0;
	color: var(--muted);
	font-size: 0.975rem;
}

/* ==========================================================================
   10. Hakkımızda
   ========================================================================== */
.about {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.about__media {
	position: relative;
	aspect-ratio: 4 / 5;
	max-width: 520px;
	background: var(--concrete);
	box-shadow: 16px 16px 0 var(--hivis);
}

.about__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__copy h2 {
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	line-height: 1.05;
}

.about__copy > p {
	max-width: 56ch;
	color: var(--muted);
}

.checklist {
	display: grid;
	gap: 0.85rem;
	margin-top: 1.75rem;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	font-weight: 500;
}

.checklist li::before {
	content: "";
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.1rem;
	background: var(--hivis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3' fill='none' stroke='%231F2C38' stroke-width='1.8'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* ==========================================================================
   11. Çağrı bandı
   ========================================================================== */
.cta {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: var(--hivis);
}

.cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.cta h2 {
	max-width: 24ch;
	margin-bottom: 0.4rem;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta p {
	margin: 0;
	font-weight: 500;
}

/* ==========================================================================
   12. Yazı kartları
   ========================================================================== */
.posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	background: var(--white);
}

.post-card__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--concrete);
}

.post-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem;
}

.post-card time {
	color: var(--muted);
	font-size: 0.875rem;
}

.post-card h3 {
	margin: 0;
	font-size: 1.25rem;
}

.post-card h3 a {
	text-decoration: none;
}

.post-card h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hivis);
	text-decoration-thickness: 3px;
}

.post-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.975rem;
}

.navigation.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-block;
	min-width: 2.75rem;
	padding: 0.6rem 1rem;
	border: 1px solid var(--steel);
	text-align: center;
	text-decoration: none;
}

.page-numbers.current,
a.page-numbers:hover {
	background: var(--steel);
	color: var(--white);
}

.empty {
	color: var(--muted);
}

/* ==========================================================================
   13. İç sayfalar
   ========================================================================== */
.page-hero {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	border-bottom: 1px solid var(--line);
	background-color: var(--concrete);
	background-image:
		linear-gradient(rgba(31, 44, 56, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(31, 44, 56, 0.06) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: -1px -1px;
}

.page-hero h1 {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(2rem, 4.4vw, 3.5rem);
	line-height: 1.05;
}

.page-hero p {
	max-width: 56ch;
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 1.125rem;
}

.facts {
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.facts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0 auto;
}

.facts__grid > div {
	padding: 1.25rem 1.5rem 1.25rem 0;
}

.facts__grid > div + div {
	padding-left: 1.5rem;
	border-left: 1px solid var(--line);
}

.facts dt {
	color: var(--muted);
	font-size: 0.875rem;
}

.facts dd {
	margin: 0.15rem 0 0;
	font: 700 1.2rem/1.2 var(--font-head);
	font-stretch: 110%;
}

.entry-content {
	font-size: 1.125rem;
	line-height: 1.75;
}

.entry-content > * + * {
	margin-top: 1.5em;
}

.entry-content h2 {
	margin-top: 2em;
	font-size: 1.9rem;
}

.entry-content h3 {
	margin-top: 1.75em;
	font-size: 1.4rem;
}

.entry-content a {
	text-decoration-color: var(--hivis-deep);
	text-decoration-thickness: 2px;
}

.entry-content a:hover {
	background: var(--hivis);
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 4px solid var(--hivis);
	font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--concrete);
}

.entry-content pre {
	padding: 1rem;
	overflow-x: auto;
	background: var(--steel);
	color: var(--white);
	font-size: 0.9rem;
}

.entry-thumb {
	display: block;
	width: 100%;
	margin-bottom: 2rem;
}

.entry-cats {
	margin-top: 2rem;
	color: var(--muted);
	font-size: 0.9375rem;
}

.alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	width: min(100vw - 2 * var(--gut), 1100px);
	max-width: none;
	margin-inline: 50%;
	transform: translateX(-50%);
}

.wp-caption,
figure {
	max-width: 100%;
}

.wp-caption-text,
figcaption {
	margin-top: 0.5rem;
	color: var(--muted);
	font-size: 0.875rem;
}

.post-navigation {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	justify-content: space-between;
}

.post-navigation a {
	text-decoration: none;
	font-weight: 600;
}

.post-navigation a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hivis);
	text-decoration-thickness: 3px;
}

/* Yorumlar */
.comments {
	margin-top: 4rem;
}

.comments__title,
.comment-reply-title {
	font-size: 1.5rem;
}

.comment-list {
	margin-bottom: 2rem;
	list-style: none;
}

.comment-list .children {
	margin-left: 1.5rem;
	padding-left: 0;
	list-style: none;
}

.comment-body {
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
}

.comment-meta {
	font-size: 0.875rem;
	color: var(--muted);
}

.comment-author img {
	margin-right: 0.75rem;
	vertical-align: middle;
}

/* ==========================================================================
   14. İletişim ve form
   ========================================================================== */
.contact {
	background: var(--concrete);
}

.contact__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: start;
}

.contact h2 {
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	line-height: 1.05;
}

.contact__lead {
	max-width: 42ch;
	color: var(--muted);
}

.contact__list {
	margin: 2.5rem 0 0;
}

.contact__list > div {
	padding: 1rem 0;
	border-top: 1px solid var(--line);
}

.contact__list dt {
	color: var(--muted);
	font-size: 0.875rem;
}

.contact__list dd {
	margin: 0.15rem 0 0;
	font-weight: 500;
}

.contact__list a {
	text-decoration: none;
}

.contact__list a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hivis-deep);
	text-decoration-thickness: 3px;
}

.contact__form-wrap {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 4px solid var(--hivis);
	background: var(--white);
}

.form p {
	margin: 0 0 1.25rem;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.25rem;
}

.form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field {
	display: block;
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--steel);
	border-radius: 0;
	background: var(--paper);
	color: var(--steel);
	font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.search-field:focus {
	background: var(--white);
	outline: 3px solid var(--hivis);
	outline-offset: 0;
}

.hp {
	position: absolute !important;
	left: -9999px;
}

.notice {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--steel);
	background: var(--paper);
	font-weight: 500;
}

.notice--ok {
	border-left-color: #2f7d4f;
}

.notice--error {
	border-left-color: #b3261e;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.search-submit {
	padding: 0 1.25rem;
	border: 2px solid var(--steel);
	background: var(--steel);
	color: var(--white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.comment-form .submit {
	padding: 0.85rem 1.5rem;
	border: 2px solid var(--hivis);
	background: var(--hivis);
	color: var(--steel);
	font: 600 1rem var(--font-head);
	cursor: pointer;
}

/* ==========================================================================
   15. Alt bölüm
   ========================================================================== */
.site-footer {
	background: var(--steel);
	color: #c4ccd3;
	font-size: 0.975rem;
}

.site-footer :focus-visible {
	outline-color: var(--hivis);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 2.5rem 3rem;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer__grid:has(.footer__col:nth-child(4)) {
	grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
}

.footer__brand {
	margin-bottom: 0.75rem;
	color: var(--white);
	font: 800 1.4rem/1.1 var(--font-head);
	font-stretch: 118%;
}

.footer__about p {
	max-width: 38ch;
}

.footer__title {
	margin-bottom: 1rem;
	color: var(--white);
	font-size: 1.05rem;
}

.footer__menu,
.footer__social {
	display: grid;
	gap: 0.5rem;
	list-style: none;
}

.footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-top: 1.25rem;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--hivis);
	text-decoration: underline;
}

.site-footer address {
	font-style: normal;
}

.site-footer address p {
	margin-bottom: 0.5rem;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.875rem;
}

.footer__bottom p {
	margin: 0;
	padding-block: 1.25rem;
}

/* ==========================================================================
   16. Duyarlı düzen
   ========================================================================== */
@media (max-width: 980px) {
	:root {
		--header-h: 68px;
	}

	.nav-toggle {
		display: block;
	}

	.header-cta {
		display: none;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		border-bottom: 3px solid var(--hivis);
		background: var(--paper);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem var(--gut) 1rem;
	}

	.primary-nav a {
		padding-block: 0.9rem;
		border-bottom: 1px solid var(--line);
		font-size: 1.1rem;
	}

	.primary-nav a::after {
		display: none;
	}

	.primary-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 1rem;
		border: 0;
		background: transparent;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__frame {
		margin-inline: auto;
		max-width: 440px;
	}

	.section-head {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.services {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stat:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	.stat:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.16);
	}

	.projects:not(.projects--grid) .project,
	.projects--grid .project {
		grid-column: span 6 !important;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.steps li {
		padding: 0 0 2rem 3.5rem;
		border-top: 0;
		border-left: 3px solid var(--steel);
	}

	.steps li::before {
		top: 0;
		left: -3px;
	}

	.about {
		grid-template-columns: 1fr;
	}

	.about__media {
		width: calc(100% - 16px);
		max-width: 460px;
	}

	.posts {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact__grid {
		grid-template-columns: 1fr;
	}

	.footer__grid,
	.footer__grid:has(.footer__col:nth-child(4)) {
		grid-template-columns: 1fr 1fr;
	}

	.topbar__hours {
		display: none;
	}
}

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

@media (max-width: 640px) {
	.topbar {
		display: none;
	}

	.services,
	.posts,
	.form__row,
	.footer__grid,
	.footer__grid:has(.footer__col:nth-child(4)) {
		grid-template-columns: 1fr;
	}

	.projects:not(.projects--grid) .project,
	.projects--grid .project {
		grid-column: 1 / -1 !important;
	}

	.hero__actions .btn,
	.cta .btn {
		width: 100%;
	}

	.hero__frame {
		padding: 0 2.5rem 2.5rem 0;
	}

	.dim--v {
		right: 1rem;
		bottom: 2.5rem;
	}

	.dim--h {
		bottom: 1rem;
		right: 2.5rem;
	}

	.facts__grid > div,
	.facts__grid > div + div {
		padding-left: 0;
		border-left: 0;
	}
}

@media print {
	.topbar,
	.site-header,
	.site-footer,
	.hero__frame {
		display: none;
	}
}
.referans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.referans-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}
.referans-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.referans-item:hover img {
    filter: grayscale(0%);
}
