/* /assets/css/navbar.css
   ============================================================
   THREE-TIER HEADER — Dark + gold themed for special page
   ============================================================ */

/* ─── Row 1: Utility Bar ─── */
.utility-bar {
	background: #000;
	border-bottom: 1px solid rgba(171, 87, 45, 0.15);
	height: 32px;
	display: none; /* hidden on mobile */
	overflow: hidden;
}

.utility-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 12px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.utility-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.7);
	padding: 0 12px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	white-space: nowrap;
	line-height: 1;
	text-decoration: none;
	transition: color 0.15s;
}

.utility-item:last-child {
	border-right: none;
}

.utility-item:hover {
	color: #fff;
}

.utility-item .util-icon {
	font-size: 0.78rem;
	opacity: 0.85;
	color: #ab572d;
}

.utility-item .util-label {
	font-weight: 400;
}

.utility-item .util-highlight {
	color: #ab572d;
	font-weight: 500;
}

/* Hide specific items on smaller screens */
.utility-item.hide-tablet {
	display: none;
}

/* ─── Row 2: Main Navigation ─── */
.site-nav {
	background: #000;
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
	border-bottom: 1px solid rgba(171, 87, 45, 0.1);
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
	height: 60px;
	gap: 12px;
}

/* Logo area */
.nav-logo-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none;
}

.nav-logo-icon {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: block;
	flex-shrink: 0;
	color: #ab572d;
}

.nav-logo-text {
	display: flex;
	flex-direction: column;
}

.nav-logo-brand {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.nav-logo-tagline {
	font-size: 0.62rem;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.2;
	font-weight: 400;
	white-space: nowrap;
}

/* Right actions */
.nav-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.nav-action-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.82rem;
	font-weight: 500;
	text-decoration: none;
	transition:
		background 0.15s,
		color 0.15s;
	white-space: nowrap;
}

.nav-action-link:hover {
	background: rgba(171, 87, 45, 0.12);
	color: #fff;
}

.nav-action-link .action-icon {
	font-size: 1rem;
	line-height: 1;
	color: #ab572d;
}

.nav-action-link.nav-wa {
	color: #25d366;
}

.nav-action-link.nav-wa:hover {
	background: rgba(37, 211, 102, 0.12);
}

/* Mobile toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-shrink: 0;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* ─── Row 3: Category Navigation ─── */
.category-nav {
	background: #111;
	border-top: 1px solid rgba(171, 87, 45, 0.1);
	border-bottom: 1px solid rgba(171, 87, 45, 0.1);
	height: 38px;
	overflow: hidden;
}

.category-nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 12px;
	height: 100%;
	display: flex;
	align-items: center;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	gap: 0;
}

.category-nav-inner::-webkit-scrollbar {
	display: none;
}

.category-link {
	flex-shrink: 0;
	padding: 0 14px;
	height: 100%;
	display: inline-flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	white-space: nowrap;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	transition:
		color 0.15s,
		background 0.15s;
	position: relative;
}

.category-link:last-child {
	border-right: none;
}

.category-link:hover {
	color: #fff;
	background: rgba(171, 87, 45, 0.08);
}

.category-link.active {
	color: #fff;
}

.category-link.active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 8px;
	right: 8px;
	height: 2px;
	background: #ab572d;
	border-radius: 1px 1px 0 0;
}

.category-link .cat-icon {
	margin-right: 5px;
	font-size: 0.82rem;
	color: #ab572d;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
	display: none;
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	z-index: 199;
	flex-direction: column;
	padding: 12px 16px 20px;
	overflow-y: auto;
}

.mobile-menu.open {
	display: flex;
}

.mobile-menu-section {
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-section:last-child {
	border-bottom: none;
}

.mobile-menu-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.35);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}

.mobile-menu-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
	background: rgba(171, 87, 45, 0.1);
	color: #fff;
}

.mobile-menu-link .mm-icon {
	font-size: 1.1rem;
	width: 24px;
	text-align: center;
	flex-shrink: 0;
	color: #ab572d;
}

/* ─── Spacer for sticky nav ─── */
.nav-spacer {
	display: none;
}

/* ─── RESPONSIVE: Tablet+ (≥768px) ─── */
@media (min-width: 768px) {
	.utility-bar {
		display: block;
	}

	.utility-item.hide-tablet {
		display: inline-flex;
	}

	.mobile-menu {
		display: none !important;
	}
}

/* ─── RESPONSIVE: Mobile (<768px) ─── */
@media (max-width: 767px) {
	.nav-toggle {
		display: flex;
	}

	.nav-actions {
		display: none;
	}

	.category-nav {
		height: 36px;
	}

	.category-link {
		font-size: 0.74rem;
		padding: 0 12px;
	}

	.nav-logo-brand {
		font-size: 0.92rem;
	}

	.nav-logo-tagline {
		font-size: 0.58rem;
	}

	.nav-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* ─── Very small screens ─── */
@media (max-width: 380px) {
	.nav-logo-icon {
		width: 28px;
		height: 28px;
	}

	.nav-logo-brand {
		font-size: 0.85rem;
	}

	.category-link {
		font-size: 0.7rem;
		padding: 0 10px;
	}
}