/*
Theme Name: ORCTEC Custom
Theme URI: https://orctec.com
Author: ORCTEC
Author URI: https://orctec.com
Description: ORCTEC — DMC tarzı açık kurumsal tema; üretim otomasyonu, test, gömülü, uygulama ve dijital çözümler; Projeler CPT.
Version: 1.8.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: orctec-custom
*/

/* ==========================================================================
   CSS Değişkenleri — DMC tarzı açık kurumsal (ORCTEC)
   ========================================================================== */
:root {
	--orctec-bg: #ffffff;
	--orctec-surface: #f5f7fb;
	--orctec-surface-hover: #eef2f8;
	--orctec-border: #e2e8f0;
	--orctec-text: #1e293b;
	--orctec-text-muted: #64748b;
	--orctec-accent: #005a9c;
	--orctec-accent-hover: #004070;
	--orctec-accent-dim: rgba(0, 90, 156, 0.1);
	--orctec-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
	--orctec-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
	--orctec-radius: 12px;
	--orctec-radius-sm: 8px;
	--orctec-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--orctec-max: 1280px;
	--orctec-header-h: 72px;
	--orctec-topbar-h: 40px;
	--orctec-footer-bg: #1a2332;
	--orctec-footer-text: #cbd5e1;
	--orctec-footer-heading: #f8fafc;
	/* DMC benzeri bölüm tonları — keskin çizgi yerine yumuşak katmanlar */
	--orctec-tone-page: #ffffff;
	--orctec-tone-mist: #f8fafc;
	--orctec-tone-slate: #f1f5f9;
	--orctec-tone-cta: #e8f0f8;
	--orctec-tone-edge: rgba(148, 163, 184, 0.22);
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	font-family: var(--orctec-font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--orctec-text);
	background: var(--orctec-bg);
	min-height: 100vh;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: var(--orctec-accent);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--orctec-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.orctec-wrap {
	width: min(100% - clamp(1rem, 5vw, 2.5rem), var(--orctec-max));
	margin-left: auto;
	margin-right: auto;
	padding-left: env(safe-area-inset-left, 0);
	padding-right: env(safe-area-inset-right, 0);
}

.orctec-wrap--wide {
	width: min(100% - clamp(1rem, 5vw, 2rem), 1400px);
	margin-left: auto;
	margin-right: auto;
	padding-left: env(safe-area-inset-left, 0);
	padding-right: env(safe-area-inset-right, 0);
}

/* —— Üst iletişim çubuğu (DMC tarzı) —— */
.top-bar {
	background: #f1f5f9;
	border-bottom: 1px solid var(--orctec-border);
	font-size: 0.8125rem;
	color: var(--orctec-text-muted);
}

.top-bar a {
	color: var(--orctec-text-muted);
}

.top-bar a:hover {
	color: var(--orctec-accent);
}

.top-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1.75rem;
	min-height: var(--orctec-topbar-h);
	padding: 0.35rem 0;
	padding-left: max(0px, env(safe-area-inset-left, 0px));
	padding-right: max(0px, env(safe-area-inset-right, 0px));
}

.top-bar__inner > span,
.top-bar__inner > a {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.top-bar__inner {
		justify-content: center;
		text-align: center;
		font-size: 0.75rem;
		gap: 0.35rem 0.75rem;
	}

	.top-bar__inner > a {
		word-break: break-all;
	}
}

