/* ==========================================================================
   Header — Asia Finest
   ========================================================================== */

/* Skip link (accessibility) */
.af-skip-link {
	position: absolute;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	padding: 12px 24px;
	background: var(--af-gold, #805808);
	color: #0b0b0b;
	font-weight: 600;
	border-radius: 0 0 var(--af-radius, 18px) var(--af-radius, 18px);
	text-decoration: none;
	transition: top .3s ease;
}

.af-skip-link:focus {
	top: 0;
}

/* Sticky header with glassmorphism */
.af-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(16, 16, 16, .72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(248, 248, 248, .08);
}

/* Optional scroll state — applied via JS */
.af-header.af-scrolled {
	background: rgba(16, 16, 16, .92);
	border-bottom-color: rgba(248, 248, 248, .12);
}

/* Nav bar layout */
.af-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}

/* ---------- Brand ---------- */

.af-brand {
	display: flex;
	gap: 12px;
	align-items: center;
	letter-spacing: .08em;
	text-decoration: none;
	color: inherit;
}

.af-brand:hover,
.af-brand:focus {
	text-decoration: none;
	color: inherit;
}

.af-brand-mark {
	width: 34px;
	height: 34px;
	display: block;
	flex-shrink: 0;
}

.af-brand-name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-transform: uppercase;
}

.af-brand-name strong {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.2;
}

.af-brand-name span {
	font-size: 11px;
	color: rgba(248, 248, 248, .70);
	letter-spacing: .18em;
	line-height: 1.2;
}

/* ---------- Main navigation ---------- */

.af-main-nav {
	display: flex;
	align-items: center;
}

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

.af-menu li a {
	font-size: 14px;
	color: rgba(248, 248, 248, .82);
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.af-menu li a:hover,
.af-menu li a:focus {
	background: rgba(248, 248, 248, .06);
	color: var(--af-ivory, #F8F8F8);
}

.af-menu li.current-menu-item a,
.af-menu li.current_page_item a {
	color: var(--af-ivory, #F8F8F8);
}

/* ---------- Header actions ---------- */

.af-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* CTA button */
.af-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--af-gold, #805808);
	color: #0b0b0b;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .12);
	transition: background .2s ease, transform .15s ease;
	white-space: nowrap;
}

.af-header-cta:hover,
.af-header-cta:focus {
	background: #9a6a0a;
	color: #0b0b0b;
	text-decoration: none;
	transform: translateY(-1px);
}

/* ---------- Mobile toggle ---------- */

.af-mobile-toggle {
	display: none;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--af-ivory, #F8F8F8);
	padding: 6px;
}

.af-mobile-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	margin: 5px 0;
	border-radius: 2px;
	transition: transform .3s ease, opacity .3s ease;
}

/* Active state for hamburger — X shape */
.af-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

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

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

/* Mobile menu styles are defined in responsive.css */
