/* =================================
   HEADER & NAVIGATION
   ================================= */

/* Header Container */
.site-header {
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Branding */
.site-branding .site-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-branding .site-title:hover {
	color: #cc99ff;
}

/* Desktop Navigation */
.desktop-nav {
	display: flex;
}

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

.nav-menu li {
	position: relative;
}

.nav-menu a {
	color: #333;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 400;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
	text-transform: lowercase;
}

.nav-menu a:hover {
	color: #cc99ff;
}

/* Active state */
.nav-menu li.active a {
	color: #cc99ff;
	font-weight: 500;
}

.nav-menu li.active a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #cc99ff;
}

/* Hamburger Button */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 2rem;
	height: 2rem;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
}

.hamburger-line {
	width: 2rem;
	height: 0.2rem;
	background: #333;
	border-radius: 10px;
	transition: all 0.3s ease;
	transform-origin: 1px;
}

.hamburger.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
	opacity: 0;
	transform: translateX(20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
	display: none;
	position: fixed;
	top: 4.5rem;
	left: 0;
	width: 100%;
	background: #000000;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.mobile-nav.active {
	max-height: 100vh;
}

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

.mobile-menu li {
	border-bottom: 1px solid #333;
}

.mobile-menu a {
	display: block;
	padding: 1rem 2rem;
	color: #ffffff;
	text-decoration: none;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	text-transform: lowercase;
}

.mobile-menu a:hover {
	background: #1a1a1a;
	color: #cc99ff;
	padding-left: 2.5rem;
}

.mobile-menu li.active a {
	color: #cc99ff;
	background: #1a1a1a;
	font-weight: 500;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

/* Tablet */
@media (max-width: 768px) {
	.header-container {
		padding: 1rem 1.5rem;
	}

	.desktop-nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.mobile-nav {
		display: block;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.header-container {
		padding: 1rem;
	}

	.site-branding .site-title {
		font-size: 1.2rem;
	}

	.hamburger {
		width: 1.75rem;
		height: 1.75rem;
	}

	.hamburger-line {
		width: 1.75rem;
	}

	.mobile-nav {
		top: 4rem;
	}

	.mobile-menu a {
		font-size: 1rem;
		padding: 0.875rem 1.5rem;
	}
}

/* =================================
   ACCESSIBILITY
   ================================= */

/* Focus states */
.site-branding .site-title:focus,
.nav-menu a:focus,
.hamburger:focus,
.mobile-menu a:focus {
	outline: 2px solid #cc99ff;
	outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
	.site-header {
		border-bottom: 2px solid #000;
	}

	.nav-menu a,
	.mobile-menu a {
		font-weight: 500;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.nav-menu a,
	.mobile-menu a,
	.hamburger-line,
	.mobile-nav {
		transition: none;
	}
}