/* —— Üst bilgi (sticky) —— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--orctec-border);
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--orctec-header-h);
	gap: 1.5rem;
	padding-left: max(0px, env(safe-area-inset-left, 0px));
	padding-right: max(0px, env(safe-area-inset-right, 0px));
}

.site-logo {
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--orctec-text);
}

.site-logo span {
	color: var(--orctec-accent);
	text-shadow: none;
}

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	align-items: center;
}

.primary-nav a {
	color: var(--orctec-text-muted);
	font-weight: 500;
	font-size: 0.95rem;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a,
.primary-nav .current_page_item a {
	color: var(--orctec-accent);
}

.menu-toggle {
	display: none;
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	color: var(--orctec-text);
	padding: 0.5rem 0.85rem;
	border-radius: var(--orctec-radius-sm);
	cursor: pointer;
	font-size: 0.9rem;
	touch-action: manipulation;
	min-height: 44px;
	min-width: 44px;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.menu-toggle {
		display: inline-flex;
		flex-shrink: 0;
	}

	.primary-nav {
		display: none;
		width: 100%;
		order: 3;
	}

	.primary-nav.is-open {
		display: block;
		padding-bottom: 1rem;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.15rem 0;
	}

	.primary-nav .nav-menu > li > a {
		display: inline-flex;
		align-items: center;
		padding: 0.55rem 0;
		min-height: 44px;
		line-height: 1.3;
	}

	.site-header__inner {
		flex-wrap: wrap;
	}
}

/* —— Tipografi —— */
.orctec-hero__title {
	font-size: clamp(2.1rem, 5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
}

.orctec-hero__lead {
	font-size: 1.1rem;
	color: var(--orctec-text-muted);
	max-width: 38rem;
	margin: 0 0 1.75rem;
}

.orctec-section-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	letter-spacing: -0.02em;
}

.orctec-section-title span {
	color: var(--orctec-accent);
	font-weight: 700;
}

/* —— Butonlar —— */
.orctec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: var(--orctec-radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	touch-action: manipulation;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.orctec-btn--primary {
	background: var(--orctec-accent);
	border-color: var(--orctec-accent);
	color: #fff;
	box-shadow: var(--orctec-shadow);
}

.orctec-btn--primary:hover {
	transform: translateY(-2px);
	color: #fff;
	background: var(--orctec-accent-hover);
	border-color: var(--orctec-accent-hover);
}

.orctec-btn--ghost {
	background: transparent;
	border-color: var(--orctec-border);
	color: var(--orctec-text);
}

.orctec-btn--ghost:hover {
	border-color: var(--orctec-accent);
	color: var(--orctec-accent);
}

/* —— Hero —— */
.orctec-hero {
	padding: clamp(3rem, 8vw, 6rem) 0;
}

.orctec-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.orctec-hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.orctec-hero__visual {
	position: relative;
	min-height: 220px;
	border-radius: var(--orctec-radius);
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	overflow: hidden;
	box-shadow: var(--orctec-shadow-lg);
}

.orctec-hero__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.85) 100%);
	pointer-events: none;
	z-index: 1;
}

.orctec-hero__img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	display: block;
}

.orctec-hero__badge {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	right: 1.25rem;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius-sm);
	font-size: 0.85rem;
	color: var(--orctec-text-muted);
	z-index: 2;
	box-shadow: var(--orctec-shadow);
}

/* —— Bento —— */
.orctec-bento {
	padding: 2rem 0 4rem;
}

.orctec-bento__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: minmax(140px, auto);
	gap: 1rem;
}

@media (min-width: 768px) {
	.orctec-bento__grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(2, minmax(150px, auto));
	}

	.orctec-bento__cell--wide {
		grid-column: span 2;
	}

	.orctec-bento__cell--tall {
		grid-row: span 2;
	}
}

@media (max-width: 767px) {
	.orctec-bento__grid {
		grid-template-columns: 1fr;
	}
}

.orctec-bento__cell {
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius);
	padding: 1.35rem 1.5rem;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.orctec-bento__cell:hover {
	background: var(--orctec-surface-hover);
	border-color: rgba(0, 90, 156, 0.35);
	transform: translateY(-3px);
}

.orctec-bento__cell h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--orctec-text);
}

.orctec-bento__cell p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--orctec-text-muted);
	line-height: 1.5;
}

.orctec-bento__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--orctec-accent-dim);
	border: 1px solid rgba(0, 90, 156, 0.25);
	margin-bottom: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	color: var(--orctec-accent);
}

/* —— Son projeler / kartlar —— */
.orctec-projects {
	padding: 2rem 0 5rem;
}

