.navbar {
	font-family: font3;
	z-index: 1000;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	width: 100vw;
	max-width: 100%;
	border-bottom: 1px solid #8888889b;
	/* background: #0c03482f; */
	border-radius: 0.2rem;
	padding: 0 1rem;
	backdrop-filter: blur(20px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin: 0 1rem;
}

.logo img {
	max-height: 50px;
	width: auto;
	transition: all 0.3s ease;
	object-fit: contain;
}

.nav-list {
	padding: 0 12px;
	list-style: none;
	display: flex;
	transition: all 0.3s ease;
}

.nav-list li {
	margin: 0 12px;
}

.nav-list a {
	color: white;
	text-decoration: none;
	padding: 0.4rem 0.8rem;
	transition: all 0.3s ease;
	display: block;
	font-size: 0.95rem;
}

.nav-list a:hover {
	background-color: #030140;
	border-radius: 5px;
	letter-spacing: 0.1rem;
}

#active {
	background-color: #030140;
	border-radius: 0.5rem;
}

/* ===== HAMBURGER STYLES ===== */
.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	z-index: 1001;
	padding: 10px;
}

.bar {
	height: 2px;
	width: 22px;
	background-color: white;
	margin: 3px 0;
	transition: all 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

body.menu-open {
	overflow: hidden;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
	.navbar {
		padding: 10px 15px;
	}

	.logo img {
		max-height: 45px;
	}

	.menu-toggle {
		display: flex;
	}

	.nav-list {
		display: none;
		flex-direction: column;
		width: 100vw;
		position: absolute;
		top: 65px;
		left: 0;
		background: rgba(8, 8, 8, 0.95);
		backdrop-filter: blur(20px);
		padding: 15px 0;
		text-align: center;
		border-radius: 0 0 10px 10px;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
		z-index: 1000;
		opacity: 0;
		transform: translateY(-10px);
		transition: all 0.3s ease;
	}

	.nav-list li {
		margin: 12px 0;
	}

	.nav-list a {
		font-size: 1.1rem;
		padding: 8px;
	}

	.nav-list.active {
		display: flex;
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 480px) {
	.navbar {
		padding: 8px 12px;
	}

	.logo img {
		max-height: 35px;
	}

	.nav-list {
		top: 55px;
	}
}
