/* Custom styles for the Bootstrap Search Page */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--azul-main-rgb: rgba(2, 7, 39, 0.8);
	--dourado-main: #ffd700;
	--azul-main: #020727;
	--bs-primary: #020727;
}

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

.navbar {
	div {
		color: white;
	}

	.nav-link {
		margin-left: 7px;
		margin-right: 7px;
		color: white;
		font-size: 16px;
		text-decoration: underline white solid 1px;
	}

	/* TODO add some animations to this hover there */
	.nav-link:hover {
		background-color: white;
		border-radius: 25px;
		color: var(--azul-main);
		text-decoration: underline var(--azul-main) solid 1px;
	}

	.active {
		color: var(--azul-main);
		background-color: white;
		border-radius: 25px;
	}

	background: var(--azul-main);
	box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
	font-weight: bold;
	color: white !important;
}

.navbar-nav {
	margin-left: auto;
}

@media (max-width: 991px) {
	.navbar-nav {
		margin-left: 0;
	}
}

.container {
	flex: 1;
}

h1 {
	color: #333;
	font-weight: 300;
}

.form-control:focus, .form-select:focus {
	border-color: var(--azul-main);
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
	background-color: var(--azul-main);
	border-color: var(--azul-main);
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: #0056b3;
	border-color: #0056b3;
}

footer {
	color: white;
	background-color: var(--azul-main);
	border-top: 1px solid #e9ecef;
}

footer a {
	color: white !important;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/*
#searchbar_d {
	h1, h2, h3, h4, h5 {
		color: white;
	}

	/* background-size: ; */
	/*background-image: url('/static/searchimg2.png'); */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 3em;
}
*/

#opt_group {
	input[type="radio"] {
		display: none;
	}

	.btn-check + .btn-outline-primary {
		background-color: #f0f0f0;
		border-color: white;
	}

	input[type="radio"]:checked + .btn-outline-primary {
		background-color: var(--azul-main);
		border-color: var(--azul-main);
		color: white;
	}

	input[type="radio"]:not(:checked) + .btn-outline-primary {
		color: var(--azul-main);
	}

	.btn-outline-primary:hover {
		background-color: #e0e0e0;
	}
}

/* Define a fixed height to the carousel */
#carousel_imv_d {
	max-width: 75%; /* Makes the carousel responsive */
	height: 500px; /* Fixed height for the carousel */
	margin: auto;
	margin-top: 4em;
}

#carousel_imv_d img {
	object-fit: cover; /* maintains aspect ratio and fills the box */
	width: 75%;
	height: 500px;
}

.carousel-caption {
	background-color: var(--azul-main);
	padding: 30px;
}

.vertical_line {
	position: absolute;
	height: 100%;
	top: 0;
	width: 1px;
	left: 69%;
	padding: 1px;
	padding-top: 1em;
	background-color: rgba(2, 7, 39, 0.8);
}

.about_capt {
	h5 {
		text-decoration-line: underline;
		text-decoration-color: var(--azul-main);
		font-weight: bold;
		color: var(--azul-main);
	}
	text-align: right;
	padding-left: 4em;
	box-sizing: border-box;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
	padding-left: 3em;
	padding-top: 2em;
	padding-bottom: 2em;
	padding-right: 1.5em;
	border: 1px solid rgba(2, 7, 39, 0.5);
}

.titulo_num {
	font-size: 62px;
	line-height: 62px;
	color: var(--azul-main);
}

.anuncie_conosco_d {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	background-color: var(--azul-main);
	color: white;
	justify-content: center;
}

.rounded-t-5 {
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

@media (min-width: 992px) {
	.rounded-tr-lg-0 {
		border-top-right-radius: 0;
	}

	.rounded-bl-lg-5 {
		border-bottom-left-radius: 0.5rem;
	}
}

.dash-stat {
	.card-header {
		background: var(--azul-main);
		color: white;
	}
}

#propertyCarousel {
	width: 400px;
	height: 400px;
	margin: 0 auto;
	overflow: hidden;
}