/* Portföy bloğu (haber şeridinden sonra): DMC’deki “Our Portfolio” — üstten beyaza yumuşak geçiş */
.orctec-projects:not(.orctec-section--alt) {
	background: linear-gradient(180deg, var(--orctec-tone-mist) 0%, var(--orctec-tone-page) 38%, var(--orctec-tone-page) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.orctec-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 1.5rem;
}

.orctec-card {
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.orctec-card:hover {
	border-color: rgba(0, 90, 156, 0.35);
	transform: translateY(-4px);
	box-shadow: var(--orctec-shadow);
}

.orctec-card__media {
	aspect-ratio: 16 / 10;
	background: #e8eef4;
	overflow: hidden;
}

.orctec-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.orctec-card__body {
	padding: 1.25rem 1.35rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.orctec-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
}

.orctec-card__title a {
	color: var(--orctec-text);
}

.orctec-card__title a:hover {
	color: var(--orctec-accent);
}

.orctec-card__excerpt {
	font-size: 0.9rem;
	color: var(--orctec-text-muted);
	margin: 0 0 1rem;
	flex: 1;
}

.orctec-card__link {
	font-weight: 600;
	font-size: 0.9rem;
	margin-top: auto;
}

/* —— Sayfa altı —— */
.site-footer {
	border-top: none;
	padding: 2.5rem 0 1rem;
	margin-top: auto;
	background: var(--orctec-footer-bg);
	color: var(--orctec-footer-text);
}

.site-footer .orctec-wrap {
	color: inherit;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
	color: var(--orctec-footer-text);
}

.site-footer a {
	color: var(--orctec-footer-text);
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__grid .site-footer__col h3 {
	color: var(--orctec-footer-heading);
}

.site-footer__grid a {
	color: var(--orctec-footer-text);
}

.site-footer__grid a:hover {
	color: #fff;
}

.site-footer__copy {
	margin: 0;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* —— Arşiv projeler —— */
.orctec-archive-hero {
	padding: 2.5rem 0 1rem;
}

.orctec-archive-hero h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.orctec-archive-hero p {
	margin: 0;
	color: var(--orctec-text-muted);
}

/* —— Tekil proje (vaka analizi) —— */
.orctec-single-hero {
	position: relative;
}

.orctec-single-hero__media {
	max-height: 480px;
	overflow: hidden;
	background: #e8eef4;
	border-bottom: 1px solid var(--orctec-border);
}

.orctec-single-hero__media img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
}

.orctec-single-hero__title-wrap {
	padding: 2rem 0 1rem;
}

.orctec-single-hero__title-wrap h1 {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.orctec-single-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: 2rem 0 4rem;
	align-items: start;
}

@media (min-width: 960px) {
	.orctec-single-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.orctec-prose {
	font-size: 1.05rem;
	color: var(--orctec-text-muted);
}

.orctec-prose h2 {
	color: var(--orctec-text);
	font-size: 1.35rem;
	margin: 2rem 0 0.75rem;
}

.orctec-prose h3 {
	color: var(--orctec-text);
	font-size: 1.15rem;
	margin: 1.5rem 0 0.5rem;
}

.orctec-prose p {
	margin: 0 0 1rem;
}

.orctec-prose p.lead {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--orctec-text);
	margin-bottom: 1.25rem;
}

.orctec-prose ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.orctec-prose table,
.entry-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 0 0 1rem;
	table-layout: auto;
	word-break: break-word;
}

.wp-block-table,
.orctec-prose figure.wp-block-table {
	margin: 0 0 1rem;
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

.orctec-prose iframe,
.orctec-prose embed,
.orctec-prose object,
.entry-content iframe,
.entry-content embed {
	max-width: 100%;
}

.orctec-prose pre,
.entry-content pre {
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

.orctec-prose .alignwide,
.orctec-prose .alignfull,
.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.orctec-sidebar {
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius);
	padding: 1.35rem 1.5rem;
	position: sticky;
	top: calc(var(--orctec-header-h) + 1rem);
}

@media (max-width: 959px) {
	.orctec-sidebar {
		position: static;
		top: auto;
	}
}

.orctec-sidebar h2 {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--orctec-accent);
	font-weight: 700;
}

.orctec-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.orctec-sidebar li {
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--orctec-border);
	font-size: 0.95rem;
	color: var(--orctec-text-muted);
}

.orctec-sidebar li:last-child {
	border-bottom: none;
}

/* —— Genel içerik / index —— */
.orctec-page {
	padding: 2.5rem 0 4rem;
}

.orctec-page h1 {
	margin-top: 0;
}

.orctec-page .entry-title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* —— Yardımcı —— */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.orctec-empty {
	padding: 3rem 1rem;
	text-align: center;
	color: var(--orctec-text-muted);
	border: 1px dashed var(--orctec-border);
	border-radius: var(--orctec-radius);
}

.orctec-search-results {
	list-style: none;
	margin: 0;
	padding: 0;
}

.orctec-search-results > li {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--orctec-border);
}

