/* =========================================================
   Carbos Group – tema stilleri
   Renkler Özelleştir ekranından :root değişkenlerine yazılır.
   ========================================================= */

:root {
	--c-primary: #3A3086;
	--c-primary-rgb: 58, 48, 134;
	--c-accent: #2B4594;
	--c-highlight: #F9E11B;
	--c-text: #1E2235;
	--c-muted: #5B6675;
	--c-line: #E2E7ED;
	--c-soft: #F4F6F9;
	--c-ink: #1D1940;
	--c-white: #FFFFFF;
	--font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--header-h: 84px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 600; color: var(--c-ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 12px; left: 12px; z-index: 9999; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--c-white); color: var(--c-primary); box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.icon { flex: none; }
[hidden] { display: none !important; }

/* ---------- butonlar ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 22px; border-radius: 6px; border: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: var(--c-accent); color: var(--c-white); }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-brand { display: flex; align-items: center; min-width: 0; }
.site-brand img { display: block; max-height: 52px; width: auto; max-width: min(300px, 52vw); }
.site-name { font-weight: 700; font-size: 22px; font-stretch: 112%; color: var(--c-ink); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-contact {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 6px;
	border: 1px solid rgba(var(--c-primary-rgb), .35);
	color: var(--c-primary); font-weight: 600; font-size: 15px; text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn-contact:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }

/* dil seçici */
.lang-switch { position: relative; }
.lang-current {
	display: inline-flex; align-items: center; gap: 8px;
	height: 42px; padding: 0 10px 0 12px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: 6px;
	font: inherit; font-size: 14px; font-weight: 600; color: var(--c-text); cursor: pointer;
}
.lang-current:hover { border-color: rgba(var(--c-primary-rgb), .4); }
.lang-current .icon-chevron { transition: transform .2s; color: var(--c-muted); }
.lang-switch.is-open .icon-chevron { transform: rotate(180deg); }
.flag { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }

.lang-list {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
	min-width: 190px; margin: 0; padding: 6px; list-style: none;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: 8px;
	box-shadow: 0 18px 40px -12px rgba(23, 34, 49, .25);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.lang-switch.is-open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a {
	display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 5px;
	color: var(--c-text); text-decoration: none; font-size: 15px;
}
.lang-list a:hover { background: var(--c-soft); color: var(--c-primary); }
.lang-list a.is-current { font-weight: 600; color: var(--c-primary); }

/* isteğe bağlı üst menü */
.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border: 1px solid var(--c-line); border-radius: 6px;
	background: var(--c-white); color: var(--c-text); cursor: pointer;
}
.header-nav {
	position: absolute; top: 100%; left: 0; right: 0;
	background: var(--c-white); border-bottom: 1px solid var(--c-line);
	box-shadow: 0 20px 30px -20px rgba(23, 34, 49, .25);
	display: none;
}
.header-nav.is-open { display: block; }
.header-menu { list-style: none; margin: 0 auto; padding: 16px var(--gutter) 24px; max-width: var(--container); display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 24px; }
.header-menu a, .header-menu .menu-label { display: block; padding: 10px 0; color: var(--c-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--c-line); }
.header-menu a:hover { color: var(--c-primary); }
.menu-label { cursor: default; }
.menu-item-has-children > .menu-label { cursor: pointer; }
.footer-menu .menu-label { display: block; font-weight: 600; color: #fff; }
.header-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0 12px; }

/* hamburger içindeki dil ve iletişim (sadece telefonda) */
.nav-mobile-extras { display: none; }
.nav-lang-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nav-lang-list a {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
	border: 1px solid var(--c-line); border-radius: 6px; color: var(--c-text); text-decoration: none; font-size: 15px;
}
.nav-lang-list a.is-current { border-color: var(--c-primary); color: var(--c-primary); font-weight: 600; }
.nav-contact { justify-content: center; }

/* tablet ve geniş telefon: menü yoksa hamburger gizli */
.header-nav:not(.has-menu) { display: none; }
.header-nav:not(.has-menu) ~ .menu-toggle { display: none; }

@media (max-width: 767px) {
	/* telefonda üst alanda sadece logo ve hamburger */
	.header-actions .lang-switch,
	.header-actions .btn-contact { display: none; }
	.header-nav:not(.has-menu) ~ .menu-toggle { display: inline-flex; }
	.header-nav.is-open { display: block; }
	.header-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
	.nav-mobile-extras { display: flex; flex-direction: column; gap: 16px; padding: 18px var(--gutter) 24px; }
	.header-nav:not(.has-menu) .nav-mobile-extras { padding-top: 22px; }
	.header-menu { padding-bottom: 4px; }
}

/* Geniş ekranda üst menü dil seçicinin solunda, sağa yaslı ve her zaman görünür */
@media (min-width: 1100px) {
	.menu-toggle { display: none; }
	.header-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
	.header-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; max-width: none; }
	.header-menu > li { position: relative; }
	.header-menu a, .header-menu .menu-label { padding: 10px 12px; border-bottom: 0; border-radius: 6px; font-size: 15px; white-space: nowrap; }
	.header-menu a:hover, .header-menu .menu-label:hover { background: var(--c-soft); }
	.header-menu .menu-label { position: relative; color: var(--c-ink); font-weight: 500; }
	.header-menu .current-menu-item > a,
	.header-menu .current-menu-ancestor > a,
	.header-menu .current_page_item > a { color: var(--c-primary); font-weight: 600; }
	.header-menu .menu-item-has-children > a,
	.header-menu .menu-item-has-children > .menu-label { padding-right: 26px; }
	.header-menu .menu-item-has-children > a::after,
	.header-menu .menu-item-has-children > .menu-label::after {
		content: ''; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
		border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6;
	}
	.header-menu .sub-menu {
		position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 220px; padding: 6px;
		background: var(--c-white); border: 1px solid var(--c-line); border-radius: 8px;
		box-shadow: 0 18px 40px -12px rgba(23, 34, 49, .25);
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity .18s, transform .18s var(--ease), visibility .18s;
	}
	.header-menu .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
	.header-menu li:hover > .sub-menu,
	.header-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.header-menu .sub-menu a, .header-menu .sub-menu .menu-label { display: block; padding: 9px 10px; font-size: 15px; }
	.header-actions { gap: 10px; }
	.header-nav.has-menu + .lang-switch { margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--c-line); }
}

