/* ======== ESTILIZAÇÃO DA LISTA DE IMÓVEIS ======== */

.card-imovel {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}


/* Ícone de fotos e vídeos */
.imovel-media {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 5px;
}

/* Tag de Destaque */
.imovel-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FFD700;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
}

/* ======== ÍCONE DE FAVORITO ======== */
.imovel-favorito {
    position: absolute;
    top: 10px; /* Ajusta a posição superior */
    right: 10px; /* Ajusta a posição à direita */
    background: white;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10; /* Garante que fique acima da imagem */
}

.imovel-favorito i {
    font-size: 18px;
    color: #ff5a5f; /* Vermelho padrão para favoritos */
}

.imovel-favorito:hover {
    background: #ff5a5f;
    color: white;
}

.imovel-favorito:hover i {
    color: white;
}


/* ======== ESTILIZAÇÃO DAS INFORMAÇÕES ======== */
.imovel-info {
    flex: 1;
    padding: 0 20px;
}

.imovel-preco {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

.imovel-condominio {
    font-size: 14px;
    color: #777;
    margin-top: -5px;
}

.imovel-endereco {
    font-size: 15px;
    font-weight: bold;
    color: #444;
    margin-top: 5px;
}

.imovel-localizacao {
    font-size: 14px;
    color: #666;
}

.imovel-detalhes {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #444;
    margin-top: 10px;
}

.imovel-detalhes i {
    color: #333;
    margin-right: 4px;
}

/* Descrição */
.imovel-descricao {
    font-size: 13px;
    color: #555;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ======== CONTAINER DOS BOTÕES DE CONTATO ======== */
.botoes-contato {
    position: absolute;
    bottom: 10px; /* Distância do fundo do card */
    right: 10px; /* Alinha os botões à direita */
    display: flex;
    gap: 10px; /* Espaçamento entre os botões */
}

/* ======== ESTILO DOS BOTÕES ======== */
.botoes-contato a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

/* Ícone de Telefone */
.botao-telefone {
    background-color: white;
    border: 1px solid #ccc;
    color: black;
}

.botao-telefone:hover {
    background-color: #f1f1f1;
}

/* Ícone de WhatsApp */
.botao-whatsapp {
    background-color: #25D366;
    color: white;
}

.botao-whatsapp:hover {
    background-color: #1ebe57;
}

/* Botão Contatar */
.botao-contatar {
    background-color: #ffcc00;
    color: black;
}

.botao-contatar:hover {
    background-color: #e6b800;
}

/* Ícone de Favorito (Canto Superior Direito) */
.favorite-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.favorite-icon i {
    font-size: 18px;
    color: #ff5a5f;
}

.favorite-icon:hover i {
    color: #d9534f;
}

/* Quando está favoritado */
.favorito-ativo {
    background: #ff5a5f;
    border: 1px solid #ff5a5f;
}

.favorito-ativo i {
    color: white !important;
}


/* Garante que o ícone fique alinhado corretamente */
.card-body {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ======== TAG TRANSPARENTE SOBRE A FOTO ======== */
.tipo-destaque-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
}
.img-carousel {
    width: 100%;
    max-height: 220px; /* Altura fixa */
    object-fit: cover; /* Garante que a imagem cubra todo o espaço sem distorcer */
    border-radius: 8px;
    display: block; /* Garante que a imagem se expanda corretamente */
}

/* Corrige possíveis restrições do Bootstrap */
.carousel-inner {
    max-height: 220px !important; /* Garante que o slider respeite a altura */
}

.carousel-item img {
    max-height: 220px !important;
}

/* Responsividade */
@media (max-width: 1024px) {
    .img-carousel {
        max-height: 200px;
    }
    .carousel-inner {
        max-height: 200px !important;
    }
    .carousel-item img {
        max-height: 200px !important;
    }
}

@media (max-width: 768px) {
    .img-carousel {
        max-height: 180px;
    }
    .carousel-inner {
        max-height: 180px !important;
    }
    .carousel-item img {
        max-height: 180px !important;
    }
}

@media (max-width: 480px) {
    .img-carousel {
        max-height: 160px;
    }
    .carousel-inner {
        max-height: 160px !important;
    }
    .carousel-item img {
        max-height: 160px !important;
    }
}


/* Ícones de fotos e vídeos */
.image-icons {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6); /* Fundo escuro transparente */
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.image-icons i {
    font-size: 16px;
}