#propertyCarousel .carousel_item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card_prop_info {
	box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
	box-sizing: border-box;
	padding: 1.5em;
	font-family: "Roboto Condensed", serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-size: 18px;
}

.card_home {
	box-shadow: rgba(2, 7, 39, 0.4) 5px 5px, rgba(2, 7, 39, 0.3) 10px 10px, rgba(2, 7, 39, 0.2) 15px 15px, rgba(2, 7, 39, 0.1) 20px 20px, rgba(2, 7, 39, 0.05) 25px 25px;
	box-sizing: border-box;
	padding: 2em;
	font-family: "Roboto Condensed", serif;
	font-weight: 300;
	font-size: 18px;
	color: white;
	background-color: var(--azul-main);
	font-optical-sizing: auto;

	h4, h5, h6 {
		color: white;
	}
}

#prop-list-card {
	height: 100%;

	.carousel {
		height: 410px;
		background: transparent !important;
	}

	.carousel-item {
		height: 410px;
	}

	.carousel-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}

	.card-body {
		justify-content: space-between;
		flex-direction: row;
		align-items: center;
	}

	.card-desc {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		line-height: 1.5;
		max-height: 3em;
	}

	.card .card-footer {
		justify-content: space-around;
		align-items: center;
		padding: 5px;
		height: 50px;
		background-color: rgba(2, 7, 39, 0.3);
	}
}

.scrollable-cards::-webkit-scrollbar {
	height: 8px;
}

.scrollable-cards::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.scrollable-cards::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.scrollable-cards::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.scrollable-cards {
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.scrollable-cards > .col-md-4 {
	scroll-snap-align: start;
}

/* Whatsapp float icon */
.whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
}

.whatsapp-container {
	position: relative;
	display: inline-block;
}

.whatsapp-container::before,
.whatsapp-container::after {
	content: '';
	position: absolute;
	border: 2px solid #25d366;
	border-radius: 50%;
	width: 100%;
	height: 100%;
	animation: onda 1.5s infinite;
	top: 0;
	left: 0;
	z-index: 1;
}

.whatsapp-container::after {
	animation-delay: 0.5s;
}

@keyframes onda {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}

	100% {
		transform: scale(2);
		opacity: 0;
	}
}

.whatsapp-icon {
	font-size: 3.5rem;
	color: #25d366;
	background-color: var(--azul-main);
	border-radius: 50%;
	padding: 12px 15px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
	position: relative;
	z-index: 2;
}

.whatsapp-icon:hover {
	color: #128c7e;
	transform: scale(1.1) translateY(-5px);
}

/* Responsivo pra mobile */
@media (max-width: 768px) {
	.whatsapp-float {
		bottom: 20px;
		right: 20px;
	}

	.whatsapp-icon {
		font-size: 3rem;
	}
}

#searchbar_d {
  position: relative;
}
#searchbar_d img {
  display: block;
}

/* barra sobreposta */
.search-overlay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  /* cor escura/translúcida, igual ao mockup 2 */
  background-color: rgba(2, 7, 39, 0.8);
  border-top: 3px solid #020727;
  backdrop-filter: blur(4px);

  /* layout em linha */
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.75rem 1rem;
  z-index: 10;
}

/* form usa grid flexível */
.search-overlay-bar form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}

/* nenhum item “empilha” 100% */
.search-overlay-bar .btn-group,
.search-overlay-bar .form-select,
.search-overlay-bar .form-control,
.search-overlay-bar .input-group,
.search-overlay-bar button {
  flex: 0 0 auto;
}

/* largura mínima para cada controle */
.search-overlay-bar .btn-group {
  min-width: 100px;
}
.search-overlay-bar .form-select {
  min-width: 160px;
}
.search-overlay-bar .form-control {
  min-width: 160px;
}
.search-overlay-bar .input-group {
  min-width: 200px;
}
.search-overlay-bar button {
  min-width: 100px;
}

.promo-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #ff5722;
	color: #fff;
	padding: 5px 10px;
	font-weight: bold;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	z-index: 10;
	font-size: 0.85rem;
}

footer .container.py-4 {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

footer .p-3 {
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}

footer .row.g-4 {
	row-gap: 1rem !important;
}