@media (max-width: 560px) {
	:root { --header-h: 68px; }
	.site-brand img { max-height: 38px; }
	.btn-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.btn-contact { width: 42px; height: 42px; padding: 0; justify-content: center; }
	.lang-current .lang-code { display: none; }
	.header-actions { gap: 8px; }
}

/* =========================================================
   Ana sayfa: küre
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	padding-top: 24px; padding-bottom: 40px;
}
.hero-left { display: grid; align-items: center; }
.hero-left > * { grid-area: 1 / 1; }

.hero-title, .hero-lead { text-shadow: 0 0 16px #fff, 0 0 6px #fff, 0 0 2px #fff; }
.hero-text { transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.hero-text.is-muted { opacity: 0; visibility: hidden; transform: translateY(-10px); }
.hero-parent { margin: 0 0 26px; }
.hero-parent img { display: block; height: clamp(40px, 4vw, 56px); width: auto; }
.hero-kicker { font-size: 15px; font-weight: 600; color: var(--c-primary); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before {
	content: ''; width: 18px; height: 16px; flex: none;
	background: var(--c-primary); clip-path: var(--hex);
}
.hero-title {
	font-size: clamp(2.3rem, 4.6vw, 4rem);
	font-weight: 650; font-stretch: 115%;
	letter-spacing: -.02em; line-height: 1.02;
	margin-bottom: 22px;
}
.hero-lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--c-muted); max-width: 46ch; }
.hero-lead p { margin: 0 0 .8em; }
.hero-lead p:last-child { margin-bottom: 0; }
.globe-hint {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
	font-size: 14px; color: var(--c-muted);
	padding: 8px 14px 8px 12px; border: 1px dashed rgba(var(--c-primary-rgb), .3); border-radius: 40px;
	transition: opacity .4s;
}
.globe-hint .icon { color: var(--c-primary); }
.globe-hint.is-hidden { opacity: 0; }

.hero-right { position: relative; }
.globe-stage {
	position: relative; z-index: 0; isolation: isolate; width: 100%;
	aspect-ratio: 1 / 1;
	max-height: calc(100vh - var(--header-h) - 60px);
	margin: 0 auto;
	touch-action: pan-y;
	-webkit-user-select: none; user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-nodes { position: absolute; inset: 0; pointer-events: none; }

.globe-node {
	position: absolute; left: 0; top: 0;
	padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
	transform-origin: 50% 50%;
	will-change: transform, opacity;
	pointer-events: auto;
	filter: drop-shadow(0 10px 18px rgba(var(--c-primary-rgb), .16));
	opacity: 0;
}
.globe-node.is-back { pointer-events: none; }
.globe-node:focus-visible { outline: none; }
.node-hex {
	display: block; width: 100%; height: 100%;
	padding: 3px;
	background: var(--node-color, var(--c-primary));
	clip-path: var(--hex);
	transition: background-color .2s;
}
.node-hex-inner {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	padding: 26% 10%;
	background: var(--c-white);
	clip-path: var(--hex);
}
.node-hex-inner img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; pointer-events: none; }
/* Altıgende ürün fotoğrafı (isteğe bağlı küçük logo etiketiyle) */
.globe-node.has-photo .node-hex-inner { position: relative; padding: 0; overflow: hidden; }
.node-hex-inner img.node-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.node-badge {
	position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%);
	display: flex; align-items: center; justify-content: center;
	width: 56%; height: 19%; padding: 2.5% 5%;
	background: rgba(255, 255, 255, .96); border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}
