/*
 * GCIP Portal — Base Stylesheet
 * Sadece ortak elemanlar: variables, reset, cursor, nav, footer, rv
 * Her sayfada yüklenir. Admin sayfalarda YÜKLENMEz.
 */

/* CSS reset — genel sıfırlama */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--cream: #f5f6f8;
	--white: #ffffff;
	--ink: #1a1a2e;
	--ink60: rgba(26, 26, 46, 0.6);
	--ink30: rgba(26, 26, 46, 0.3);
	--ink12: rgba(26, 26, 46, 0.12);
	--ink08: rgba(26, 26, 46, 0.08);
	--ink05: rgba(26, 26, 46, 0.05);
	--night: #002244;
	--night2: #0059aa;
	--navy: #0059aa;
	--navy-deep: #0b2a55;
	--red: #009cdc;
	--red2: rgba(0, 156, 220, 0.12);
	--green: #36ae72;
	--green2: rgba(54, 174, 114, 0.1);
	--W: 1160px;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: "Manrope", "Inter", sans-serif;
	background: var(--cream);
	color: var(--ink);
	overflow-x: hidden;
}

#prog {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	background: var(--green);
	width: 0%;
	z-index: 9997;
}

/* ANNOUNCEMENT BAR */
.ann-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 98;
	height: 36px;
	background: linear-gradient(90deg, var(--green), #2a9d5c);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ann-bar a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.01em;
}
.ann-bar a:hover {
	opacity: 0.85;
}
.ann-bar a svg {
	width: 13px;
	height: 13px;
	stroke: #fff;
	fill: none;
	stroke-width: 2.5;
}

/* NAV */
.gcip-nav {
	position: fixed;
	top: 36px;
	left: 0;
	right: 0;
	z-index: 99;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 44px;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--ink08);
	transition: box-shadow 0.3s;
}
.gcip-nav.sc {
	box-shadow: 0 2px 20px rgba(26, 26, 46, 0.08);
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.nav-logo img {
	height: 40px;
	width: auto;
	object-fit: contain;
	display: block;
}
.nav-div {
	width: 1px;
	height: 26px;
	background: var(--ink12);
}
.nav-links {
	display: flex;
	align-items: center;
}
.nl {
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink60);
	text-decoration: none;
	border-radius: 6px;
	transition:
		color 0.15s,
		background 0.15s;
}
.nl:hover {
	color: var(--ink);
	background: var(--ink05);
}
.nl.on {
	color: var(--ink);
	font-weight: 600;
}
.nav-r {
	display: flex;
	align-items: center;
	gap: 8px;
}
.nbg {
	padding: 7px 16px;
	font-size: 12.5px;
	font-weight: 600;
	border: 1.5px solid var(--ink12);
	border-radius: 7px;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s;
}
.nbg:hover {
	border-color: var(--ink30);
}
.nbs {
	padding: 8px 18px;
	font-size: 12.5px;
	font-weight: 700;
	background: var(--red);
	border-radius: 7px;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}
.nbs:hover {
	opacity: 0.85;
}

/* SHARED UTILS */
.W {
	max-width: var(--W);
	margin: 0 auto;
	padding: 0 44px;
}
.kicker {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 10px;
}
.sh {
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: var(--ink);
	margin-bottom: 8px;
}
.sd {
	font-size: 14.5px;
	color: var(--ink60);
	line-height: 1.7;
	max-width: 400px;
}
.sec-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 44px;
}
.alink {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--ink30);
	padding-bottom: 1px;
	transition:
		gap 0.2s,
		border-color 0.2s,
		color 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
}
.alink:hover {
	gap: 9px;
	border-color: var(--red);
	color: var(--red);
}
.alink svg {
	width: 12px;
	height: 12px;
}

