/* ==========================================================================
   Site Header - Refined Luxury Warm Glassmorphism (High Contrast)
   ========================================================================== */

.site-header {
	position: sticky;
	top: 18px;
	z-index: 1000;
	width: calc(100% - 32px);
	max-width: var(--sk-layout-content-size-desktop, 1200px);
	margin: 0 auto 34px;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(30, 28, 25, 0.65);
	backdrop-filter25px) saturate(120%);
	box-shadow:
		0 10px 30(25px) saturate(120%);
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	overflow: hidden;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease,
		background 0.3s ease;
}

.site-header::before,
.site-header::after {
	display: none;
}

.site-header:hover {
	background: rgba(30, 28, 25, 0.75);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.site-header > * {
	position: relative;
	z-index: 1;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 78px;
	padding: 14px 22px;
}

/* Branding
   ========================================================================== */

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex-shrink: 0;
}

.site-logo {
	display: flex;
	align-items: center;
}

.site-logo img,
.site-logo .custom-logo {
	display: block;
	width: auto;
	max-height: 44px;
	border-radius: 12px;
}

.site-logo img {
	box-shadow: 0 8px 20px rgba(103, 86, 63, 0.1);
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.site-title a {
	color: #ffffff;
	text-decoration: none;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	transition: color 0.24s ease, opacity 0.24s ease;
}

.site-title a:hover {
	color: #f1d08a;
}

.site-description {
	margin: 4px 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.8);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

/* Navigation
   ========================================================================== */

.site-navigation {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-navigation__inner {
	display: flex;
	align-items: center;
	padding: 4px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.site-navigation .site-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-navigation .site-menu li {
	position: relative;
}

.site-navigation .site-menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: transparent;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
	transition:
		color 0.24s ease,
		background 0.24s ease,
		border-color 0.24s ease,
		box-shadow 0.24s ease,
		transform 0.24s ease;
}

.site-navigation .site-menu a:hover,
.site-navigation .site-menu a:focus-visible {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow:
		0 8px 18px rgba(77, 62, 43, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	transform: translateY(-1px);
	outline: none;
}

.site-navigation .site-menu .current-menu-item > a,
.site-navigation .site-menu .current_page_item > a,
.site-navigation .site-menu .current-menu-ancestor > a,
.site-navigation .site-menu .current-page-ancestor > a {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.18);
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.14) 0%,
		rgba(255, 255, 255, 0.08) 100%
	);
	box-shadow:
		0 10px 22px rgba(64, 51, 35, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Accessibility / Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-navigation .site-menu a {
		transition: none;
	}
}

/* Responsive
   ========================================================================== */

@media (max-width: 991px) {
	.site-header {
		top: 12px;
		width: calc(100% - 20px);
		margin-bottom: 24px;
		border-radius: 20px;
	}

	.site-header__inner {
		min-height: 72px;
		padding: 12px 16px;
		gap: 16px;
	}

	.site-navigation__inner {
		padding: 3px;
		border-radius: 16px;
	}

	.site-navigation .site-menu {
		gap: 6px;
	}

	.site-navigation .site-menu a {
		min-height: 38px;
		padding: 8px 13px;
		font-size: 0.86rem;
		border-radius: 12px;
	}
}

@media (max-width: 640px) {
	.site-header {
		top: 10px;
	}

	.site-header__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.site-branding {
		justify-content: center;
		text-align: center;
	}

	.site-branding__text {
		align-items: center;
	}

	.site-navigation {
		display: flex;
		justify-content: center;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 2px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.site-navigation::-webkit-scrollbar {
		display: none;
	}

	.site-navigation__inner {
		width: max-content;
		max-width: 100%;
		margin: 0 auto;
	}

	.site-navigation .site-menu {
		width: max-content;
		min-width: 100%;
		justify-content: center;
	}
}