.node-hex-inner .node-badge img { max-width: 100%; max-height: 100%; }
.node-label { font-weight: 700; font-size: 14px; line-height: 1.15; font-stretch: 110%; color: var(--node-color, var(--c-primary)); text-align: center; }
.globe-node:hover .node-hex,
.globe-node:focus-visible .node-hex { background: var(--c-accent); }
.globe-node.is-selected .node-hex { background: var(--c-highlight); padding: 5px; }
.globe-node.is-selected { filter: drop-shadow(0 14px 26px rgba(var(--c-primary-rgb), .32)); }

/* tanıtım kartı */
.globe-info {
	position: relative;
	padding: 34px 32px 28px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-top: 4px solid var(--c-highlight);
	border-radius: 4px 4px 10px 10px;
	box-shadow: 0 30px 60px -30px rgba(23, 34, 49, .35);
	opacity: 0; transform: translateY(14px);
	transition: opacity .3s, transform .35s var(--ease);
	max-width: 520px;
}
.globe-info.is-open { opacity: 1; transform: none; }
.globe-info-close {
	position: absolute; top: 12px; right: 12px;
	width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); cursor: pointer;
}
.globe-info-close:hover { background: var(--c-soft); color: var(--c-ink); }
.gi-logo { height: 64px; margin-bottom: 18px; padding-right: 40px; display: flex; align-items: center; }
.gi-logo img { max-height: 64px; max-width: 220px; width: auto; object-fit: contain; }
.gi-name { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-stretch: 112%; margin-bottom: 12px; padding-right: 36px; }
.gi-text { color: var(--c-muted); margin-bottom: 22px; }
.gi-text p:last-child { margin-bottom: 0; }
.gi-note { margin: 14px 0 0; font-size: 13px; color: var(--c-muted); }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; padding-bottom: 24px; gap: 4px; }
	.hero-left { display: contents; }
	.hero-left > * { grid-area: auto; }
	.hero-text { order: 1; }
	.hero-right { order: 2; }
	.globe-info { order: 3; max-width: none; padding: 26px 22px 22px; scroll-margin-bottom: 16px; }
	.hero-text.is-muted { opacity: 1; visibility: visible; transform: none; }
	.hero-title { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 14px; }
	.globe-stage { max-height: none; max-width: 560px; }
	.gi-logo { height: 48px; margin-bottom: 12px; }
	.gi-logo img { max-height: 48px; }
}
@media (hover: none) {
	.globe-hint { display: none; }
}