.orctec-search-results > li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.orctec-search-results .orctec-card__title {
	margin: 0 0 0.5rem;
}

.orctec-search-results__excerpt {
	margin: 0;
	font-size: 0.95rem;
}

main {
	display: block;
}

body.orctec-theme {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.orctec-theme #page {
	flex: 1;
	display: flex;
	flex-direction: column;
}

body.orctec-theme #content {
	flex: 1;
}

/* Sayfalama */
.pagination .nav-links,
.orctec-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
}

.pagination a,
.pagination span,
.orctec-pagination a,
.orctec-pagination span {
	display: inline-flex;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius-sm);
	color: var(--orctec-text-muted);
	font-size: 0.9rem;
}

.pagination a:hover,
.orctec-pagination a:hover {
	border-color: var(--orctec-accent);
	color: var(--orctec-accent);
}

.pagination .current,
.orctec-pagination .current {
	border-color: rgba(0, 90, 156, 0.45);
	color: var(--orctec-accent);
}

/* ==========================================================================
   DMC ilhamlı kurumsal bölümler (ORCTEC harmanı)
   ========================================================================== */

.orctec-hero--dmc {
	padding: clamp(3.5rem, 10vw, 7rem) 0;
	border-bottom: 1px solid var(--orctec-border);
	background: linear-gradient(180deg, #f0f7fc 0%, #ffffff 55%);
}

.orctec-hero--dmc .orctec-hero__title {
	font-size: clamp(2.25rem, 5.5vw, 3.75rem);
	max-width: 22ch;
}

.orctec-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.25rem;
}

.orctec-hero__actions .orctec-btn--ghost {
	color: var(--orctec-text);
}

.orctec-intro {
	padding: 3rem 0;
	background: linear-gradient(
		180deg,
		var(--orctec-tone-mist) 0%,
		var(--orctec-tone-page) 22%,
		var(--orctec-tone-page) 100%
	);
	border-bottom: none;
	box-shadow: 0 1px 0 var(--orctec-tone-edge);
}

.orctec-intro__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.orctec-intro__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.orctec-intro__media {
	border-radius: var(--orctec-radius);
	overflow: hidden;
	border: 1px solid var(--orctec-border);
	box-shadow: var(--orctec-shadow);
}

.orctec-intro__img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.orctec-intro__text {
	font-size: 1.05rem;
	color: var(--orctec-text-muted);
	max-width: 100%;
	margin: 0;
	line-height: 1.7;
}

.orctec-intro__text strong {
	color: var(--orctec-text);
}

/* Hizmetler — 5 sütun kart (DMC “Our Services”) */
.orctec-services {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: linear-gradient(
		180deg,
		var(--orctec-tone-page) 0%,
		var(--orctec-tone-mist) 42%,
		var(--orctec-tone-slate) 100%
	);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.orctec-services__lead {
	max-width: 40rem;
	color: var(--orctec-text-muted);
	margin: -0.5rem 0 2rem;
	font-size: 1.05rem;
}

.orctec-services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.orctec-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.orctec-services__grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

.orctec-service-card {
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius);
	padding: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.orctec-service-card:hover {
	border-color: rgba(0, 90, 156, 0.4);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	transform: translateY(-4px);
}

.orctec-service-card__hit {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	padding: 1.5rem 1.35rem;
	color: inherit;
	text-decoration: none;
	outline: none;
}

.orctec-service-card--has-thumb .orctec-service-card__hit {
	padding: 0 0 1.5rem;
}

.orctec-service-card--has-thumb .orctec-service-card__hit h3,
.orctec-service-card--has-thumb .orctec-service-card__hit p,
.orctec-service-card--has-thumb .orctec-service-card__more {
	padding-left: 1.35rem;
	padding-right: 1.35rem;
}

.orctec-service-card__hit:focus-visible {
	box-shadow: inset 0 0 0 2px var(--orctec-accent);
	border-radius: 2px;
}

.orctec-service-card h3 {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--orctec-text);
}

