/*
Theme Name: Travelbugdesign
Theme URI: https://travelbugdesign.com/
Author: Travelbugdesign
Author URI: https://travelbugdesign.com/
Description: Custom thema voor Travelbugdesign.
Version: 0.1.0
Text Domain: travelbugdesign
*/

:root {
	--color-sage: #c2ba87;
	--color-porcelain: #f8f2e8;
	--color-almond: #d8935a;
	--color-dust: #d4d3ce;
	--color-charcoal: #2b302c;
	--layout-edge: 5px;
	--layout-inner: clamp(18px, 4vw, 56px);
	--radius-sm: 10px;
	--radius-btn: 3px;
	--font-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	--font-hand: "Zeyada", "Bradley Hand", "Comic Sans MS", cursive;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	line-height: 1.5;
	color: var(--color-charcoal);
	background: var(--color-porcelain);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-hand);
	font-weight: 600;
}

p {
	font-family: var(--font-sans);
	font-weight: 400;
}

.button,
button,
input[type="submit"],
input[type="button"] {
	border-radius: var(--radius-btn);
}

.site-header,
.site-footer {
	padding: 16px 0;
	background: var(--color-porcelain);
	border-bottom: 1px solid var(--color-dust);
	margin-top: var(--layout-edge);
}

.site-footer {
	border-bottom: 0;
	border-top: 1px solid var(--color-dust);
}

.site-header__inner,
.site-footer__inner,
.site-main {
	max-width: none;
	margin: 0 auto;
	padding: 0 var(--layout-edge);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	position: relative;
	overflow: hidden;
	min-height: 78px;
	padding: 22px var(--layout-inner);
	border-radius: var(--radius-sm);
	border: 1px solid rgba(43, 48, 44, 0.14);
	background: rgba(248, 247, 243, 0.6);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 18px 48px rgba(43, 48, 44, 0.12);
}

.site-header__inner > * {
	position: relative;
	z-index: 1;
}

.site-title {
	margin: 0;
	font-weight: 700;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-btn);
	border: 1px solid rgba(43, 48, 44, 0.2);
	background: transparent;
	color: inherit;
	padding: 0;
}

.site-header__toggle:hover {
	border-color: rgba(216, 147, 90, 0.65);
}

.site-header__toggle-icon {
	width: 22px;
	height: 22px;
}

.site-header__toggle-icon--close {
	display: none;
}

.site-header.is-menu-open .site-header__toggle-icon {
	display: none;
}

.site-header.is-menu-open .site-header__toggle-icon--close {
	display: block;
}

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.primary-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 16px;
	text-decoration: none;
	color: inherit;
	border-radius: var(--radius-btn);
	border: 1px solid rgba(43, 48, 44, 0.2);
	font-weight: 600;
	background: transparent;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	background: transparent;
	border-color: rgba(216, 147, 90, 0.9);
	color: var(--color-charcoal);
}

.primary-nav a:hover {
	background: transparent;
	border-color: rgba(216, 147, 90, 0.65);
}

@media (max-width: 860px) {
	.site-header__inner {
		overflow: visible;
	}

	.site-header__toggle {
		display: inline-flex;
	}

	.primary-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% + 10px);
		padding: 10px;
		border-radius: var(--radius-sm);
		border: 1px solid rgba(43, 48, 44, 0.14);
		background: rgba(248, 247, 243, 0.95);
		box-shadow: 0 18px 48px rgba(43, 48, 44, 0.14);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		opacity: 0;
		transform: translateY(-6px);
		pointer-events: none;
		transition: opacity 0.16s, transform 0.16s;
	}

	.site-header.is-menu-open .primary-nav {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.primary-nav a {
		width: 100%;
		justify-content: flex-start;
	}
}

.page-template-page-templates-template-homepage-php .primary-nav a,
.page-template-template-homepage .primary-nav a {
	color: rgba(255, 255, 255, 0.96);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.24);
}

.page-template-page-templates-template-homepage-php .primary-nav a:hover,
.page-template-template-homepage .primary-nav a:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.32);
}

