/* Estilos para o card de imóvel */
.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.property-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.property-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Imagem do imóvel */
.property-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

/* Tipo do imóvel */
.property-type {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

/* Preço do imóvel */
.property-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(to right, #0f1d45, #3a57adf7);
  color: #fff;
  padding: 4px 11px;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  font-family: "Quicksand";
}

/* Código do imóvel */
.property-code {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

/* Conteúdo do card */
.property-content {
  padding: 20px 20px 5px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Título do imóvel */
.property-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

/* Endereço do imóvel */
.property-address {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  font-size: 14px;
  color: #666;
}

.property-address i {
  margin-right: 5px;
  color: #486ed5;
}

/* Especificações do imóvel */
.property-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 60px;
}

.spec-item i {
  color: #486ed5;
  font-size: 18px;
  margin-bottom: 5px;
}

.spec-value {
  font-weight: 700;
  font-size: 16px;
  color: #333;
}

.spec-label {
  font-size: 12px;
  color: #777;
}

/* Área do imóvel - Centralizada */
.property-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  text-align: center;
}

.area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.area-item i {
  color: #486ed5;
  font-size: 18px;
}

.area-value {
  font-weight: 600;
  color: #333;
}

.area-label {
  font-size: 13px;
  color: #777;
}

a {
  margin: 0;
  padding: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .property-specs {
    justify-content: center;
  }

  .spec-item {
    min-width: 80px;
  }
}

/* Conserta as imagens dos empreendimentos para terem tamanho consistente */
.empreendimento-card .empreendimento-img {
  height: 500px; /* Altura fixa para todos */
  overflow: hidden;
  position: relative;
  width: 100%;
}

.empreendimento-card .empreendimento-img img {
  width: 100%;
  height: 500px;
  object-fit: cover; /* Cobre toda a área sem distorcer */
  object-position: left; /* Centraliza a imagem */
  transition: transform 0.5s ease;
}

.empreendimento-card:hover .empreendimento-img img {
  transform: scale(1.05);
}

.empreendimento-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  padding: 30px !important;
}

/* Melhora a aparência do status badge */
.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
