/* Navigation Styles */
.nav * {
	font-family: Inter, sans-serif;
	font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}

.nav {
	position: static;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background-color: rgba(0, 0, 0, 0.75);
	z-index: 4;
}

.nav-logo-group {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.logo {
	height: 5rem;
}

.logo-caption {
	font-size: 1.8rem;
	font-weight: bold;
	color: white;
}

.nav-list {
	display: flex;
	flex-direction: row;
	gap: 1.8rem;
}

.nav-item {
	font-size: 1.8rem;
	list-style: none;
	color: white;
	font-weight: 300;
	cursor: pointer;
}

.nav-text {
	font-size: 1.8rem;
}

/* Dropdown Styles */
.dropdown {
	position: relative;
}

.dropdown-toggle {
	background: none;
	border: none;
	color: white;
	font-size: 1.8rem;
	font-weight: 300;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.dropdown-toggle .arrow {
	font-size: 1.2rem;
	transition: transform 0.2s;
}

.dropdown-toggle[aria-expanded='true'] .arrow {
	transform: rotate(180deg);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(0, 0, 0, 0.9);
	min-width: 200px;
	border-radius: 4px;
	padding: 0.5rem 0;
	display: none;
	list-style: none;
}

.dropdown-menu.show {
	display: block;
}

.dropdown-text {
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
}

.dropdown-menu a {
	padding: 1rem 1.5rem;
	display: block;
	white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
	background-color: rgba(255, 255, 255, 0.1);
}

.submenu-item a {
	padding-left: 3rem !important;
}

.dropdown-menu .submenu-item {
	background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger Menu Styles */
.hamburger {
	display: none;
	background: none;
	border: none;
	padding: 1rem;
	cursor: pointer;
}

.hamburger-box {
	width: 30px;
	height: 24px;
	display: inline-block;
	position: relative;
}

.hamburger-inner {
	width: 100%;
	height: 2px;
	background-color: white;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: white;
	left: 0;
}

.hamburger-inner::before {
	top: -8px;
}

.hamburger-inner::after {
	bottom: -8px;
}

nav a {
	color: inherit;
	text-decoration: none;
}

/* Mobile Navigation */
@media (max-width: 876px) {
	.hamburger {
		display: block;
	}

	.nav-list {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: rgba(0, 0, 0, 0.95);
		flex-direction: column;
		padding: 1rem;
	}

	.nav-list.show {
		display: flex;
	}

	.dropdown-menu {
		position: static;
		background-color: transparent;
		width: 100%;
	}

	.dropdown-menu .submenu-item {
		background-color: rgba(255, 255, 255, 0.03);
	}
}