/* PAGE HEADER (iç sayfalar) */
.page-header {
	padding-top: 100px;
	background: var(--white);
}
.ph-inner {
	max-width: var(--W);
	margin: 0 auto;
	padding: 52px 44px 40px;
}
.ph-kicker {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--navy);
	opacity: 0.65;
	margin-bottom: 12px;
}
.ph-h {
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--ink);
}
.ph-h .dim {
	font-weight: 300;
	color: var(--ink30);
}
.ph-sub {
	font-size: 14px;
	color: var(--ink60);
	margin-top: 12px;
	max-width: 560px;
	line-height: 1.65;
}

/* BREADCRUMB */
.breadwrap {
	padding-top: 100px;
	background: var(--white);
	border-bottom: 1px solid var(--ink08);
}
.bc {
	max-width: var(--W);
	margin: 0 auto;
	padding: 12px 44px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.bc a {
	font-size: 12px;
	font-weight: 500;
	color: var(--ink30);
	text-decoration: none;
	transition: color 0.15s;
}
.bc a:hover {
	color: var(--ink);
}
.bc-sep {
	font-size: 12px;
	color: var(--ink12);
}
.bc span {
	font-size: 12px;
	font-weight: 600;
	color: var(--ink);
}

/* PARTNER ÇİPİ — front şerit + hakkımızda ortak */
.pi {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 8px;
	background: #fff;
	border: 1.5px solid var(--ink12);
	border-radius: 100px;
	flex-shrink: 0;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.pi:hover {
	border-color: var(--ink30);
	box-shadow: 0 4px 14px rgba(26, 26, 46, 0.08);
}
.pi img {
	display: block;
	object-fit: contain;
}
.pi-mono {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
}
.pi-name {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--ink);
	white-space: nowrap;
}

/* FOOTER */
footer {
	background: #fff;
	border-top: 1px solid rgba(0, 89, 170, 0.1);
	position: relative;
	overflow: hidden;
}
.foot-top-bar {
	background: var(--navy-deep);
	width: 100%;
	padding: 0;
	display: block;
}
.foot-top-bar-inner {
	max-width: var(--W);
	margin: 0 auto;
	padding: 20px 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.foot-top-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}
.foot-top-brand img {
	height: 32px;
	width: auto;
	filter: brightness(0) invert(1);
}
.foot-top-social {
	display: flex;
	gap: 6px;
}
.fsoc {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition:
		border-color 0.2s,
		background 0.2s;
}
.fsoc:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.1);
}
.fsoc svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: rgba(255, 255, 255, 0.7);
	stroke-width: 1.7px;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.2s;
}
.fsoc:hover svg {
	stroke: #fff;
}
.fsoc .yt-play {
	fill: rgba(255, 255, 255, 0.7);
	stroke: none;
	transition: fill 0.2s;
}
.fsoc:hover .yt-play {
	fill: #fff;
}
.foot-inner {
	position: relative;
	z-index: 1;
	max-width: var(--W);
	margin: 0 auto;
	padding: 0 44px;
}
.foot-grid {
	display: grid;
	grid-template-columns: 2.2fr 1fr 1fr 1fr;
	gap: 44px;
	padding: 44px 0 36px;
	border-bottom: 1px solid rgba(0, 89, 170, 0.08);
}
.foot-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	margin-bottom: 14px;
}
.foot-logo-bg {
	background: var(--cream);
	border-radius: 7px;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	border: 1px solid rgba(0, 89, 170, 0.1);
}
.foot-logo-bg img {
	height: 26px;
	width: auto;
	object-fit: contain;
	display: block;
}
.foot-brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.foot-brand-row .foot-brand {
	margin-bottom: 0;
}
.foot-brand-social {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 11px;
	background: var(--navy);
	border-radius: 7px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, transform 0.15s;
}
.foot-brand-social:hover {
	background: #0a66c2;
}
.foot-brand-social svg {
	fill: currentColor;
	width: 14px;
	height: 14px;
}
.foot-desc {
	font-size: 13px;
	color: var(--ink);
	opacity: 0.6;
	line-height: 1.7;
	max-width: 240px;
	margin-bottom: 16px;
}
.foot-ext {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--navy);
	text-decoration: none;
	transition: color 0.2s;
	opacity: 0.85;
}
.foot-ext:hover {
	opacity: 1;
	color: var(--red);
}
.foot-col h2 {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--navy);
	margin: 0 0 16px;
	opacity: 0.75;
}
.foot-col a {
	display: block;
	font-size: 13px;
	color: var(--ink);
	opacity: 0.7;
	text-decoration: none;
	margin-bottom: 9px;
	transition:
		color 0.15s,
		opacity 0.15s;
}
.foot-col a:hover {
	color: var(--navy);
	opacity: 1;
}
.foot-programs {
	padding: 16px 0;
	border-bottom: 1px solid rgba(0, 89, 170, 0.06);
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.fp-lbl {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
	opacity: 0.5;
	white-space: nowrap;
}
.fp-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}
.fp-link {
	font-size: 12px;
	color: var(--ink);
	opacity: 0.55;
	text-decoration: none;
	transition:
		color 0.15s,
		opacity 0.15s;
}
.fp-link:hover {
	color: var(--navy);
	opacity: 1;
}
.foot-logos {
	padding: 20px 0;
	border-bottom: 1px solid rgba(0, 89, 170, 0.06);
	display: flex;
	align-items: center;
	gap: 28px;
}
.foot-logos img {
	height: 48px;
	width: auto;
	object-fit: contain;
	opacity: 0.8;
	transition: opacity 0.2s;
}
.foot-logos img:hover {
	opacity: 1;
}
.foot-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
}
.foot-copy {
	font-size: 11.5px;
	color: var(--ink);
	opacity: 0.5;
}
.foot-legal {
	display: flex;
	gap: 16px;
}
.foot-legal a {
	font-size: 11.5px;
	color: var(--ink);
	opacity: 0.5;
	text-decoration: none;
	transition:
		color 0.15s,
		opacity 0.15s;
}
.foot-legal a:hover {
	color: var(--navy);
	opacity: 1;
}