/* ---------- başlık arkasındaki silik ürün çizimleri ---------- */
.hero-left { position: relative; }
/* Soldan sağa, kürenin arkasına doğru yayılan silik ürün katmanı */
.hero-products {
	position: absolute; z-index: 0; pointer-events: none;
	left: max(8px, calc((100% - var(--container)) / 2));
	width: min(76%, 1100px); top: 50%; height: min(84%, 700px); transform: translateY(-50%);
	color: var(--c-primary); opacity: var(--hp-opacity, .5);
}
.hero-grid { position: relative; z-index: 1; }
.hp-item { position: absolute; display: block; }
.hp-item svg { display: block; width: 100%; height: auto; }
.hp-sinter-gear    { left: 0;   top: 2%;  width: 16%; transform: rotate(-10deg); }
.hp-sinter-bushing { left: 22%; top: 0;   width: 15%; }
.hp-sinter-filter  { left: 44%; top: 4%;  width: 15%; transform: rotate(6deg); }
.hp-zamak-barrel   { left: 66%; top: 2%;  width: 20%; transform: rotate(-4deg); }
.hp-tube-motor     { left: 4%;  top: 40%; width: 24%; transform: rotate(3deg); }
.hp-casting        { left: 36%; top: 62%; width: 18%; }
.hp-panic-bar      { left: 58%; top: 40%; width: 22%; transform: rotate(-3deg); }
.hp-baston-kilit   { left: 82%; top: 62%; width: 15%; }
@media (max-width: 900px) {
	.hero-products { top: 0; left: 0; width: 100%; height: 100%; transform: none; z-index: 0; opacity: calc(var(--hp-opacity, .5) * .5); }
	.hero-text, .globe-info { position: relative; z-index: 1; }
}

/* gerçek fotoğraf kolajı */
.hero-products.is-photos { color: inherit; filter: grayscale(.15); }
.hero-products.is-photos .hp-item { mix-blend-mode: multiply; }
.hero-products.is-photos img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.hp-slot-1 { left: 0;   top: 2%;  width: 16%; }
.hp-slot-2 { left: 20%; top: 0;   width: 15%; }
.hp-slot-3 { left: 40%; top: 4%;  width: 14%; }
.hp-slot-4 { left: 58%; top: 0;   width: 17%; }
.hp-slot-5 { left: 0;   top: 80%; width: 13%; }
.hp-slot-6 { left: 82%; top: 30%; width: 16%; }
.hp-slot-7 { left: 38%; top: 44%; width: 15%; }
.hp-slot-8 { left: 17%; top: 78%; width: 17%; }
.hp-slot-9 { left: 62%; top: 66%; width: 15%; }
.hp-slot-10 { left: 80%; top: 4%;  width: 14%; }
.hp-slot-11 { left: 40%; top: 84%; width: 14%; }
.hp-slot-12 { left: 82%; top: 82%; width: 14%; }

