/**
 * Taxi Blauw header
 */

.tb-header-wrap {
	font-family: var(--tb-font-sans);
}

.tb-header__spacer {
	height: var(--tb-header-height);
}

.tb-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--tb-z-header);
	max-width: var(--tb-header-max-width);
	margin-inline: auto;
	padding-inline: 1rem;
	transition: all var(--tb-transition);
	transform: translateY(0);
	opacity: 1;
}

.tb-header.is-scrolled {
	max-width: none;
	padding-inline: 0;
}

.tb-header.is-hidden {
	transform: translateY(-100%);
	opacity: 0;
}

.tb-header__inner {
	max-width: var(--tb-header-max-width);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

/* TopBar */

.tb-header__topbar {
	background: var(--tb-topbar-bg);
	color: var(--tb-topbar-fg);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.tb-header__topbar .tb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--tb-topbar-height);
	height: var(--tb-topbar-height);
}

.tb-header__topbar-start {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
}

.tb-header__topbar-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--tb-topbar-fg);
	text-decoration: none;
	transition: opacity var(--tb-transition-fast);
}

.tb-header__topbar-link:hover,
.tb-header__topbar-link:focus-visible {
	color: var(--tb-topbar-fg);
	opacity: 0.8;
}

.tb-header__topbar-text {
	white-space: nowrap;
}

.tb-header__icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	stroke: currentColor;
}

/* Reviews */

.tb-header__reviews {
	display: none;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	color: var(--tb-topbar-fg);
	text-decoration: none;
	transition: opacity var(--tb-transition-fast);
}

@media (min-width: 640px) {
	.tb-header__reviews {
		display: inline-flex;
	}
}

.tb-header__reviews:hover,
.tb-header__reviews:focus-visible {
	color: var(--tb-topbar-fg);
	opacity: 0.8;
}

.tb-header__reviews-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.tb-header__google-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.tb-header__reviews-brand-text {
	font-weight: 600;
	font-size: 0.8125rem;
}

.tb-header__stars {
	display: inline-flex;
	gap: 0.125rem;
}

.tb-header__star {
	width: 0.875rem;
	height: 0.875rem;
	color: var(--tb-star);
}

.tb-header__reviews-score {
	font-weight: 600;
}

.tb-header__reviews-label {
	color: var(--tb-topbar-fg-muted);
}

/* Main bar */

.tb-header__main {
	position: relative;
	background: var(--tb-card);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--tb-shadow-sm);
	border-radius: 0 0 var(--tb-radius-lg) var(--tb-radius-lg);
	transition: all var(--tb-transition);
}

.tb-header.is-scrolled .tb-header__main {
	border-radius: 0;
}

.tb-header__main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--tb-main-bar-height);
	padding-block: 1rem;
}

.tb-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.tb-header__logo img {
	display: block;
	height: 3.5rem;
	width: auto;
}

.tb-header__actions {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

/* Navigation */

.tb-header__nav {
	display: none;
	align-items: center;
	gap: 1.75rem;
}

@media (min-width: 1024px) {
	.tb-header__nav {
		display: flex;
	}
}

.tb-header__nav-item {
	position: relative;
}

.tb-header__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--tb-foreground-muted);
	text-decoration: none;
	transition: color var(--tb-transition-fast);
}

.tb-header__nav-link:hover,
.tb-header__nav-item:hover > .tb-header__nav-link {
	color: var(--tb-primary);
}

.tb-header__nav-caret {
	width: 0.875rem;
	height: 0.875rem;
	transition: transform var(--tb-transition-fast);
}

.tb-header__nav-item--has-children:hover .tb-header__nav-caret {
	transform: rotate(180deg);
}

/* Dropdown */

.tb-header__submenu {
	position: absolute;
	top: 100%;
	left: 50%;
	padding-top: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
	transition: all var(--tb-transition-fast);
	z-index: 60;
}

.tb-header__nav-item--has-children:hover .tb-header__submenu {
	opacity: 1;
	visibility: visible;
}

.tb-header__submenu-panel {
	width: 12rem;
	padding: 0.5rem;
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius-xl);
	background: #fff;
	box-shadow: var(--tb-shadow-2xl);
}

.tb-header__submenu-link {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: var(--tb-radius-md);
	font-size: 0.875rem;
	color: var(--tb-foreground-subtle);
	text-decoration: none;
	transition: background-color var(--tb-transition-fast), color var(--tb-transition-fast);
}

.tb-header__submenu-link:hover {
	background: var(--tb-muted);
	color: var(--tb-primary);
}