.page-template-page-templates-template-homepage-php .primary-nav .current-menu-item > a,
.page-template-page-templates-template-homepage-php .primary-nav .current_page_item > a,
.page-template-template-homepage .primary-nav .current-menu-item > a,
.page-template-template-homepage .primary-nav .current_page_item > a {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.85);
	color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 860px) {
	.page-template-page-templates-template-homepage-php .site-header__toggle,
	.page-template-template-homepage .site-header__toggle {
		border-color: rgba(255, 255, 255, 0.24);
		background: rgba(255, 255, 255, 0.06);
		color: rgba(255, 255, 255, 0.96);
	}

	.page-template-page-templates-template-homepage-php .site-header__toggle:hover,
	.page-template-template-homepage .site-header__toggle:hover {
		border-color: rgba(255, 255, 255, 0.32);
		background: rgba(255, 255, 255, 0.12);
	}

	.page-template-page-templates-template-homepage-php .primary-nav,
	.page-template-template-homepage .primary-nav {
		background: rgba(0, 0, 0, 0.6);
		border-color: rgba(255, 255, 255, 0.16);
		box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
	}
}

.site-main {
	padding-top: 24px;
	padding-bottom: 24px;
}

body.page .entry-title,
body.single .entry-title {
	display: none;
}

.hero-home {
	position: relative;
	min-height: clamp(560px, 72vh, 760px);
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	margin-bottom: 2rem;
	background: var(--color-charcoal);
	border-radius: var(--radius-sm);
}

@media (max-width: 720px) {
	.hero-home {
		min-height: clamp(520px, 78vh, 640px);
	}
}

.hero-home__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-home__background img,
.hero-home__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-home__background--slider .hero-home__image {
	position: absolute;
	inset: 0;
	opacity: 0;
	animation-duration: var(--hero-slider-duration, 18s);
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation-name: hero-home-slider-3;
	animation-delay: var(--hero-slider-delay, 0s);
}

.hero-home__background--slider.is-js .hero-home__image {
	animation: none;
	transition: opacity 0.6s;
}

.hero-home__background--slider.is-js .hero-home__image.is-active {
	opacity: 1;
}

.hero-home--slides-2 .hero-home__background--slider .hero-home__image {
	animation-name: hero-home-slider-2;
}

.hero-home--slides-3 .hero-home__background--slider .hero-home__image {
	animation-name: hero-home-slider-3;
}

.hero-home__background--slider .hero-home__image:first-child {
	opacity: 1;
}

@keyframes hero-home-slider-3 {
	0% {
		opacity: 0;
	}
	6% {
		opacity: 1;
	}
	33% {
		opacity: 1;
	}
	39% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

@keyframes hero-home-slider-2 {
	0% {
		opacity: 0;
	}
	6% {
		opacity: 1;
	}
	50% {
		opacity: 1;
	}
	56% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-home__background--slider .hero-home__image {
		animation: none;
		opacity: 0;
	}

	.hero-home__background--slider .hero-home__image:first-child {
		opacity: 1;
	}
}

.hero-home__background::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}

.hero-home__nav {
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 3;
	display: flex;
	gap: 10px;
}

.hero-home__nav-btn {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(0, 0, 0, 0.32);
	color: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.hero-home__nav-btn:hover {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(0, 0, 0, 0.42);
}

.hero-home__nav-btn svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 720px) {
	.hero-home__nav {
		right: 12px;
		bottom: 12px;
	}

	.hero-home__nav-btn {
		width: 42px;
		height: 42px;
	}
}

.hero-home__content-wrapper {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--layout-inner);
}

.page-template-page-templates-template-homepage-php .site-header,
.page-template-template-homepage .site-header {
	position: absolute;
	top: var(--layout-edge);
	left: var(--layout-edge);
	right: var(--layout-edge);
	padding: 0;
	background: transparent;
	border-bottom: 0;
	z-index: 10;
	margin-top: 0;
}