/* Özelleştir > Ana sayfa: ürün görselleri listesi (bağlantılı, konumu ayarlanabilir) */
.hero-products.is-custom { opacity: 1; }
.hero-products.is-custom .hp-item { opacity: var(--hp-opacity, .5); transition: opacity .25s, transform .25s var(--ease); }
.hero-products.has-links { z-index: 2; }
/* Tam küre düzeninde görseller yazıların arkasında kalır (tıklanamaz). */
.hero:not(.hero--quarter) .hero-products.has-links { z-index: 0; }
.hero-products a.hp-item { pointer-events: auto; cursor: pointer; text-decoration: none; }
.hero-products a.hp-item:hover,
.hero-products a.hp-item:focus-visible { opacity: 1; transform: scale(1.06); z-index: 3; }
.hero-products a.hp-item:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 4px; border-radius: 6px; }
.hp-cap {
	position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px);
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	padding: 6px 11px; border-radius: 6px; background: var(--c-ink); color: #fff;
	font-size: 13px; font-weight: 500; line-height: 1.2;
	opacity: 0; pointer-events: none; transition: opacity .2s;
}
.hero-products a.hp-item:hover .hp-cap,
.hero-products a.hp-item:focus-visible .hp-cap { opacity: 1; }
@media (max-width: 900px) {
	.hero-products.is-custom { opacity: .5; }
	.hero-products.has-links { z-index: 0; }
	.hero-products a.hp-item { pointer-events: none; }
	.hp-cap { display: none; }
}
/* Özelleştir önizlemesinde sürükle-bırak */
.hero-products.is-editing { z-index: 3; }
.hero-products.is-editing .hp-item,
.hero-products.is-editing .hp-item:hover { pointer-events: auto; cursor: move; transform: none; outline: 1px dashed rgba(34, 113, 177, .7); outline-offset: 2px; touch-action: none; }
.hero-products.is-editing .hp-item.is-drag { opacity: 1; outline: 2px solid #2271b1; z-index: 4; }
.hero-products.is-editing .hp-cap { display: none; }
.hp-resize { display: none; }
.hero-products.is-editing .hp-resize {
	display: block; position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px;
	background: #fff; border: 2px solid #2271b1; cursor: nwse-resize;
}

/* tanıtım kartındaki ürün görselleri */
.gi-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.gi-products.is-single { grid-template-columns: 1fr; }
.gi-products.is-double { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gi-products li { margin: 0; background: var(--c-soft); border-radius: 6px; padding: 6px 4px 8px; text-align: center; }
.gi-products img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.gi-products.is-single img { aspect-ratio: 4 / 3; max-height: 300px; }
.gi-products li.is-photo img { mix-blend-mode: multiply; }
.gi-products li.is-photo { background: #fff; border: 1px solid var(--c-line); }
.gi-products span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--c-ink); line-height: 1.25; }

/* ---------- çeyrek küre düzeni ---------- */
.hero--quarter .hero-grid { pointer-events: none; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.hero--quarter .hero-left { position: relative; z-index: 2; }
.hero--quarter .hero-title { font-size: clamp(2.1rem, 3.4vw, 3.3rem); }
.hero--quarter .hero-left > * { pointer-events: auto; }
.hero--quarter .hero-grid { position: static; }
.hero--quarter .hero-right { position: absolute; inset: 0; z-index: 1; }
.hero--quarter .globe-stage { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
@media (max-width: 900px) {
	.hero--quarter .hero-grid { pointer-events: auto; grid-template-columns: 1fr; }
	.hero--quarter .hero-right { position: relative; inset: auto; margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
	.hero--quarter .globe-stage { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
	.hero--quarter .globe-stage { aspect-ratio: 10 / 9; height: auto; max-width: none; margin: 0; }
}

/* Gerçek dünya deseninde ürün fotoğrafları dünyanın dışındaki boş alanlara dizilir
   (üst şerit ve yazının altı); dünyanın kapladığı yer globe.js tarafından maskelenir. */
@media (min-width: 901px) {
	.hero--photo .hp-slot-1 { left: 0;   top: 1%;  width: 10%; }
	.hero--photo .hp-slot-2 { left: 11%; top: 0;   width: 10%; }
	.hero--photo .hp-slot-3 { left: 22%; top: 2%;  width: 10%; }
	.hero--photo .hp-slot-4 { left: 33%; top: 0;   width: 10%; }
	.hero--photo .hp-slot-5 { left: 44%; top: 1%;  width: 10%; }
	.hero--photo .hp-slot-6 { left: 0;   top: 76%; width: 10%; }
	.hero--photo .hp-slot-7 { left: 11%; top: 78%; width: 10%; }
	.hero--photo .hp-slot-8 { left: 22%; top: 76%; width: 10%; }
	.hero--photo .hp-slot-9 { left: 33%; top: 78%; width: 9%; }
	.hero--photo .hp-slot-10 { left: 55%; top: 0;   width: 10%; }
	.hero--photo .hp-slot-11 { left: 0;   top: 90%; width: 9%; }
	.hero--photo .hp-slot-12 { left: 11%; top: 92%; width: 9%; }
}

/* =========================================================
   Bölümler
   ========================================================= */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-stretch: 112%; letter-spacing: -.01em; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-lead { color: var(--c-muted); font-size: 1.08rem; }

.front-content { padding-top: 0; }

/* hakkımızda */
.about { background: var(--c-soft); }
.about-grid { display: grid; gap: clamp(32px, 5vw, 80px); }
.about-grid.has-image { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.about-text { font-size: 1.08rem; max-width: 64ch; }
.about-media { margin: 0; }
.about-media img { display: block; width: 100%; border-radius: 6px; }
@media (max-width: 900px) { .about-grid.has-image { grid-template-columns: 1fr; } }

/* markalar listesi */
.brand-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--c-line);
}
.brand-item {
	display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: start;
	padding: 34px 0;
	border-bottom: 1px solid var(--c-line);
}
.brand-item:nth-child(odd) { padding-right: 40px; }
.brand-item:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--c-line); }
.brand-hex { display: block; width: 112px; height: 97px; padding: 2px; background: var(--node-color, rgba(var(--c-primary-rgb), .35)); clip-path: var(--hex); }
.brand-hex-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 22% 10%; background: var(--c-white); clip-path: var(--hex); }
.brand-hex-inner img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.brand-initial { font-size: 34px; font-weight: 700; font-stretch: 115%; color: var(--c-primary); }
.brand-name { font-size: 1.35rem; font-stretch: 110%; margin-bottom: 8px; }
.brand-desc { color: var(--c-muted); font-size: 1rem; margin-bottom: 12px; }
.brand-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.brand-link:hover { text-decoration: underline; }
@media (max-width: 860px) {
	.brand-list { grid-template-columns: 1fr; }
	.brand-item:nth-child(odd), .brand-item:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
}
@media (max-width: 480px) {
	.brand-item { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
	.brand-hex { width: 76px; height: 66px; }
}

/* çağrı alanı */
.cta { padding-top: 0; }
.cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding-top: 48px; border-top: 3px solid var(--c-primary);
}
.cta-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 112%; margin-bottom: 8px; }
.cta-inner p { color: var(--c-muted); margin: 0; max-width: 60ch; }