/* CTA buttons */

.tb-header__ctas {
	display: none;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.tb-header__ctas {
		display: flex;
	}
}

.tb-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--tb-radius-md);
	color: #fff;
	text-decoration: none;
	transition: background-color var(--tb-transition-fast), color var(--tb-transition-fast);
}

.tb-header__cta:hover,
.tb-header__cta:focus-visible {
	color: #fff !important;
	text-decoration: none !important;
}

.tb-header__cta--whatsapp {
	background: var(--tb-whatsapp);
}

.tb-header__cta--whatsapp:hover,
.tb-header__cta--whatsapp:focus-visible {
	background: var(--tb-whatsapp-hover);
	color: #fff !important;
}

.tb-header__cta--phone {
	background: var(--tb-primary);
}

.tb-header__cta--phone:hover,
.tb-header__cta--phone:focus-visible {
	background: var(--tb-primary-hover);
	color: #fff !important;
}

.tb-header__cta-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: #fff;
	fill: currentColor;
	stroke: currentColor;
}

.tb-header__cta:hover .tb-header__cta-icon,
.tb-header__cta:focus-visible .tb-header__cta-icon {
	color: #fff;
}

/* Mobile menu toggle */

.tb-header__menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	border-radius: var(--tb-radius-md);
	background: transparent;
	color: var(--tb-foreground);
	cursor: pointer;
	transition: background-color var(--tb-transition-fast), color var(--tb-transition-fast);
}

.tb-header__menu-toggle:hover,
.tb-header__menu-toggle:focus-visible {
	background: var(--tb-muted);
	color: var(--tb-primary);
}

.tb-header__menu-toggle-icon {
	width: 1.5rem;
	height: 1.5rem;
	fill: none;
	stroke: currentColor;
}

.tb-header__menu-toggle-icon--close {
	display: none;
}

.tb-header.is-menu-open .tb-header__menu-toggle-icon--open {
	display: none;
}

.tb-header.is-menu-open .tb-header__menu-toggle-icon--close {
	display: block;
}

@media (max-width: 1023px) {
	.tb-header__menu-toggle {
		display: inline-flex;
	}

	.tb-header.is-menu-open .tb-header__nav {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100dvh - var(--tb-header-height));
		padding: 0.5rem 1.25rem 1rem;
		border-top: 1px solid var(--tb-border);
		background: var(--tb-card);
		box-shadow: var(--tb-shadow-2xl);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.tb-header.is-menu-open .tb-header__main {
		border-radius: 0 0 var(--tb-radius-lg) var(--tb-radius-lg);
	}

	.tb-header.is-menu-open .tb-header__nav-item {
		border-bottom: 1px solid var(--tb-border);
	}

	.tb-header.is-menu-open .tb-header__nav-item:last-child {
		border-bottom: none;
	}

	.tb-header.is-menu-open .tb-header__nav-link {
		justify-content: space-between;
		width: 100%;
		padding: 0.875rem 0;
		font-size: 1rem;
	}

	.tb-header.is-menu-open .tb-header__submenu {
		position: static;
		padding-top: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.tb-header.is-menu-open .tb-header__submenu-panel {
		width: 100%;
		padding: 0 0 0.5rem;
		border: none;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.tb-header.is-menu-open .tb-header__submenu-link {
		padding: 0.625rem 0 0.625rem 1rem;
	}
}

body.tb-header-menu-open {
	overflow: hidden;
}

/* Avada / Fusion */

.tb-header-wrap--portaled {
	display: none !important;
}

/* Alleen de lege Avada-header wrapper verbergen, niet pagina-secties (zoals hero). */
.fusion-header-wrapper:has(> .tb-header-wrap--portaled),
#fusion-header-wrapper:has(> .tb-header-wrap--portaled) {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	overflow: hidden !important;
}

body.admin-bar .tb-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .tb-header {
		top: 46px;
	}
}

#site-header.tb-header a.tb-header__topbar-link,
#site-header.tb-header a.tb-header__reviews {
	color: var(--tb-topbar-fg) !important;
	text-decoration: none !important;
}

#site-header.tb-header a.tb-header__topbar-link:hover,
#site-header.tb-header a.tb-header__reviews:hover {
	color: var(--tb-topbar-fg) !important;
}

#site-header.tb-header a.tb-header__cta,
#site-header.tb-header a.tb-header__cta:hover,
#site-header.tb-header a.tb-header__cta:focus-visible {
	color: #fff !important;
}
