/* Very Smol Reset */
* {
	box-sizing: border-box;
	margin: 0;
}

/* SMOOTH Scrolling */
html {
	scroll-behavior: smooth;
}

/* Supporting Content */

code:not([class*="language"]) {
	font-family:
		Consolas,
		Monaco,
		Andale Mono,
		Ubuntu Mono,
		monospace;
	font-size: 1.75ex;
	color: #444;
	background-color: rgba(0, 0, 0, 0.1);
	padding-right: 0.15em;
	padding-left: 0.15em;
}

blockquote {
	margin: 2rem 0;
	padding: 0.5em 1rem;
	border-left: 3px solid rgba(0, 0, 0, 0.35);
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 0 0.25rem 0.25rem 0;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

footer {
	margin-top: auto;
}
.menu-item {
	position: relative;
	display: inline-block;
	padding-bottom: 5px; /* To create space for the line */
}

.menu-item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0; /* Initially, the line has no width */
	height: 3px; /* Height of the line */
	background-color: #0b5391; /* Color of the line */
	transition: width 0.3s ease; /* Smooth transition for width change */
}

.menu-item:hover::after {
	width: 100%; /* When hovering, line width becomes 100% */
	animation: stretchLine 0.5s forwards; /* Animate the line from left to right */
}

@keyframes stretchLine {
	0% {
		width: 0; /* Start with no width */
		transform-origin: left; /* Start animation from the left */
	}
	100% {
		width: 100%; /* End with full width */
		transform-origin: right; /* End animation to the right */
	}
}
.hover-icon {
	display: none;
}
a:hover .hover-icon {
	display: flex;
}
a:hover .normal-icon {
	display: none;
}
/* Add CSS styles for sticky navigation and reduced padding */
.sticky-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000; /* Adjust z-index as needed */
	transition: padding 0.3s ease; /* Add transition for smooth padding change */
}

.sticky-nav.reduce-padding {
	padding: 0.5rem 0; /* Adjust reduced padding as needed */
	background-color: rgba(26, 26, 26, 1);
}

.sidepage .sticky-nav {
	background-color: rgba(26, 26, 26, 1);
}

.mobile-nav-trigger {
	@apply bg-red-500 w-8 h-8;
	/* @apply relative z-50 block h-[1px] w-7 bg-primaryColor content-[''] before:absolute before:top-[-0.35rem] before:z-50 before:block before:h-full before:w-full before:bg-primaryColor before:transition-all before:duration-200 before:ease-out before:content-[''] after:absolute after:right-0 after:bottom-[-0.35rem] after:block after:h-full after:w-full after:bg-primaryColor after:transition-all after:duration-200 after:ease-out after:content-[''] peer-checked:bg-transparent before:peer-checked:top-0 before:peer-checked:w-full before:peer-checked:rotate-45 before:peer-checked:transform after:peer-checked:bottom-0 after:peer-checked:w-full after:peer-checked:-rotate-45 after:peer-checked:transform after:peer-checked:bg-white before:peer-checked:bg-white; */
}

/* Add adornment to subtitle text */
.with-adornment,
.with-adornment-lr {
	position: relative;
	width: fit-content;
}
.with-adornment::after {
	content: "";
	position: absolute;
	left: 120%;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 2px;
	background-color: #b8a87f;
}

.with-adornment-lr::after {
	content: "";
	position: absolute;
	right: 120%;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 2px;
	background-color: #b8a87f;
}
.with-adornment-lr::before {
	content: "";
	position: absolute;
	left: 120%;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 2px;
	background-color: #b8a87f;
}

@media screen and (max-width: 1024px) {
	.with-adornment::after {
		max-width: 50px;
	}

	.with-adornment-lr::after {
		max-width: 50px;
	}
	.with-adornment-lr::before {
		max-width: 50px;
	}
}

/* Apartment Filters */

.active button {
	background-color: #b8a87f !important;
	color: #ffffff !important;
}

/* Gallery list style  */
.gallery-list {
	list-style: none;
}
.gallery-list .adornment {
	display: inline-flex;
	background-color: #b8a87f;
	width: 1.25rem;
	height: 2px;
	align-items: center;
	justify-content: center;
}

/* Swiper next/prev buttons  */
.swiper-button-next,
.swiper-button-prev {
	color: #b8a87f !important;
}

/* Offers old price  */
.old-price {
	position: relative;
}

.old-price::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 2px;
	background-color: red;
}

/* Swiper Thumbs */
.thumbnail-swiper .swiper-slide-thumb-active img {
	border: 2px solid #b8a87f;
}

/* Phone inputs  */
.iti {
	width: 100%;
	z-index: 0;
}
.iti--allow-dropdown input {
	position: relative;
	z-index: 1;
}
.iti--allow-dropdown .iti__flag-container {
	position: relative;
	z-index: 5;
}
.iti--allow-dropdown .iti__country-list {
	z-index: 10;
}
.corp-filter.active {
	background-color: #444;
	color: white; /* Optional: to make the text stand out */
}
@media only screen and (max-width: 768px) {
	.swiper-slide {
		width: 100% !important;
	}
}
