/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {
	position: relative;
	width: 100%;
	height: 90vh;
	overflow: hidden;
	background: transparent;
	z-index: 1;
}

/* =========================================
   SLIDES
========================================= */

.hero-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease;
	z-index: 1;
}

.hero-slide.is-active {
	opacity: 1;
	z-index: 2;
}

/* =========================================
   HERO WAVE
========================================= */

.hero-slider {
	position: relative;
	overflow: hidden;
}

.hero-wave {
	position: absolute;
	left: 0;
	bottom: -2%;
	width: 100%;
	/*height: 110px;*/
	z-index: 10;
	pointer-events: none;
}

.hero-wave svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden; /* Keeps stroke inside bounds on left/right */
}

.hero-wave-cream {
	fill: var(--cream);
}

.hero-wave-border {
	vector-effect: non-scaling-stroke;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
	.hero-slide::after {
		background: linear-gradient(
			to bottom,
			rgba(255, 255, 255, 0.98) 0%,
			rgba(255, 255, 255, 0.9) 18%,
			rgba(255, 255, 255, 0.6) 32%,
			rgba(255, 255, 255, 0.2) 55%,
			rgba(255, 255, 255, 0) 75%
		) !important;
	}

	.hero-slider {
		height: 70vh;
	}
	.hero-tagline strong {
		font-size: var(--font-special-4) !important;
	}
}

/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 25;
	pointer-events: none;
}

.hero-brand {
	position: absolute;
	top: 5%;
	left: 10%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.hero-brand img {
	width: 110%;
}

/* =========================================
   LOGO
========================================= */

.hero-logo {
	max-width: 360px;
}

.hero-logo a {
	display: block;
}

.hero-logo img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 360px;
}

/* =========================================
   TAGLINE
========================================= */

.hero-tagline {
	display: flex;
	align-items: baseline;
	margin-top: -65px;
	margin-left: 60px;
	line-height: 1;
	font-size: 28px;
}

.hero-tagline span {
	color: var(--rooi);
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 700;
}

.hero-tagline strong {
	margin-left: 6px;
	color: var(--rooi);
	font-family: "Opulent Brush", cursive;
	font-size: var(--font-special-6);
	font-weight: 400;
	line-height: 0.7;
}

/* =========================================
   HERO SEARCH
========================================= */

.hero-search {
	position: absolute;
	left: 50%;
	bottom: 30%;
	transform: translateX(-50%);
	width: min(1000px, 82%);
	z-index: 31;
	pointer-events: auto;
}

.hero-search-form {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 58px;
	padding: 0 10px 0 22px;
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
}

/* =========================================
   SEARCH FIELD
========================================= */

.hero-search-field {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
	color: var(--groen);
}

.hero-search-field > i {
	flex: 0 0 auto;

	font-size: var(--font-body);
}

.hero-search-field select,
.hero-search-field input {
	width: 100%;
	height: 42px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--donkerblou);
	font-family: inherit;
	font-size: var(--font-body);
	font-weight: 700;
}

.hero-search-field select {
	cursor: pointer;
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--groen) 50%),
		linear-gradient(135deg, var(--groen) 50%, transparent 50%);
	background-position:
		calc(100% - 10px) 18px,
		calc(100% - 5px) 18px;
	background-size:
		5px 5px,
		5px 5px;
	background-repeat: no-repeat;
	padding-right: 25px;
	margin-top: -2%;
}

.hero-search-field input::placeholder {
	color: var(--donkerblou);

	opacity: 1;
}

/* =========================================
   DIVIDERS
========================================= */

.hero-search-divider {
	width: 1px;
	height: 32px;
	background: var(--goud);
	margin: 0 16px;
}

/* =========================================
   SEARCH BUTTON
========================================= */

.hero-search-submit {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--groen);
	font-size: var(--font-body);
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.hero-search-submit:hover {
	background: var(--groen);
	color: #fff;
}

/* =========================================
   DESTINATION AUTOCOMPLETE
========================================= */

.hero-search-input-wrap {
	position: relative;
	width: 100%;
}

