/**
 * NH Makelaar — Owned header and navigation, matched to live site
 */

.nh-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999999999;
	width: 100%;
	height: 107px;
	background: transparent;
	color: #808080;
	font-family: 'Rubik', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.2;
	border: 0px solid #808080;
}

.nh-header__wrap {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin: 0 auto;
	padding: 20px;
	max-width: 1440px;
	position: relative;
	height: 107px;
}

.nh-header a {
	color: #fff;
	text-decoration: none;
}

.nh-header__brand img,
.nh-header__brand a {
	display: inline-block;
	max-height: 67px;
	width: auto;
}

.nh-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1;
	gap: 0;
	padding-left: 15px;
}

.nh-header__menu,
.nh-header__menu .sub-menu,
.nh-header__menu .nh-header__sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nh-header__menu {
	display: flex;
	gap: 1.5rem;
}

.nh-header__menu a {
	font-size: 1.5rem;
	font-weight: 500;
	color: #fff;
}

.nh-header__menu a:hover,
.nh-header__menu a:focus {
	opacity: 0.8;
}

.nh-header__menu .menu-item-has-children {
	position: relative;
}

.nh-header__sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 200px;
	padding: 0.5rem 0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nh-header__sub-menu a {
	color: #1a1a1a;
	display: block;
	padding: 0.5rem 1rem;
}

.nh-header__menu .menu-item-has-children:hover > .nh-header__sub-menu,
.nh-header__menu .menu-item-has-children:focus-within > .nh-header__sub-menu {
	display: block;
}

.nh-header__phone a {
	font-size: 1.5rem;
	font-weight: 700;
	white-space: nowrap;
}

.nh-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.nh-header__toggle span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	margin: 3px 0;
	transition: transform 0.2s, opacity 0.2s;
}

.nh-header__toggle.is-active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.nh-header__toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.nh-header__toggle.is-active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 767px) {
	.nh-header {
		background: #303030;
		position: relative;
	}

	.nh-header__wrap {
		display: block;
		padding: 1.5rem;
		max-width: none;
	}

	.nh-header__brand {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.nh-header__toggle {
		display: flex;
	}

	.nh-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: #303030;
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
		gap: 1rem;
		box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	}

	.nh-header__nav.open {
		display: flex;
	}

	.nh-header__menu {
		flex-direction: column;
		width: 100%;
	}

	.nh-header__sub-menu {
		position: static;
		box-shadow: none;
		background: transparent;
		padding-left: 1rem;
	}

	.nh-header__sub-menu a {
		color: #fff;
	}
}