.orctec-service-card p {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: var(--orctec-text-muted);
	line-height: 1.55;
	flex: 1;
}

.orctec-service-card__more {
	font-weight: 600;
	font-size: 0.875rem;
	margin-top: auto;
	color: var(--orctec-accent);
}

.orctec-service-card__hit:hover .orctec-service-card__more,
.orctec-service-card__hit:focus-visible .orctec-service-card__more {
	text-decoration: underline;
}

/* Orta CTA bandı — DMC “Looking to take your project…”: yatay şerit yerine dikey yumuşak ton */
.orctec-cta-band {
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	background: linear-gradient(
		180deg,
		#edf2f9 0%,
		var(--orctec-tone-cta) 38%,
		#dfe8f4 100%
	);
	border-top: 1px solid rgba(148, 163, 184, 0.18);
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
	text-align: center;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.orctec-cta-band--lower {
	background: linear-gradient(
		180deg,
		#e8f1fa 0%,
		#dde7f5 45%,
		#d5e0f0 100%
	);
}

.orctec-cta-band h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
}

.orctec-cta-band p {
	margin: 0 0 1.25rem;
	color: var(--orctec-text-muted);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

/* İstatistik / güven bandı — CTA’dan beyaza yumuşak iniş (DMC “Since…” bloğu) */
.orctec-stats {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: linear-gradient(
		180deg,
		var(--orctec-tone-slate) 0%,
		var(--orctec-tone-mist) 55%,
		var(--orctec-tone-page) 100%
	);
	border-bottom: none;
	box-shadow: 0 1px 0 var(--orctec-tone-edge);
}

.orctec-stats__head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.orctec-stats__head .orctec-kicker {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orctec-accent);
	margin-bottom: 0.5rem;
}

.orctec-stats__head h2 {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
}

.orctec-stats__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	text-align: center;
}

@media (min-width: 768px) {
	.orctec-stats__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

.orctec-stat {
	padding: 1.5rem 1rem;
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: var(--orctec-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.92) 100%);
	box-shadow: 0 6px 28px rgba(15, 23, 42, 0.05);
}

.orctec-stat strong {
	display: block;
	font-size: clamp(1.35rem, 2.5vw, 1.6rem);
	color: var(--orctec-text);
	margin-bottom: 0.35rem;
}

.orctec-stat span {
	font-size: 0.9rem;
	color: var(--orctec-text-muted);
	line-height: 1.45;
}

/* Bölüm alternansı — haber şeridi: düz gri yerine çok hafif dalgalı ton */
.orctec-section--alt {
	background: linear-gradient(
		180deg,
		var(--orctec-tone-page) 0%,
		var(--orctec-tone-mist) 35%,
		#eef2f7 100%
	);
	border-top: 1px solid rgba(226, 232, 240, 0.45);
	border-bottom: 1px solid rgba(226, 232, 240, 0.35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.orctec-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.orctec-section-head .orctec-section-title {
	margin: 0;
}

.orctec-link-all {
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
}

/* Haber / blog kartları */
.orctec-news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.orctec-news-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.orctec-news-card {
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius);
	padding: 1.35rem 1.4rem;
	transition: border-color 0.2s ease, transform 0.2s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.orctec-news-card:hover {
	border-color: rgba(0, 90, 156, 0.35);
	transform: translateY(-3px);
}

.orctec-news-card time {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--orctec-accent);
}

.orctec-news-card h3 {
	margin: 0.5rem 0 0.65rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.orctec-news-card h3 a {
	color: var(--orctec-text);
}

.orctec-news-card h3 a:hover {
	color: var(--orctec-accent);
}

.orctec-news-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--orctec-text-muted);
	flex: 1;
}