/* =========================================================
   İç sayfalar
   ========================================================= */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: var(--c-soft); margin-bottom: clamp(36px, 5vw, 64px); }
.page-title { font-size: clamp(2rem, 4vw, 3.1rem); font-stretch: 112%; letter-spacing: -.015em; margin: 0; }
.page-meta { color: var(--c-muted); font-size: 14px; margin-bottom: 8px; }
.page-media { margin-bottom: 40px; }
.page-media img { display: block; width: 100%; border-radius: 6px; }

.entry-content { max-width: 860px; padding-bottom: clamp(56px, 8vw, 96px); }
.entry-content > * { max-width: 72ch; }
.entry-content > .alignwide, .entry-content > .alignfull, .entry-content > figure, .entry-content > .wp-block-image,
.entry-content > .wp-block-columns, .entry-content > .wp-block-gallery, .entry-content > .wp-block-table { max-width: none; }
.entry-content h2 { font-size: 1.75rem; margin-top: 1.6em; font-stretch: 110%; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--c-primary); color: var(--c-muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.front-content .entry-content, .front-content.entry-content { padding-bottom: 0; }

/* ---------- sayfa düzeni (Sayfa düzeni kutusu) ---------- */
/* Standart: başlık ve görsel site genişliğinde, metin 860 px (temel kurallar). */
/* Geniş: metin de site genişliğine yayılır. */
.layout-wide .entry-content,
.layout-wide .entry-content > * { max-width: none; }
.layout-wide .page-container.entry-content { max-width: var(--container); }
/* Tam genişlik: ekranın tamamı, yan boşluk yok. */
.layout-full .page-container { max-width: none; padding-left: 0; padding-right: 0; }
.layout-full .page-hero .page-container { padding-left: var(--gutter); padding-right: var(--gutter); }
.layout-full .entry-content,
.layout-full .entry-content > * { max-width: none; }
.layout-full .entry-content > * { margin-left: 0; margin-right: 0; }
.layout-full .page-media img { border-radius: 0; }
/* Tam genişlikte metin blokları kenara yapışmasın diye küçük iç boşluk; görsel, kapak, sütun, grup blokları kenara kadar. */
.layout-full .entry-content > :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, table, .wp-block-buttons) { padding-left: var(--gutter); padding-right: var(--gutter); }
/* Özel: istenen piksel genişliği. */
.layout-custom .entry-content > * { max-width: none; }
.layout-custom .page-container,
.layout-custom .page-container.entry-content { max-width: calc(var(--page-max, 1000px) + 2 * var(--gutter)); }
/* Üst ve alt boşlukları kaldır. */
.layout-no-padding .page-hero { margin-bottom: 0; }
.layout-no-padding .entry-content { padding-bottom: 0; }
.layout-no-padding .page-media { margin-bottom: 0; }
.layout-no-padding .entry-content > :first-child { margin-top: 0; }
/* Blok editöründe "Geniş" ve "Tam genişlik" hizalanan bloklar her düzende çalışır. */
.entry-content > .alignwide { width: min(var(--container), 100vw - 2 * var(--gutter)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.layout-full .entry-content > .alignwide { width: min(var(--container), 100%); margin-left: auto; margin-right: auto; transform: none; }
.layout-full .entry-content > .alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.site-main { overflow-x: clip; }

/* yazı listesi */
.post-list-wrap { padding-bottom: clamp(56px, 8vw, 96px); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }
.post-title { font-size: 1.3rem; }
.post-title a { color: var(--c-ink); text-decoration: none; }
.post-title a:hover { color: var(--c-primary); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 6px; text-decoration: none; color: var(--c-text); }
.pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.post-nav { padding-bottom: 64px; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--c-line); padding-top: 24px; }
.empty-state { color: var(--c-muted); }
.page-404 { text-align: left; margin-bottom: 0; padding-bottom: 96px; }

/* =========================================================
   İletişim
   ========================================================= */
.contact-layout {
	display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 80px);
}
.contact-company { font-size: 1.3rem; font-weight: 600; font-stretch: 110%; color: var(--c-ink); }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.contact-list .icon { color: var(--c-primary); margin-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-extra { padding-bottom: 0; margin-top: 24px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-form .form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .contact-form .form-row.two { grid-template-columns: 1fr; } }
.contact-form .field { margin: 0 0 18px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--c-ink); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--c-text);
	background: var(--c-white); border: 1px solid #CBD3DD; border-radius: 6px;
	transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), .15); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--c-muted); }
