/* Hotel cards
 -----------------------------------*/
.category-grid {
	margin-top: var(--l30p);
	margin-bottom: var(--superp);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(var(--3xlg) + var(--sg));
	max-width: 1240px;
	padding: 0 20px;
	transition: 0s;
	box-sizing: border-box;
	width: 100%;
}
.category-grid > *:only-child {
	grid-column: 1 / -1;
	justify-self: center;
	max-width: 565px;
}
.category-grid.has-one-visible-item .category-item:not(.is-hidden) {
	grid-column: 1 / -1;
	justify-self: center;
	max-width: 565px;
}
.category-item {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex-shrink: 0;
}
.category-item.is-hidden {
	display: none;
}
.category-item p {
	line-height: 1.4;
	margin-top: var(--xsp);
	margin-bottom: calc(var(--lp) + var(--xsp));
	min-height: 50px;
	width: 100%;
	text-align: left;
}
.category-image {
	width: 100%;
	aspect-ratio: 4/3;
	background-color: #000000;
	position: relative;
	display: flex;
	align-items: flex-end;
	margin-bottom: calc(var(--lp) + var(--xsp));
	overflow: hidden;
}
.category-image::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.6) 85%);
}
.category-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	transition: transform 0.8s var(--zoom-curve);
}
.category-item:hover .category-image img {
	transform: scale(1.05);
}
.category-image p {
	font-size: 12px;
	text-align: left;
	margin-left: 12px;
	margin-bottom: 12px;
	text-transform: uppercase;
	z-index: 3;
	color: white;
}
.category-image p.family span {
	color: var(--family);
	font-weight: 600;
}
.category-image p.villa span {
	color: #5D989F;
	font-weight: 600;
}
.category-image p.elegant span {
	color: var(--elegant);
	font-weight: 600;
}
.category-image p.family, .category-image p.villa, .category-image p.elegant {
	min-height: 0;
}
.category-item h2 {
	font-size: 22px;
	line-height: normal;
	color: var(--coffee-bean);
	font-weight: 500;
}
.category-item .two-button-wrapper {
	gap: 27px;
}
@media (max-width: 900px) {
	.category-grid {
		gap: calc(var(--xlg) + var(--sg));
	}
	.two-button-wrapper .btn.wider {
		padding: 0 15px;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
}
@media (max-width: 750px) {
	.category-grid {
		grid-template-columns: 1fr;
	}
	.two-button-wrapper .btn.wider {
		padding: 0 15px;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
}
/* Image panels
 -----------------------------------*/
.image-panels {
	width: 100%;
	height: 800px;
	flex-shrink: 0;
	display: grid;
	gap: var(--xlg);
	grid-template-columns: 2fr 1fr;
	transition: 0.8s var(--zoom-curve);
}
.panel {
	display: flex;
	align-items: center;
	justify-content: center;
	/*padding: 50px;*/
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	position: relative;
	min-width: 0;
	overflow: hidden;
	transition: 0.8s var(--zoom-curve);
	background-color: grey;
}
.panel h2 {
	font-size: 80px;
	font-family: Ruthligos;
	z-index: 2;
	text-align: center;
	line-height: 0.7;
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
	transition: 0.2s;
}
.panel img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	top: 0;
	left: 0;
	transition: 0.8s var(--zoom-curve);
}
.panel img:nth-of-type(2) {
	z-index: 3;
}
.image-panels .panel h2 {
	color: white;
}
.image-panels .panel img {
	filter: brightness(90%);
}
/* Hover animation effect - Only for desktop */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
	.image-panels:has(.panel:hover) {
		gap: 0;
	}
	.image-panels:has(.panel:first-child:hover) {
		grid-template-columns: 1fr 0fr;
	}
	.image-panels:has(.panel:last-child:hover) {
		grid-template-columns: 0fr 1fr;
	}
	.image-panels:has(.panel:hover) .panel:not(:hover) h2 {
		opacity: 0;
		transform: scale(0.98);
	}
}
@media (max-width: 1200px) {
	.image-panels {
		gap: 10px;
	}
}
@media (max-width: 1000px) {
	.image-panels {
		grid-template-columns: 1fr;
	}
	.image-panels .panel:last-child {
		display: none;
	}
}
@media (max-width: 700px) {
	.image-panels {
		height: 500px;
	}
}
/* destination swiper
-----------------------------------------------------*/
.cardSwiper {
	width: calc(100% - 40px);
	max-width: 1480px;
	overflow: hidden;
}
.cardSwiper a:focus-visible {
	outline: 4px solid var(--copperwood);
}
.cardSwiper .swiper-slide {
	height: 390px;
	background: black;
	display: flex;
	max-width: 300px;
	align-items: flex-end;
	justify-content: start;
	padding: var(--lp);
	box-sizing: border-box;
	font-size: 24px;
	position: relative;
	overflow: hidden;
}
.cardSwiper .swiper-pagination {
	margin-top: var(--l30p);
	position: relative;
	display: flex;
	gap: 10px;
	width: 100%;
	align-items: center;
	justify-content: center;
}
.cardSwiper .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	opacity: 1;
	background: var(--champagne-mist);
	transition: 0.3s ease;
}
.cardSwiper .swiper-pagination-bullet-active {
	background: var(--dusty-taupe);
	transform: scale(1.1);
}
.cardSwiper .swiper-slide img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	z-index: 0;
	transition: 0.8s var(--zoom-curve);
}
.cardSwiper .swiper-slide:hover img {
	transform: scale(1.1);
}
.cardSwiper .swiper-slide p {
	z-index: 2;
	color: white;
	font-size: 17px;
	text-transform: uppercase;
	margin: 0;
}
.cardSwiper .swiper-slide::before {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.71));
	z-index: 1;
}
@media (max-width: 1000px) {
	.cardSwiper {
		width: 100%;
	}
	.cardSwiper .swiper-slide:first-child {
		margin-left: 20px;
	}
	.cardSwiper .swiper-slide:last-child {
		margin-right: 20px;
	}
}
/* Styling text */
.info-paragraph ul {
	padding-bottom: var(--lp);
}
.info-paragraph ul li {
	position: relative;
	padding-left: 25px;
}
.info-paragraph ul li::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 12px;
	width: 4px;
	height: 4px;
	background-color: var(--coffee-bean);
	border-radius: 10px;
}
.info-paragraph {
	position: relative;
	width: 100%;
	padding-right: 20px;
	box-sizing: border-box;
	height: 100%;
	max-height: 586px;
	overflow-y: auto;
	line-height: 1.8;
}
.info-paragraph .text-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
}
.dest-info-text .title {
	text-align: left;
	margin-bottom: 0;
	height: fit-content;
	line-height: normal;
}
.dest-info-text {
	height: 100%;
}
.info-paragraph strong {
	font-weight: 500;
}
/* Animating text field
--------------------------------*/
.info-paragraph .text-container.active {
	opacity: 1;
	pointer-events: auto;
}
/* incoming from right */
.text-container.enter-from-right {
	opacity: 1;
	animation: enterFromRight 0.35s ease forwards;
}
/* incoming from left */
.text-container.enter-from-left {
	opacity: 1;
	animation: enterFromLeft 0.35s ease forwards;
}
/* outgoing to left */
.text-container.exit-to-left {
	opacity: 1;
	animation: exitToLeft 0.35s ease forwards;
}
/* outgoing to right */
.text-container.exit-to-right {
	opacity: 1;
	animation: exitToRight 0.35s ease forwards;
}
@keyframes enterFromRight {
	from {
		clip-path: inset(0 0 0 100%);
		opacity: 1;
	}
	to {
		clip-path: inset(0 0 0 0);
		opacity: 1;
	}
}
@keyframes enterFromLeft {
	from {
		clip-path: inset(0 100% 0 0);
		opacity: 1;
	}
	to {
		clip-path: inset(0 0 0 0);
		opacity: 1;
	}
}
@keyframes exitToLeft {
	from {
		clip-path: inset(0 0 0 0);
		opacity: 1;
	}
	to {
		clip-path: inset(0 100% 0 0);
		opacity: 1;
	}
}
@keyframes exitToRight {
	from {
		clip-path: inset(0 0 0 0);
		opacity: 1;
	}
	to {
		clip-path: inset(0 0 0 100%);
		opacity: 1;
	}
}
/* Destination Info
------------------------------------------------*/
.dest-info-grid {
	max-width: 1305px;
	width: 100%;
	height: fit-content;
	min-height: 720px;
	padding: 0 20px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: var(--3xlg);
	overflow: visible;
}
.dest-info-images {
	display: flex;
	width: 100%;
	height: 100%;
	overflow: hidden;
	max-height: 720px;
}
.dest-info-images img {
	flex: 0;
	min-width: 0;
	height: 100%;
	object-fit: cover;
	transition: flex 0.4s cubic-bezier(.4, 0, .2, 1);
}
.dest-info-images img.active {
	flex: 1;
}
.dest-tabs {
	display: flex;
	flex-direction: row;
	margin: calc(var(--l30p) + var(--xsp)) 0;
	gap: var(--xlg);
}
.dest-tabs button {
	font-size: 16px;
	position: relative;
	border: none;
	text-transform: none;
	outline: none;
	padding: 0 0 2px;
	transition: 0.2s;
	text-align: start;
	overflow: hidden;
}
.dest-tabs button::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: var(--coffee-bean);
	left: -110%;
	transition: 0.2s;
	bottom: 0;
}
.dest-tabs button:hover {
	color: var(--copperwood);
}
.dest-tabs button:hover::before {
	background-color: var(--copperwood);
}
.dest-tabs button:focus-visible {
	outline: 1px solid var(--copperwood);
	outline-offset: 4px;
}
.dest-tabs button.active::before {
	left: 0;
}
@media (max-width: 1000px) {
	.dest-info-grid {
		grid-template-columns: 1fr;
		grid-template-rows: 500px auto;
		min-height: 0;
	}
	.dest-info-images {
		display: flex;
		width: 100%;
		overflow: hidden;
		height: 500px;
		max-height: 500px;
	}
	.dest-info-images img {
		height: 500px;
		min-height: 500px;
	}
	.dest-tabs-wrapper {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		margin: 30px 0;
		-webkit-overflow-scrolling: touch;
	}
	.dest-tabs {
		display: flex;
		flex-direction: row;
		width: max-content;
		min-width: 100%;
		gap: 30px;
		margin: 0;
		justify-content: flex-start;
	}
	.dest-tabs button {
		flex: 0 0 auto;
		white-space: nowrap;
	}
	.dest-info-grid {
		gap: 20px;
	}
	.dest-info-grid .title {
		padding: 0;
	}
	.info-paragraph {
		position: relative;
		width: 100%;
		height: auto;
		max-height: unset;
		line-height: 1.8;
	}
	.info-paragraph .text-container {
		position: relative;
		display: none;
		opacity: 1 !important;
	}
	.info-paragraph .text-container.active {
		position: relative;
		display: block;
		opacity: 1 !important;
	}
	.dest-info-text {
		width: 100%;
		min-width: 0;
		overflow: hidden;
	}
	.info-paragraph {
		padding: 0;
	}
	/* incoming from right */
	.text-container.enter-from-right {
		animation: none;
	}
	/* incoming from left */
	.text-container.enter-from-left {
		animation: none;
	}
	/* outgoing to left */
	.text-container.exit-to-left {
		animation: none;
	}
	/* outgoing to right */
	.text-container.exit-to-right {
		animation: none;
	}
}
@media (max-width: 500px) {
	.dest-tabs button {
		width: fit-content;
	}
}
/* Destination Filter
------------------------------------------------------------------*/
.dest-filter {
	outline: none;
	border: none;
	display: flex;
	flex-direction: row;
	gap: var(--mg);
	align-items: center;
	justify-content: center;
	height: fit-content;
	color: var(--copperwood);
	background-color: white;
	border-radius: 5px;
	padding: var(--mp) calc(var(--mp) + 3);
	box-sizing: border-box;
	position: relative;
	/*margin-bottom: 30px;*/
	z-index: 14;
	transition: 0.2s;
	cursor: pointer;
	user-select: none;
}
.dest-filter.hidden {
	opacity: 0;
	pointer-events: none;
}
.dest-filter:hover svg {
	background-color: #7A460B;
	color: rgba(250, 234, 205, 1);
}
.dest-filter svg {
	background-color: rgba(250, 234, 205, 1);
	border-radius: 100px;
	padding: 10px;
	color: #7A460B;
	transition: 0.2s;
}
.dest-filter:focus-visible {
	outline: 1px solid var(--copperwood);
	outline-offset: 4px;
}
#dest-filter-options {
	display: flex;
	flex-direction: column;
	opacity: 0;
	overflow: hidden;
	position: relative;
	z-index: 14;
	max-height: 0;
	background-color: white;
	border-radius: 5px;
	gap: var(--xlg);
	padding: var(--lp);
	pointer-events: none;
	transition: padding 0.3s, opacity 0s, max-height 0s;
}
#dest-filter-options.active {
	opacity: 1;
	pointer-events: auto;
	max-height: 2000px;
	transition: padding 0.3s, opacity 0s, max-height 0.8s var(--zoom-curve);
	padding: var(--l30p);
}
#dest-filter-options.hidden {
	opacity: 0;
	pointer-events: none;
}
#dest-filter-options > section {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
#dest-filter-options > section:first-child {
	position: relative;
}
#dest-filter-options > section:first-child::before {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: var(--champagne-mist);
}
/*checkmark before*/
#dest-filter-options section button::before {
	left: 5px;
	opacity: 0;
	height: 13px;
	width: 13px;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	content: "";
	background-image: url("../icons/check.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	transition: 0.2s;
}
#dest-filter-options section button.active::before {
	left: 0;
	opacity: 1;
}
#dest-filter-options section button {
	position: relative;
	color: #534230;
	transition: 0.2s;
	padding: 0 20px;
}
#dest-filter-options section button.active {
	color: var(--copperwood);
}
#dest-filter-options section p {
	margin: 0;
	color: var(--copperwood);
	padding-right: 10px;
}
@media (max-width: 700px) {
	#dest-filter-options {
		padding: 5px;
	}
}
@media (max-width: 550px) {
	#dest-filter-options > section {
		flex-direction: column;
		align-items: center;
		justify-content: start;
		gap: 10px;
	}
	.dest-filter {
		outline: none;
		border: none;
		display: flex;
		flex-direction: row;
		gap: var(--mg);
		align-items: center;
		justify-content: center;
		height: fit-content;
		color: var(--copperwood);
		background: #F6EBD8;
		border-radius: 5px;
		padding: 10px;
		padding-right: 15px;
		width: calc(100% - 40px);
		box-sizing: border-box;
		position: relative;
		z-index: 1;
		transition: 0.2s;
		cursor: pointer;
		user-select: none;
	}
	.dest-filter svg {
		color: #7A460B;
		background-color: transparent;
	}
	.dest-filter:hover svg {
		color: #7A460B;
		background-color: transparent;
	}
	.dest-filter.open {
		border-radius: 5px 5px 0 0;
	}
	#dest-filter-options {
		background-color: #F6EBD8;
		width: calc(100% - 40px);
		box-sizing: border-box;
		border-radius: 0 0 5px 5px;
		gap: 0;
	}
	#dest-filter-options.active {
		padding: 0 0 10px;
	}
	#dest-filter-options section button {
		position: relative;
		width: 100%;
		text-align: start;
		padding: 10px 20px;
		font-size: 14px;
	}
	#dest-filter-options section p {
		display: block;
		color: var(--copperwood);
		text-align: start;
		font-size: 14px;
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
		font-weight: 500;
		margin: 20px 0 10px;
	}
	#dest-filter-options section button::before {
		top: 50%;
		transform: translateY(-50%);
		width: 16px;
		height: 16px;
		left: unset;
		right: 20px;
		opacity: 1;
		background-image: url("../icons/unchecked-mobile.svg");
		transition: 0s;
	}
	#dest-filter-options section button.active::before {
		left: unset;
		right: 20px;
		height: 17px;
		background-image: url("../icons/checked-mobile.svg");
	}
}