/* --- Base Header Layout --- */
.header-nav {
	display: flex;
	gap: 2rem;
	align-items: center;
	transition: all 0.4s ease;
}

.header-nav ul {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --- Desktop Navigation --- */
.header-nav a {
	font-weight: 500;
	color: #f1f1f1;
	text-decoration: none;
	transition: color 0.3s ease;
}

.header-nav a:hover {
	color: #ffcc70;
}

/* --- Mobile Toggle Button (Hidden on Desktop) --- */
.mobile-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	width: 40px;
	height: 30px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 10000;
	transition: transform 0.3s ease;
}

.mobile-nav-toggle span {
	height: 3px;
	width: 100%;
	background: #f1f1f1;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

/* .mobile-nav-toggle span:not(:last-child) {
	margin-bottom: 5px;
} */

/* --- Mobile Styles --- */
@media (max-width: 900px) {
	.mobile-nav-toggle {
		display: flex; /* Show toggle button on mobile */
	}

	.header-nav ul {
		display: block;
	}

	.header-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background: rgba(17, 17, 17, 0.98);
		backdrop-filter: blur(10px);
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 6rem 2rem 2rem;
		gap: 1.5rem;
		transition: left 0.4s ease-in-out;
		z-index: 9999;
	}

	.header-nav.open {
		right: 0;
	}

	body.nav-open {
		overflow: hidden;
	}

	/* --- Animate burger to X --- */
	.mobile-nav-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.mobile-nav-toggle.active span:nth-child(2) {
		opacity: 0;
		transform: translateX(-10px);
	}

	.mobile-nav-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}

	/* --- Mobile Nav Links --- */
	.header-nav a {
		color: #fff;
		font-size: 1.2rem;
		font-weight: 500;
		width: 100%;
		display: block;
		padding: 0.5rem 0;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		transition: all 0.3s ease;
	}

	.header-nav a:hover {
		gap: 0px !important;
    }
}