.page-template-page-templates-template-homepage-php .site-main,
.page-template-template-homepage .site-main {
	padding-top: var(--layout-edge);
}

.page-template-page-templates-template-homepage-php .site-header__inner,
.page-template-template-homepage .site-header__inner {
	padding: 22px var(--layout-inner);
}

.page-template-page-templates-template-homepage-php .site-title,
.page-template-page-templates-template-homepage-php .primary-nav a,
.page-template-template-homepage .site-title,
.page-template-template-homepage .primary-nav a {
	color: #fff;
}

.page-template-page-templates-template-homepage-php .hero-home,
.page-template-template-homepage .hero-home {
	padding-top: 96px;
}

.hero-home__content {
	max-width: 600px;
}

.hero-home__title {
	font-size: 2.5rem;
	margin: 0 0 1rem;
	line-height: 1.2;
}

.hero-home__description {
	font-size: 1.125rem;
	margin-bottom: 1.5rem;
}

.hero-home__button {
	display: inline-block;
	background: transparent;
	border: 2px solid var(--color-almond);
	color: rgba(255, 255, 255, 0.96);
	padding: 12px 24px;
	text-decoration: none;
	border-radius: var(--radius-btn);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.hero-home__button:hover {
	background-color: var(--color-almond);
	color: var(--color-charcoal);
}

.home-content {
	margin: 0 0 2.5rem;
}

.home-content__inner {
	margin: 0 auto;
	padding: 0;
}

.home-content__features {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(6px, 1vw, 10px);
	margin-top: clamp(14px, 3vw, 28px);
	grid-auto-rows: 200px;
	padding: 0;
}

.home-content__features > .home-content__feature {
	min-height: 200px;
}

@media (min-width: 720px) {
	.home-content__features {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-auto-rows: 190px;
		grid-auto-flow: dense;
	}

	.home-content__features > .home-content__feature {
		grid-column: span 3;
	}
}

@media (min-width: 900px) {
	.home-content__features {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-auto-rows: 200px;
		gap: clamp(8px, 0.9vw, 12px);
	}

	.home-content__features > .home-content__feature {
		grid-column: span 4;
	}

	.home-content__features > .home-content__feature:nth-child(1) {
		grid-column: span 5;
		grid-row: span 2;
	}

	.home-content__features > .home-content__feature:nth-child(2) {
		grid-column: span 4;
	}

	.home-content__features > .home-content__feature:nth-child(3) {
		grid-column: span 3;
		grid-row: span 2;
	}

	.home-content__features > .home-content__feature:nth-child(4) {
		grid-column: span 4;
	}

	.home-content__features > .home-content__feature:nth-child(5),
	.home-content__features > .home-content__feature:nth-child(6) {
		grid-column: span 6;
		grid-row: span 1;
	}
}

@media (max-width: 720px) {
	.home-content__header {
		grid-template-columns: 1fr;
		grid-template-areas:
			"left"
			"right"
			"cats";
	}

	.home-content__header-right {
		justify-self: start;
	}
}

.home-content__feature {
	--feature-bg: none;
	position: relative;
	overflow: hidden;
	padding: 16px;
	border-radius: var(--radius-sm);
	background: #ffffff;
	background-image:
		linear-gradient(135deg, rgba(170, 200, 255, 0.22), rgba(255, 255, 255, 0) 42%),
		linear-gradient(135deg, rgba(255, 165, 220, 0.18), rgba(255, 255, 255, 0) 55%),
		var(--feature-bg);
	background-size: cover;
	background-position: center;
	border: 1px solid rgba(43, 48, 44, 0.12);
	box-shadow: 0 16px 40px rgba(43, 48, 44, 0.08);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
	text-decoration: none;
}

.home-content__feature.has-bg {
	color: rgba(248, 247, 243, 0.96);
	border-color: rgba(43, 48, 44, 0.1);
	background-image:
		linear-gradient(0deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.18)),
		var(--feature-bg);
	background-color: #000;
	background-blend-mode: normal;
}

.home-content__feature.has-bg .home-content__feature-text {
	color: rgba(248, 247, 243, 0.82);
}