/* CTA STRIP (iç sayfalarda kullanılan koyu band) */
.cta-strip {
	background: #001b2e;
	padding: 56px 0;
	position: relative;
	overflow: hidden;
}
.cta-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			ellipse 50% 70% at 0% 50%,
			rgba(255, 255, 255, 0.04),
			transparent 55%
		),
		radial-gradient(
			ellipse 40% 60% at 100% 50%,
			rgba(255, 255, 255, 0.03),
			transparent 55%
		);
	pointer-events: none;
}
.cta-strip::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(
		rgba(255, 255, 255, 0.03) 1px,
		transparent 1px
	);
	background-size: 24px 24px;
	pointer-events: none;
}
.cs-inner {
	max-width: var(--W);
	margin: 0 auto;
	padding: 0 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	position: relative;
	z-index: 1;
}
.cs-kicker {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 8px;
}
.cs-h {
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1.1;
}
.cs-h .dim {
	font-weight: 300;
	color: rgba(255, 255, 255, 0.3);
}
.cs-btns {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.cs-btn-w {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--red);
	color: #fff;
	padding: 11px 22px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s;
}
.cs-btn-w:hover {
	opacity: 0.88;
}
.cs-btn-o {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1.5px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.6);
	padding: 10px 20px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition:
		border-color 0.2s,
		color 0.2s;
}
.cs-btn-o:hover {
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
}