.field-check input { margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 15px; }
.form-notice.is-success { background: #E7F6EE; color: #165C36; }
.form-notice.is-error { background: #FDECEC; color: #8A1F1F; }

.contact-map { padding-bottom: clamp(56px, 8vw, 96px); }
.map-embed { position: relative; aspect-ratio: 16 / 7; border-radius: 8px; overflow: hidden; background: var(--c-soft); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 3; } }

/* =========================================================
   Footer
   ========================================================= */
.footer-brands { border-top: 1px solid var(--c-line); padding: 40px 0; }
.footer-brands .container { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brands-title { font-size: 15px; font-weight: 600; color: var(--c-muted); margin: 0; flex: none; }
.footer-brands-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 20px 44px; flex: 1; }
.footer-brands-list img { display: block; height: 42px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.footer-brands-list a:hover img, .footer-brands-list a:focus-visible img { filter: none; opacity: 1; }
.brand-wordmark { font-weight: 700; font-stretch: 112%; color: var(--c-muted); }
.footer-brands-list a { text-decoration: none; }

.site-footer { background: var(--c-ink); color: #C3C0DC; font-size: 15px; }
.site-footer a { color: #E4EAF1; }
.site-footer a:hover { color: var(--c-white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-title { font-size: 15px; font-weight: 600; color: var(--c-white); margin-bottom: 16px; }
.footer-company { font-size: 1.25rem; font-weight: 600; font-stretch: 112%; color: var(--c-white); }
.footer-logo { display: block; max-height: 52px; width: auto; max-width: 100%; margin-bottom: 18px; }
.footer-logo.is-plate { background: #fff; padding: 10px 14px; border-radius: 6px; max-height: 64px; box-sizing: content-box; max-width: 240px; }
.footer-menu, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-links li { margin-bottom: 10px; }
.footer-menu a, .footer-links a { text-decoration: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .contact-list li { border-bottom-color: rgba(255,255,255,.08); padding: 10px 0; }
.site-footer .contact-list .icon { color: var(--c-highlight); }
.social-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.social-links a {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border: 1px solid currentColor; border-radius: 50%; opacity: .85; transition: opacity .2s, background-color .2s;
}
.social-links a:hover { opacity: 1; }
.site-footer .social-links a:hover { background: rgba(255,255,255,.08); }
.contact-info .social-links a { color: var(--c-primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-bottom p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* hareket azaltma */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
