/* ======================================================
   PROPERTIES SYSTEM – COMPLETE CSS
   Font: Montserrat
   Builder: Elementor
====================================================== */

/* ---------- GLOBAL FONT ---------- */
.properties-filter,
.properties-grid,
.property-card,
.property-card * {
  font-family: 'Montserrat', sans-serif;
}

/* ---------- FILTER BAR ---------- */
.properties-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 36px;
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.properties-filter select,
.properties-filter button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
}

.properties-filter button {
  background: #e3b007;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .25s ease;
}

.properties-filter button:hover {
  background: #caa006;
}

/* ---------- GRID ---------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- CARD ---------- */
.property-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* ---------- IMAGE ---------- */
.property-card .thumb {
  position: relative;
  overflow: hidden;
}

.property-card .thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .6s ease;
}

/* ---------- BADGES ---------- */
.property-card .badges {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  transition: transform .35s ease, opacity .35s ease;
}

.property-card .badges span {
  color: #000000;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------- TITLE ---------- */
.property-card h3 {
  padding: 0 18px;
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
}

/* ---------- ACTIONS ---------- */
.property-card .actions {
  display: flex;
  gap: 12px;
  padding: 18px;
  transition: transform .35s ease, opacity .35s ease;
}

/* ---------- BUTTONS ---------- */
.property-card .btn {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.property-card .view {
  background: #1d2bd8;
  color: #fff;
}

.property-card .inquire {
  background: #e3b007;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* ---------- BUTTON HOVER ---------- */
.property-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* CTA glow */
.property-card .inquire::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  opacity: 0;
  transition: opacity .25s ease;
}

.property-card .inquire:hover::after {
  opacity: 1;
}

/* ---------- HOVER EFFECTS ---------- */
@media (hover: hover) {

  .property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 60px rgba(0,0,0,.18);
  }

  .property-card:hover .thumb img {
    transform: scale(1.08);
  }

  .property-card:hover .badges {
    transform: translateY(-4px);
    opacity: .95;
  }

  .property-card:hover .actions {
    transform: translateY(-6px);
  }
}

/* ---------- PAGINATION ---------- */
.properties-pagination {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.properties-pagination .page-numbers {
  padding: 10px 16px;
  margin: 0 6px;
  border-radius: 8px;
  background: #f1f1f1;
  color: #111;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.properties-pagination .page-numbers:hover {
  background: #ddd;
}

.properties-pagination .current {
  background: #1d2bd8;
  color: #fff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .properties-filter {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .property-card .thumb img {
    height: 210px;
  }
}