/* Ortaklık şeridi — “Partnered with” arası yumuşak geçiş */
.orctec-partners {
	padding: 2.25rem 0;
	text-align: center;
	background: linear-gradient(180deg, var(--orctec-tone-page) 0%, var(--orctec-tone-mist) 100%);
	border-bottom: 1px solid rgba(226, 232, 240, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.orctec-partners h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--orctec-text);
}

.orctec-partners__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem 2.5rem;
	font-size: 0.95rem;
	color: var(--orctec-text-muted);
	font-weight: 600;
}

.orctec-partners__logos span {
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--orctec-border);
	border-radius: 8px;
	color: var(--orctec-text-muted);
}

/* İletişim bandı — alt CTA’dan çıkış, footer öncesi nefes */
.orctec-contact-band {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: linear-gradient(
		180deg,
		var(--orctec-tone-mist) 0%,
		var(--orctec-tone-page) 55%,
		var(--orctec-tone-page) 100%
	);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.orctec-contact-band h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.orctec-contact-band > .orctec-wrap > p {
	margin: 0 0 1.5rem;
	color: var(--orctec-text-muted);
	max-width: 32rem;
}

.orctec-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 720px) {
	.orctec-contact-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.orctec-contact-card {
	background: var(--orctec-surface);
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius);
	padding: 1.35rem 1.5rem;
}

.orctec-contact-card h3 {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--orctec-accent);
}

.orctec-contact-card p,
.orctec-contact-card a {
	margin: 0;
	font-size: 0.95rem;
	color: var(--orctec-text-muted);
}

.orctec-contact-card a {
	font-weight: 600;
	color: var(--orctec-text);
}

.orctec-contact-card a:hover {
	color: var(--orctec-accent);
}

/* Çok sütunlu alt bilgi */
.site-footer {
	padding: 3rem 0 1.5rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.2fr 1fr 1fr;
	}
}

.site-footer__col h3 {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--orctec-text);
}

.site-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__col li {
	margin-bottom: 0.55rem;
}

.site-footer__col a {
	color: var(--orctec-text-muted);
	font-size: 0.92rem;
}

.site-footer__col a:hover {
	color: var(--orctec-accent);
}

.site-footer__bottom {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8125rem;
	color: rgba(203, 213, 225, 0.75);
}

.site-footer__bottom .site-footer__copy {
	color: rgba(203, 213, 225, 0.75);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__legal a {
	color: rgba(203, 213, 225, 0.75);
}

.site-footer__legal a:hover {
	color: #fff;
}

/* —— Çok seviyeli menü (DMC tarzı açılır) —— */
.primary-nav .nav-menu > li {
	position: relative;
}

.primary-nav .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 240px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: #ffffff;
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius-sm);
	box-shadow: var(--orctec-shadow-lg);
	z-index: 200;
}

.primary-nav .sub-menu .sub-menu {
	left: 100%;
	top: 0;
	margin-left: 2px;
}

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

.primary-nav .sub-menu a {
	display: block;
	padding: 0.45rem 1rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.primary-nav .sub-menu .menu-item-has-children > a {
	padding-right: 1.5rem;
}

@media (max-width: 768px) {
	.primary-nav .sub-menu {
		display: block;
		position: static;
		border: none;
		box-shadow: none;
		background: transparent;
		padding-left: 0.75rem;
		margin-top: 0.35rem;
		border-left: 2px solid rgba(0, 90, 156, 0.25);
	}

	.primary-nav .sub-menu .sub-menu {
		margin-left: 0.75rem;
	}
}

/* Breadcrumb */
.orctec-breadcrumbs {
	margin-bottom: 1.25rem;
}

.orctec-breadcrumbs__inner {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--orctec-text-muted);
}

.orctec-breadcrumbs a {
	color: var(--orctec-text-muted);
}

.orctec-breadcrumbs a:hover {
	color: var(--orctec-accent);
}

.orctec-breadcrumbs__sep {
	opacity: 0.5;
	padding: 0 0.2rem;
}

