/* Genel site — sabit üst çubuk (index, kayıt, giriş) */

.site-header {
	z-index: 1030;
	background: linear-gradient(180deg, #0a0a0c 0%, #060608 100%);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.site-header::after {
	content: "";
	display: block;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(var(--dba-accent-rgb, 255, 193, 7), 0.35) 20%,
		var(--dba-accent, #ffc107) 50%,
		rgba(var(--dba-accent-rgb, 255, 193, 7), 0.35) 80%,
		transparent 100%
	);
	opacity: 0.9;
}

.site-nav-inner {
	--site-nav-pad-y: 0.65rem;
	padding-top: var(--site-nav-pad-y);
	padding-bottom: var(--site-nav-pad-y);
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: inherit;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.site-brand:hover {
	color: #fff;
}

.site-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--dba-accent, #ffc107) 0%, var(--dba-accent-mid, #e0a800) 50%, var(--dba-accent-deep, #b8860b) 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.12) inset,
		0 2px 8px rgba(var(--dba-accent-rgb, 255, 193, 7), 0.25);
	flex-shrink: 0;
}

/* Logo: dairesel .site-brand-mark ile aynı hiyerarşide değil — çakışma yok */
.site-brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	flex-shrink: 0;
	line-height: 0;
}

.site-brand-logo__img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(15.6rem, 52vw);
	max-height: 3.445rem;
	object-fit: contain;
	object-position: left center;
	border-radius: 0.25rem;
}

.site-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	text-align: left;
}

.site-brand-title {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
	color: #fff;
}

.site-brand-sub {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	color: var(--dba-accent, #ffc107);
	margin-top: 0.15rem;
}

.site-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border-radius: 0.375rem;
	padding: 0.45rem 0.75rem !important;
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78) !important;
	transition:
		color 0.15s ease,
		background-color 0.15s ease;
	border: 1px solid transparent;
}

.site-nav-link:hover {
	color: var(--dba-accent, #ffc107) !important;
	background-color: rgba(var(--dba-accent-rgb, 255, 193, 7), 0.08);
}

.site-nav-link.active {
	color: var(--dba-accent, #ffc107) !important;
	border-color: rgba(var(--dba-accent-rgb, 255, 193, 7), 0.35);
	background-color: rgba(var(--dba-accent-rgb, 255, 193, 7), 0.06);
}

.site-header-toggler {
	border-color: rgba(var(--dba-accent-rgb, 255, 193, 7), 0.45);
}

/* Ana sayfa slider */
.site-slider-slide-frame {
	position: relative;
	isolation: isolate;
}

.site-slider-media,
.site-slider-media-link {
	display: block;
	line-height: 0;
}

.site-hero-slider .site-slider-img {
	width: 100%;
	aspect-ratio: 21 / 9;
	max-height: min(72vh, 560px);
	object-fit: cover;
	background: #111;
}

@media (max-width: 767.98px) {
	.site-hero-slider .site-slider-img {
		aspect-ratio: 16 / 10;
		max-height: 48vh;
	}

	.site-slider-title-overlay__content {
		padding: 1rem 1rem 2.2rem;
	}

	.site-slider-title-heading {
		font-size: clamp(1.55rem, 6.2vw, 2.35rem);
		line-height: 1.1;
	}
}

/* Başlık — görselin üstü, okunaklı şerit + altın vurgu */
.site-slider-title-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	pointer-events: none;
}

.site-slider-title-overlay__gradient {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: min(42%, 220px);
	min-height: 5.5rem;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.88) 0%,
		rgba(0, 0, 0, 0.45) 55%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
}

.site-slider-title-overlay__content {
	position: relative;
	padding: 1.1rem 1.25rem 2.5rem;
}

@media (min-width: 768px) {
	.site-slider-title-overlay__content {
		padding: 1.35rem 1.75rem 3rem;
	}
}

.site-slider-title-block {
	display: flex;
	align-items: stretch;
	gap: 0.85rem;
	max-width: 52rem;
}

.site-slider-title-accent {
	flex-shrink: 0;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--dba-accent-light, #ffe082) 0%, var(--dba-accent, #ffc107) 40%, var(--dba-accent-mid, #e0a800) 100%);
	box-shadow:
		0 0 20px rgba(var(--dba-accent-rgb, 255, 193, 7), 0.45),
		0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.site-slider-title-heading {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	font-weight: 800;
	font-size: clamp(1.4rem, 4.6vw, 2.5rem);
	line-height: 1.12;
	letter-spacing: 0.02em;
	color: #fff;
	word-break: break-word;
	hyphens: auto;
	text-shadow:
		0 1px 0 rgba(0, 0, 0, 0.9),
		0 4px 24px rgba(0, 0, 0, 0.75),
		0 0 1px rgba(0, 0, 0, 1);
}

/* Aktif slaytta hafif giriş */
.carousel-item.active .site-slider-title-heading {
	animation: siteSliderTitleIn 0.55s ease-out both;
}

@keyframes siteSliderTitleIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.site-slider-indicators {
	margin-bottom: 0.5rem;
	z-index: 3;
}

.site-slider-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	opacity: 0.55;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-slider-indicators [data-bs-target].active {
	opacity: 1;
	transform: scale(1.15);
}
