/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

/* Cabeçalho */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Cards de imóveis */
.card-imovel {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.card-imovel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-imovel img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-imovel .card-body {
    padding: 1.25rem;
}

.card-imovel .preco {
    font-weight: bold;
    color: #0d6efd;
    font-size: 1.1rem;
}

/* Filtros */
.filtros {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

/* Paginação */
.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination .page-link {
    color: #0d6efd;
}

/* Modal de detalhes */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding-top: 0;
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

/* Botão do WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .filtros .col-md-3, .filtros .col-md-2 {
        margin-bottom: 15px;
    }
    
    .card-imovel {
        margin-bottom: 20px;
    }
}
/* Container principal do carrossel (ajuste conforme necessidade) */
#detalhesModal .carousel-inner {
    max-height: 600px; /* Altura máxima, mas pode reduzir em telas menores */
    width: 100%; /* Largura total do container pai */
    margin: 0 auto; /* Centraliza horizontalmente */
}

/* Itens do carrossel (imagens) */
#detalhesModal .carousel-item {
    text-align: center; /* Centraliza a imagem horizontalmente */
}

#detalhesModal .carousel-item img {
    max-width: 100%; /* Limita a largura ao container pai */
    max-height: 600px; /* Altura máxima (igual ao container) */
    width: auto; /* Mantém proporção original */
    height: auto; /* Mantém proporção original */
    object-fit: contain; /* Exibe a imagem inteira sem cortes */
    margin: 0 auto; /* Centraliza horizontalmente */
}