/* ==========================================================================
   Logo + üst çubuk arama / CTA (DMC)
   ========================================================================== */

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.site-branding .custom-logo {
	max-height: 48px;
	width: auto;
	height: auto;
}

.site-branding__tagline {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--orctec-text-muted);
	letter-spacing: 0.02em;
	max-width: 16rem;
	line-height: 1.35;
}

.site-header__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.orctec-btn--header-cta {
	padding: 0.55rem 1.15rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.orctec-search-form {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--orctec-border);
	border-radius: var(--orctec-radius-sm);
	overflow: hidden;
	background: #fff;
}

.orctec-search-form__input {
	border: none;
	padding: 0.45rem 0.65rem;
	font-size: 0.85rem;
	width: 140px;
	max-width: 36vw;
	font-family: inherit;
	color: var(--orctec-text);
}

.orctec-search-form__input:focus {
	outline: 2px solid rgba(0, 90, 156, 0.25);
	outline-offset: -2px;
}

.orctec-search-form__submit {
	border: none;
	background: var(--orctec-surface);
	padding: 0.35rem 0.55rem;
	cursor: pointer;
	color: var(--orctec-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transition: color 0.2s ease, background 0.2s ease;
}

.orctec-search-form__submit:hover {
	color: var(--orctec-accent);
	background: var(--orctec-surface-hover);
}

.orctec-search-form__icon {
	display: block;
}

@media (min-width: 769px) {
	.primary-nav {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.primary-nav .nav-menu {
		justify-content: center;
	}
}

@media (max-width: 900px) {
	.site-branding__tagline {
		display: none;
	}

	.site-header__search-wrap .orctec-search-form__input {
		width: 100px;
	}
}

@media (max-width: 768px) {
	.site-header__actions {
		width: 100%;
		flex: 1 1 100%;
		justify-content: stretch;
		align-items: stretch;
		order: 4;
		margin-top: 0.35rem;
		gap: 0.5rem;
	}

	.site-header__search-wrap {
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-header__actions .orctec-search-form {
		width: 100%;
		min-width: 0;
	}

	.site-header__actions .orctec-search-form__input {
		width: 100%;
		max-width: none;
		flex: 1;
		min-width: 0;
		font-size: 16px;
	}

	.orctec-btn--header-cta {
		flex: 0 0 auto;
		align-self: center;
		min-height: 44px;
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* ==========================================================================
   Tam genişlik hero (video / slider / görsel)
   ========================================================================== */

/* ~4 parmak yüksekliği: kompakt şerit hero (dar yükseklik) */
.orctec-hero--full {
	position: relative;
	min-height: clamp(21rem, 44vw, 27rem);
	display: block;
	padding: 0;
	margin: 0;
	border: none;
	overflow: hidden;
}

.orctec-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.orctec-hero__video,
.orctec-hero__single-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 100%;
}

.orctec-hero-slider {
	position: absolute;
	inset: 0;
	height: 100%;
}

.orctec-hero-slider__track {
	position: relative;
	height: 100%;
}

.orctec-hero-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.85s ease;
	pointer-events: none;
}

.orctec-hero-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.orctec-hero-slider__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.orctec-hero__placeholder {
	width: 100%;
	height: 100%;
	min-height: clamp(21rem, 44vw, 27rem);
	background: linear-gradient(135deg, #0c4a6e 0%, #1e3a5f 45%, #334155 100%);
}

.orctec-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(180deg, transparent 0%, transparent 52%, rgba(248, 250, 252, 0.08) 72%, rgba(248, 250, 252, 0.88) 100%),
		linear-gradient(90deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.42) 52%, rgba(15, 23, 42, 0.22) 100%);
	pointer-events: none;
}

.orctec-hero--full .orctec-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	min-height: clamp(21rem, 44vw, 27rem);
	padding: clamp(1rem, 3vw, 1.7rem) 0;
	width: 100%;
}

.orctec-hero__content-inner {
	max-width: 46rem;
}

.orctec-hero__title--on-media {
	color: #fff;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.orctec-hero__lead--on-media {
	color: rgba(248, 250, 252, 0.92);
	max-width: 40rem;
}

.orctec-hero__actions--on-media {
	margin-top: 0.25rem;
}

.orctec-btn--ghost-light {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.88);
	color: #fff;
}