.hero-destination-results {
	position: absolute;
	top: calc(100% + 10px);
	left: -35px;
	width: 240px;
	display: none;
	padding: 8px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	z-index: 50;
}

.hero-destination-results.is-visible {
	display: block;
}

.hero-destination-option {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	color: var(--donkerblou);
	font-family: inherit;
	font-size: var(--font-body);
	font-weight: 600;
	text-align: left;
	border-radius: 8px;
	cursor: pointer;
}

.hero-destination-option:hover {
	background: var(--cream);
}
/* =========================================
   DATE RANGE
========================================= */

.hero-search-date-range {
	display: flex;
	align-items: center;
	flex: 1.4;
	min-width: 0;
	gap: 10px;
}

.hero-search-date-range .hero-search-date {
	flex: 1;
	min-width: 0;
}

/* Date input wrapper */

.hero-date-input-wrap {
	position: relative;
	width: 100%;
	min-width: 0;
}

/* Van / Tot label */

.hero-date-label {
	display: block;
	font-size: var(--font-body);
	line-height: 1;
	font-weight: 700;
	color: var(--groen);
	margin-bottom: 3px;
}

/* Actual date input */

.hero-search-date input[type="date"] {
	display: block;
	width: 100%;
	height: 25px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--donkerblou);
	font-family: inherit;
	font-size: var(--font-body);
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}

/* Hide browser calendar icon */

.hero-search-date input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

/* Placeholder-ish empty state */

.hero-search-date input[type="date"]:not(:valid) {
	color: var(--donkerblou);
}

/* Mobile */

@media (max-width: 768px) {
	.hero-brand {
		width: 85;
		left: 7%;
	}
	.hero-brand img {
		width: 100%;
	}
	.hero-search-date-range {
		gap: 6px;
	}

	.hero-date-label {
		font-size: 9px;
	}

	.hero-search-date input[type="date"] {
		font-size: var(--font-body);
	}
}

/* Soft white overlay */
.hero-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;

	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(255, 255, 255, 0.9) 18%,
		rgba(255, 255, 255, 0.6) 32%,
		rgba(255, 255, 255, 0.2) 45%,
		rgba(255, 255, 255, 0) 62%
	);
}

.hero-search-date input[type="date"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.hero-date-input-wrap {
	position: relative;
}

.hero-date-label {
	pointer-events: none;
}

/* =========================================================
   MOBILE HERO SEARCH
========================================================= */

@media (max-width: 768px) {
	.hero-search {
		width: calc(100% - 30px);
		bottom: 20%;
	}

	.hero-search-form {
		flex-direction: column;
		align-items: stretch;

		min-height: auto;
		padding: 8px 16px;

		border-radius: 22px;
		gap: 0;
	}

	/* -----------------------------------------
       EACH MAIN ROW
    ----------------------------------------- */

	.hero-search-destination {
		width: 100%;
		min-height: 48px;
	}

	/* -----------------------------------------
       DATE RANGE
    ----------------------------------------- */

	.hero-search-date-range {
		width: 100%;
		flex: none;

		min-height: 48px;

		display: flex;
		align-items: center;
		gap: 10px;
	}

	.hero-search-date-range .hero-search-date {
		flex: 1;
	}

	/* -----------------------------------------
       TOUR TYPE
    ----------------------------------------- */

	.hero-search-form > .hero-search-field:not(.hero-search-destination) {
		width: 100%;
		min-height: 48px;
	}

	/* -----------------------------------------
       DIVIDERS
    ----------------------------------------- */

	.hero-search-divider {
		width: 100%;
		height: 1px;

		margin: 0;

		background: #e5d4a3;
	}

	/* -----------------------------------------
       LABELS
    ----------------------------------------- */

	.hero-date-label {
		font-size: 13px;
	}

	/* -----------------------------------------
       SEARCH BUTTON
    ----------------------------------------- */

	.hero-search-submit {
		position: absolute;
		right: 8px;
		bottom: 8px;

		width: 44px;
		height: 44px;
	}

	/* Give the tour field room for search button */

	.hero-search-form > .hero-search-field:last-of-type {
		padding-right: 45px;
	}
	.hero-search-form {
		position: relative;
	}
}