/* PAGINATION */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-top: 48px;
	margin-bottom: 56px;
}
.pg-btn {
	width: 36px;
	height: 36px;
	border: 1.5px solid var(--ink12);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink60);
	cursor: pointer;
	transition: all 0.15s;
	background: var(--white);
	font-family: "Inter", sans-serif;
}
.pg-btn:hover {
	border-color: var(--navy);
	color: var(--navy);
}
.pg-btn.on {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}
.pg-dots {
	width: 32px;
	text-align: center;
	font-size: 13px;
	color: var(--ink30);
}
.pg-nav {
	width: 36px;
	height: 36px;
	border: 1.5px solid var(--ink12);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s;
	background: var(--white);
}
.pg-nav:hover {
	border-color: rgba(0, 89, 170, 0.3);
	background: rgba(0, 89, 170, 0.06);
}
.pg-nav svg {
	width: 13px;
	height: 13px;
	stroke: var(--ink60);
	fill: none;
	stroke-width: 2;
}

/* REVEAL ANIMATION */
.rv {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
}
.rv.vis {
	opacity: 1;
	transform: none;
}

/* RESPONSIVE */
@media (max-width: 960px) {
	.gcip-nav {
		padding: 0 20px;
	}
	/* 7 öğeli menü: tek satır, yatay kaydırılabilir */
	.nav-links {
		overflow-x: auto;
		scrollbar-width: none;
		flex: 1;
		min-width: 0;
		justify-content: flex-start;
	}
	.nav-links::-webkit-scrollbar {
		display: none;
	}
	.nl {
		white-space: nowrap;
	}
	.nav-r .nbs {
		display: none;
	}
	.W {
		padding: 0 20px;
	}
	.foot-inner {
		padding: 0 20px;
	}
	.foot-grid {
		grid-template-columns: 1fr 1fr;
	}
	.cs-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.gcip-nav {
		flex-wrap: wrap;
		height: auto;
		min-height: 64px;
		padding-top: 10px;
		padding-bottom: 10px;
		row-gap: 6px;
	}
	.nav-links {
		order: 3;
		width: 100%;
		padding: 6px 0 2px;
	}
}

/* ═══════════════════════════════════════════════════════════
   DRUPAL ADMIN TOOLBAR UYUMU
   Admin olarak front-end sayfaları ziyaret edildiğinde
   toolbar ile çakışmaları önler.
   body.toolbar-fixed → Drupal toolbar açık
   ═══════════════════════════════════════════════════════════ */

/* ── DRUPAL ADMIN TOOLBAR UYUMU ── */

/* backdrop-filter kaldırıldı — stacking context sorunu çözüldü */

/* overflow:hidden toolbar sidebar'ı kesmemeli */
body.toolbar-fixed,
body.toolbar-tray-open {
	overflow-x: visible !important;
}

/* ── YATAY toolbar (üstte 39px bar) ── */
/* ann-bar toolbar'ın altına iner */
body.toolbar-horizontal.toolbar-fixed .ann-bar {
	top: 39px;
}
body.toolbar-horizontal.toolbar-fixed .gcip-nav {
	top: calc(39px + 36px);
}
/* Tray açıkken ek yükseklik (~79px toplam) */
body.toolbar-horizontal.toolbar-tray-open.toolbar-fixed .ann-bar {
	top: 79px;
}
body.toolbar-horizontal.toolbar-tray-open.toolbar-fixed .gcip-nav {
	top: calc(79px + 36px);
}

/* ── DİKEY toolbar (solda sidebar ~240px) ── */
/* fixed elementlerin genişliği sidebar'dan sonra başlar */
body.toolbar-vertical.toolbar-fixed .ann-bar,
body.toolbar-vertical.toolbar-fixed .gcip-nav {
	top: 0;
}
body.toolbar-vertical.toolbar-fixed .ann-bar {
	left: 39px; /* collapsed sidebar genişliği */
}
body.toolbar-vertical.toolbar-fixed .gcip-nav {
	top: 36px;
	left: 39px;
}
/* Tray açık — sidebar genişler (240px = 15rem) */
body.toolbar-tray-open.toolbar-vertical.toolbar-fixed .ann-bar {
	left: 240px;
}
body.toolbar-tray-open.toolbar-vertical.toolbar-fixed .gcip-nav {
	top: 36px;
	left: 240px;
}
