/* ==================================================
   LISTINGS PAGE
   BLUECREST ESTATES
================================================== */

/* ===================================
   HERO
=================================== */

.listings-hero {
  position: relative;
}

.listings-hero .hero-overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* ===================================
   ACTIVE NAV LINK
=================================== */

.active-nav {
  position: relative;
}

.active-nav::after {
  content: "";

  position: absolute;

  bottom: -8px;
  left: 0;

  width: 100%;
  height: 2px;

  background: white;
}

/* ===================================
   FILTERS CARD
=================================== */

.filters-card {

  background: white;

  border-radius: 32px;

  padding: 36px;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.06);

}

.filter-label {

  display: block;

  font-size: 0.9rem;

  font-weight: 500;

  color: var(--text);

}

.filter-input {

  width: 100%;

  height: 58px;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 0 18px 0 50px;

  background: white;

  color: var(--text);

  transition: all 0.3s ease;

}

.filter-input:focus {

  outline: none;

  border-color: var(--primary);

  box-shadow:
    0 0 0 4px rgba(10, 61, 145, 0.12);

}

.filter-icon {

  position: absolute;

  left: 18px;

  top: 50%;

  transform: translateY(-50%);

  color: var(--primary);

}

/* ===================================
   LISTINGS GRID
=================================== */

#listingsContainer {

  align-items: stretch;

}

.listing-card {

  background: white;

  border-radius: 28px;

  overflow: hidden;

  border: 1px solid #f1f5f9;

  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04);

  transition: all 0.35s ease;

}

.listing-card:hover {

  transform: translateY(-8px);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.08);

}

.listing-card img {

  width: 100%;

  height: 320px;

  object-fit: cover;

  transition: transform .8s ease;

}

.listing-card:hover img {

  transform: scale(1.05);

}

/* ===================================
   PROPERTY DETAILS
=================================== */

.property-price {

  color: var(--primary);

  font-size: 1.35rem;

  font-weight: 600;

}

.property-location {

  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--text-light);

}

.property-location i {

  color: var(--primary);

}

.property-features {

  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 18px;

}

.property-feature {

  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--text-light);

}

.property-feature i {

  color: var(--primary);

}

/* ===================================
   VIEW PROPERTY LINK
=================================== */

.view-property {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 24px;

  color: var(--primary);

  font-weight: 500;

  transition: all .3s ease;

}

.view-property:hover {

  gap: 16px;

}

/* ===================================
   EMPTY STATE
=================================== */

.empty-state {

  text-align: center;

  padding: 80px 20px;

}

.empty-state h3 {

  font-size: 2rem;

  color: var(--text);

}

.empty-state p {

  margin-top: 12px;

  color: var(--text-light);

}

/* ===================================
   CTA
=================================== */

.cta-section {

  position: relative;

  overflow: hidden;

}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 1024px) {

  .filters-card {

    padding: 28px;

  }

}

@media (max-width: 768px) {

  .filters-card {

    padding: 24px;

    border-radius: 24px;

  }

  .listing-card img {

    height: 260px;

  }

}