/* =========================================================================
   ZEEM Glass Nav — shared component
   Single authoritative source for all nav styles across every template.
   Loaded for all inner pages via functions.php; do NOT duplicate these
   rules in page-specific stylesheets.
   ========================================================================= */

.nav-wrapper,
.nav-wrapper * {
	box-sizing: border-box;
}

.nav-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	justify-content: center;
	padding: 14px 4%;
	pointer-events: none;
}

.glass-nav {
	width: 100%;
	max-width: 1400px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 32px;
	background: rgba( 11, 26, 46, 0.55 );
	-webkit-backdrop-filter: blur( 16px );
	backdrop-filter: blur( 16px );
	border: 1px solid rgba( 201, 169, 110, 0.06 );
	border-radius: 5px;
	pointer-events: all;
	transition: background 0.4s ease, border-color 0.4s ease;
	font-family: 'Outfit', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

.glass-nav.scrolled {
	background: rgba( 11, 26, 46, 0.78 );
	border-color: rgba( 201, 169, 110, 0.1 );
}

/* Logo */
.nav-logo {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.15em;
	color: #C9A96E;
	text-decoration: none;
	transition: opacity 0.3s ease;
}
.nav-logo:hover { opacity: 0.8; }

/* Right cluster (links + optional back) */
.nav-right {
	display: flex;
	align-items: center;
	gap: 36px;
}

/* Links list */
.nav-links {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-links a {
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.08em;
	color: #8A92A1;
	text-decoration: none;
	transition: color 0.3s ease;
	position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #C9A96E; }
.nav-links a.active::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba( 201, 169, 110, 0.35 );
}

/* Back link (single project / single post only) */
.nav-back {
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.06em;
	color: #8A92A1;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: color 0.3s ease, gap 0.3s ease;
	padding-left: 24px;
	border-left: 1px solid rgba( 201, 169, 110, 0.1 );
}
.nav-back:hover { color: #C9A96E; gap: 10px; }
.nav-back .back-arrow {
	transition: transform 0.3s ease;
	display: inline-block;
}
.nav-back:hover .back-arrow { transform: translateX( -2px ); }

/* =========================================================================
   MOBILE
   ========================================================================= */
@media ( max-width: 768px ) {
	.nav-wrapper { padding: 10px 12px; }
	.glass-nav   { padding: 12px 18px; }
	.nav-logo    { font-size: 16px; }
	.nav-links   { gap: 18px; }
	.nav-links a { font-size: 12px; }
	.nav-back    { font-size: 11px; padding-left: 14px; gap: 4px; }
}
