/* Header & Navigation Styles */
header {
	background: #3282b8;
	/* Light blue (highlight color) */
	color: white;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: var(--z-header);
	transition: all var(--transition-normal);
	box-shadow: var(--shadow-sm);
}

header.scrolled {
	background: rgba(50, 130, 184, 0.95);
	backdrop-filter: blur(10px);
}

nav {
	background: rgba(255, 255, 255, 0.05);
	/* Grey bar background */
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	width: 100%;
}

nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	/* Vertically align items */
	justify-content: space-between;
	/* Spread items (Logo left, Contact right, Links auto) */
	gap: var(--spacing-md);
	padding: 0 var(--spacing-lg);
	max-width: 1400px;
	margin: 0 auto;
	height: 100px;
	/* Increased height for larger logo */
}

/* Nav Logo Item */
.nav-logo {
	margin-right: auto;
	/* Push everything else to the right, or help spacing */
	display: flex;
	align-items: center;
	width: 720px;
	/* Increased to balance the right side padding */
}

.logo-image {
	height: 90px;
	/* Increased logo size */
	width: auto;
	object-fit: contain;
	transition: transform var(--transition-normal);
}

.logo-image:hover {
	transform: scale(1.05);
}

/* Nav Contact Item */
.nav-contact {
	margin-left: auto;
	/* Push contact to the far right */
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 400px;
	gap: var(--spacing-md);
	padding-left: 20rem;
	/* Move content left as requested */
}

.contact-link {
	display: flex;
	align-items: center;
	gap: var(--spacing-xs);
	color: white;
	text-decoration: none;
	white-space: nowrap;
}

.contact-link svg {
	width: 20px;
	height: 20px;
}

.contact-link span {
	font-weight: 500;
	font-size: 0.8rem;
}

.contact-link:hover {
	color: var(--gold);
}

/* Regular Links */
nav a:not(.contact-link) {
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all var(--transition-normal);
	padding: var(--spacing-xs) 0;
	position: relative;
	white-space: nowrap;
}

nav a:not(.contact-link)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gold);
	transition: width var(--transition-normal);
}

nav a:not(.contact-link):hover::after {
	width: 100%;
}

@media (max-width: 968px) {
	nav ul {
		flex-direction: row;
		flex-wrap: wrap;
		height: auto;
		padding: 10px 5px;
		gap: 15px;
		justify-content: center;
	}

	.nav-logo {
		width: 100%;
		justify-content: center;
		margin: 0;
		padding-bottom: 5px;
	}

	.nav-contact {
		display: none;
		/* Hide contact info in header on mobile */
	}

	.logo-image {
		height: 50px;
	}
}

@media (max-width: 640px) {
	header {
		position: absolute;
	}

	.logo-image {
		height: 45px;
	}

	nav a:not(.contact-link) {
		font-size: 0.85rem;
		padding: 5px;
	}
}