/* ============================================
   Navbar v2 — Transparent to solid, mega dropdown
   ============================================ */

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--navbar-height, 70px);
	z-index: 1000;
	background: transparent;
	transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.nav-scrolled {
	background: rgba(27, 42, 54, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Top scrim so nav links/logo stay legible over ANY hero (bright photo or
   the light strip above inner-page heroes) while the navbar is still
   transparent. Applied as background-image so it always paints behind the
   nav content; it is cleared by the solid `background` of .nav-scrolled. */
.navbar:not(.nav-scrolled) {
	background-image: linear-gradient(180deg, rgba(27, 42, 54, 0.65), rgba(27, 42, 54, 0));
}
.navbar:not(.nav-scrolled) .nav-link:not(.nav-link-cta) {
	color: #fff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.navbar:not(.nav-scrolled) .nav-link.active:not(.nav-link-cta) {
	color: var(--color-gold) !important;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 0 clamp(20px, 4vw, 64px);
	max-width: 1600px;
	margin: 0 auto;
}

/* Logo */
.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	z-index: 1001;
}
.nav-logo img {
	height: 40px;
	width: auto;
	transition: opacity 0.3s ease;
}

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

.nav-links {
	display: none;
}

@media (min-width: 1024px) {
	.nav-links {
		display: flex;
		align-items: center;
	}
}

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

.nav-item {
	position: relative;
	padding: 0 !important;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 16px !important;
	font-family: var(--font-accent, 'Be Vietnam Pro', sans-serif);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.65) !important;
	text-decoration: none;
	border: none;
	border-radius: 8px;
	transition: color 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}
.nav-link svg {
	width: 10px;
	height: 6px;
	transition: transform 0.3s ease;
	opacity: 0.5;
}

.nav-link:hover,
.nav-link.active {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
	color: var(--color-gold, #FFC000) !important;
}

/* CTA button in nav */
.nav-link-cta {
	background: var(--color-gold, #FFC000) !important;
	color: var(--color-navy, #1B2A36) !important;
	font-weight: 600 !important;
	padding: 8px 20px !important;
	border-radius: 8px;
	margin-left: 8px;
}
.nav-link-cta:hover {
	background: var(--color-gold-dark, #E6AC00) !important;
	color: var(--color-navy, #1B2A36) !important;
}

/* ============================================
   Desktop Dropdown (mega-menu style)
   ============================================ */

.nav-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 340px;
	background: var(--color-navy-light, #243644);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	z-index: 1000;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .nav-link svg {
	transform: rotate(180deg);
}

.nav-dropdown-inner {
	display: flex;
	gap: 8px;
}

.nav-dropdown-col {
	flex: 1;
	min-width: 0;
}

.nav-dropdown-label {
	display: block;
	font-family: var(--font-accent, 'Be Vietnam Pro', sans-serif);
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-gold, #FFC000);
	padding: 10px 14px 6px;
	margin-bottom: 4px;
}

.nav-dropdown-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.nav-dropdown-item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-item i {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(255, 192, 0, 0.1);
	color: var(--color-gold, #FFC000);
	font-size: 0.85rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.nav-dropdown-item strong {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 2px;
}

.nav-dropdown-item span {
	display: block;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.3;
}

/* ============================================
   Mobile Hamburger Button
   ============================================ */

.nav-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
	padding: 0;
	gap: 6px;
}

@media (min-width: 1024px) {
	.nav-hamburger {
		display: none;
	}
}

.nav-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.25s ease;
}

/* Open state */
.nav-hamburger.is-open span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   Mobile Overlay Menu
   ============================================ */

.nav-mobile-overlay {
	position: fixed;
	inset: 0;
	background: var(--color-navy, #1B2A36);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.nav-mobile-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

@media (min-width: 1024px) {
	.nav-mobile-overlay {
		display: none !important;
	}
}

.nav-mobile-content {
	padding: calc(var(--navbar-height, 70px) + 24px) 28px 40px;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.nav-mobile-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
}

.nav-mobile-menu > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile-menu > li > a,
.nav-mobile-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 0;
	font-family: var(--font-accent, 'Be Vietnam Pro', sans-serif);
	font-size: 1.1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.2s ease;
}
.nav-mobile-menu > li > a:hover,
.nav-mobile-toggle:hover {
	color: var(--color-gold, #FFC000);
}

.nav-mobile-toggle svg {
	width: 12px;
	height: 7px;
	transition: transform 0.3s ease;
	opacity: 0.4;
}
.nav-mobile-toggle.is-open svg {
	transform: rotate(180deg);
}

.nav-mobile-sub {
	list-style: none;
	padding: 0 0 12px 16px;
	margin: 0;
	display: none;
}
.nav-mobile-sub.is-open {
	display: block;
}

.nav-mobile-sub a {
	display: block;
	padding: 10px 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 0.2s ease;
}
.nav-mobile-sub a:hover {
	color: var(--color-gold, #FFC000);
}

/* CTA button mobile */
.nav-mobile-cta {
	display: inline-block !important;
	background: var(--color-gold, #FFC000) !important;
	color: var(--color-navy, #1B2A36) !important;
	padding: 14px 28px !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	text-align: center;
	margin-top: 16px;
	width: 100%;
}

/* Mobile footer inside overlay */
.nav-mobile-footer {
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: auto;
}
.nav-mobile-footer p {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 12px;
}
.nav-mobile-social {
	display: flex;
	gap: 12px;
}
.nav-mobile-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	font-size: 1.1rem;
	transition: all 0.3s ease;
}
.nav-mobile-social a:hover {
	color: var(--color-navy, #1B2A36);
	background: var(--color-gold, #FFC000);
	border-color: var(--color-gold, #FFC000);
}

/* ============================================
   Scroll Progress Bar
   ============================================ */

.scroll-progress {
	position: fixed;
	top: var(--navbar-height, 70px);
	left: 0;
	width: 0%;
	height: 2px;
	background: var(--color-gold, #FFC000);
	z-index: 1001;
	transition: width 0.1s linear;
}