.home-content__feature-content {
	position: relative;
	z-index: 1;
	max-width: 52ch;
}

.home-content__feature::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.0), rgba(0, 0, 0, 0.32));
	opacity: 0;
	transition: opacity 0.18s;
}

.home-content__feature.has-bg::after {
	opacity: 1;
}

.home-content__feature:hover {
	transform: translateY(-1px);
}

.home-content__feature {
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.home-content__feature:hover {
	box-shadow: 0 20px 52px rgba(43, 48, 44, 0.12);
	border-color: rgba(43, 48, 44, 0.18);
}

.home-content__feature-content {
	position: relative;
	z-index: 1;
}

.home-content__feature-badge {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: inherit;
	opacity: 0.85;
}

.home-content__feature-title {
	margin: 0;
	font-size: 20px;
}

.home-content__feature-text {
	margin: 0;
	color: rgba(43, 48, 44, 0.82);
}

@media (min-width: 900px) {
	.home-content__feature {
		padding: 18px;
	}
}

.site-footer {
	padding: 0;
	background: transparent;
	border-top: 0;
	border-bottom: 0;
}

.site-footer,
.site-footer p {
	font-family: var(--font-sans);
	font-weight: 400;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
	font-family: var(--font-sans);
	font-weight: 700;
}

.entry-content {
	margin: 0 auto;
	padding: 0 var(--layout-inner);
}

.site-footer__frame {
	width: calc(100% - (var(--layout-edge) * 2));
	margin: 0 auto var(--layout-edge);
	padding: 28px var(--layout-inner);
	background: var(--color-charcoal);
	color: var(--color-porcelain);
	border-radius: var(--radius-sm);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr);
	gap: clamp(24px, 4vw, 56px);
}

.site-footer__brand {
	display: grid;
	gap: 12px;
	align-content: start;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: inherit;
	text-decoration: none;
}

.site-footer__tagline {
	margin: 0;
	max-width: 34ch;
	color: rgba(248, 247, 243, 0.8);
}

.site-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 56px);
}

.site-footer__heading {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(212, 211, 206, 0.9);
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.site-footer__menu a {
	color: rgba(248, 247, 243, 0.92);
	text-decoration: none;
}

.site-footer__menu a:hover {
	color: var(--color-porcelain);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer__bottom {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(248, 247, 243, 0.18);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.site-footer__copyright {
	margin: 0;
	color: rgba(248, 247, 243, 0.78);
	font-size: 14px;
}

.site-footer__bottom-right {
	display: grid;
	gap: 12px;
	justify-items: end;
}

.site-footer__social {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.site-footer__social-link {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: var(--radius-btn);
	background: rgba(248, 247, 243, 0.12);
	color: rgba(248, 247, 243, 0.9);
	text-decoration: none;
}

.site-footer__social-link:hover {
	background: rgba(248, 247, 243, 0.18);
	color: var(--color-porcelain);
}

.site-footer__legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.site-footer__legal-menu a {
	color: rgba(248, 247, 243, 0.78);
	text-decoration: none;
	font-size: 14px;
}

.site-footer__legal-menu a:hover {
	color: var(--color-porcelain);
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (max-width: 820px) {
	.site-footer__top {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-right {
		justify-items: start;
	}

	.site-footer__legal-menu {
		justify-content: flex-start;
	}
}

.page-template-page-templates-template-homepage-php .site-header,
.page-template-template-homepage .site-header {
	background: transparent;
	border-bottom: 0;
}

.page-template-page-templates-template-homepage-php .site-header__inner,
.page-template-template-homepage .site-header__inner {
	padding: 12px var(--layout-inner);
}

.page-template-page-templates-template-homepage-php .site-header__inner,
.page-template-template-homepage .site-header__inner {
	background: rgba(0, 0, 0, 0.24);
	border-color: rgba(255, 255, 255, 0.16);
	box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.page-template-page-templates-template-homepage-php .hero-home,
.page-template-template-homepage .hero-home {
	padding-top: 132px;
}