.orctec-btn--ghost-light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

.orctec-hero__badge--on-media {
	margin: 1.75rem 0 0;
	padding: 0.65rem 1rem;
	background: rgba(15, 23, 42, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--orctec-radius-sm);
	color: rgba(248, 250, 252, 0.95);
	font-size: 0.85rem;
	max-width: 42rem;
	line-height: 1.5;
}

/* Kompakt şerit: başlık / özet / CTA ölçekleri */
.orctec-hero--full .orctec-hero__title {
	font-size: clamp(1.05rem, 2.6vw, 1.5rem);
	margin: 0 0 0.35rem;
	line-height: 1.2;
}

.orctec-hero--full .orctec-hero__lead {
	font-size: clamp(0.78rem, 1.6vw, 0.9rem);
	margin: 0 0 0.5rem;
	line-height: 1.35;
	max-width: 38rem;
}

.orctec-hero--full .orctec-hero__actions {
	margin-top: 0.15rem;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.orctec-hero--full .orctec-btn {
	padding: 0.45rem 0.95rem;
	font-size: 0.82rem;
}

.orctec-hero--full .orctec-hero__badge--on-media {
	margin: 0.45rem 0 0;
	padding: 0.3rem 0.55rem;
	font-size: 0.68rem;
	line-height: 1.35;
	max-width: 100%;
}

.orctec-hero-slider__prev,
.orctec-hero-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	background: rgba(15, 23, 42, 0.38);
	color: #fff;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.orctec-hero-slider__prev:hover,
.orctec-hero-slider__next:hover {
	background: rgba(0, 90, 156, 0.55);
	border-color: rgba(255, 255, 255, 0.55);
}

.orctec-hero-slider__prev {
	left: min(1.25rem, 4vw);
}

.orctec-hero-slider__next {
	right: min(1.25rem, 4vw);
}

.orctec-hero-slider__dots {
	position: absolute;
	bottom: 0.35rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 0.35rem;
	align-items: center;
}

.orctec-hero-slider__dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.42);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.orctec-hero-slider__dot.is-active {
	background: #fff;
	transform: scale(1.2);
}

/* Hizmet kartı — üstte görsel */
.orctec-service-card__thumb {
	margin: 0 0 1rem;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--orctec-radius) var(--orctec-radius) 0 0;
	background: #e8eef4;
}

.orctec-service-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.orctec-service-card--has-thumb {
	padding-top: 0;
}

/* ==========================================================================
   Mobil uyumluluk — masaüstü düzeni korunur (min-width medya sorguları)
   ========================================================================== */

@media (max-width: 600px) {
	.orctec-single-hero__media {
		max-height: 240px;
	}

	.orctec-single-hero__media img {
		max-height: 240px;
		object-fit: cover;
	}

	.orctec-single-hero__title-wrap {
		padding: 1.25rem 0 0.75rem;
	}
}

@media (max-width: 480px) {
	.orctec-link-all {
		white-space: normal;
	}

	.orctec-section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__bottom {
		flex-direction: column;
		text-align: center;
		justify-content: center;
	}

	.pagination a,
	.pagination span,
	.orctec-pagination a,
	.orctec-pagination span {
		min-height: 44px;
		min-width: 44px;
		align-items: center;
		justify-content: center;
	}

	.orctec-hero-slider__prev,
	.orctec-hero-slider__next {
		width: 2.75rem;
		height: 2.75rem;
		min-width: 44px;
		min-height: 44px;
	}

	.orctec-hero-slider__dot {
		width: 10px;
		height: 10px;
		min-width: 10px;
		min-height: 10px;
	}
}

@media (hover: none) {
	.orctec-card:hover,
	.orctec-news-card:hover,
	.orctec-service-card:hover,
	.orctec-bento__cell:hover {
		transform: none;
		box-shadow: none;
	}

	.orctec-card:active,
	.orctec-news-card:active {
		opacity: 0.92;
	}
}

