/* ==========================================================================
   Havendaxa - Properties Page Styles
   Matching Web Theme, Typography & Awards Section Headings
   ========================================================================== */

/* Page Wrapper */
.properties-page-wrapper {
  background-color: var(--bg-page, #F6FAE3);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: clamp(60px, 7vw, 110px);
}

/* Container */
.properties-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 48px);
}

/* ==========================================================================
   Properties Hero / Intro Section
   ========================================================================== */
.properties-hero {
  padding: clamp(45px, 5vw, 75px) 0 clamp(30px, 3.5vw, 50px);
  text-align: center;
}

.properties-hero__label {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #959D6A;
  margin-bottom: 8px;
}

.properties-hero__title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0 auto clamp(24px, 2.8vw, 38px);
  max-width: 960px;
}

.properties-hero__title strong {
  font-weight: 800;
  color: #16404E;
}

/* Filter Navigation Jump Pills */
.properties-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto;
}

.properties-filter-btn {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(13.5px, 0.9vw, 15px);
  font-weight: 600;
  color: #16404E;
  background-color: #EDF3CF;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  border: 1px solid rgba(22, 64, 78, 0.08);
}

.properties-filter-btn:hover {
  background-color: #16404E;
  color: #EDF3CF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 64, 78, 0.18);
}

.properties-filter-btn.active {
  background-color: #16404E;
  color: #EDF3CF;
}

.properties-filter-btn .badge-count {
  background-color: rgba(22, 64, 78, 0.12);
  color: #16404E;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.properties-filter-btn:hover .badge-count,
.properties-filter-btn.active .badge-count {
  background-color: rgba(237, 243, 207, 0.25);
  color: #EDF3CF;
}

/* ==========================================================================
   Section Headings (Identical Styling to Awards Page Reference)
   ========================================================================== */
.property-section {
  padding: clamp(40px, 4.5vw, 70px) 0;
  position: relative;
}

.property-section__header {
  text-align: center;
  margin-bottom: clamp(30px, 3.2vw, 45px);
}

.property-section__label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #959D6A;
  margin: 0 0 8px 0;
}

.property-section__heading {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.22;
  margin: 0 0 clamp(32px, 3.5vw, 50px) 0;
}

.property-section__heading strong {
  font-weight: 800;
  color: #16404E;
}

/* ==========================================================================
   Property Cards Grid
   ========================================================================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px);
  width: 100%;
}

.property-grid--center-3 {
  width: 100%;
}

/* Individual Property Card */
.property-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(22, 64, 78, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(22, 64, 78, 0.12);
  border-color: rgba(149, 157, 106, 0.65);
}

/* Card Media / Image Wrapper */
.property-card__img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #FFFFFF;
}

.property-card__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.property-card:hover .property-card__img {
  transform: scale(1.02);
}

/* Status Badges */
.property-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.property-card__badge--current {
  background-color: #16404E;
  color: #EDF3CF;
  box-shadow: 0 4px 14px rgba(22, 64, 78, 0.32);
}

.property-card__badge--sold {
  background-color: #4A5644;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.property-card__badge--upcoming {
  background-color: #959D6A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(149, 157, 106, 0.38);
}

/* Subtle Section Separator */
.property-section-divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, rgba(149, 157, 106, 0.35), transparent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   Ultra-Wide Screens (1800px+)
   ========================================================================= */
@media (min-width: 1800px) {
  .properties-container {
    max-width: 1880px;
    width: 92%;
    padding: 0 40px;
  }

  .properties-hero {
    padding: 70px 0 50px;
  }

  .properties-hero__label {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .properties-hero__title {
    font-size: 54px;
    max-width: 1300px;
    margin-bottom: 40px;
  }

  .properties-filter-btn {
    font-size: 18px;
    padding: 12px 28px;
  }

  .properties-filter-btn .badge-count {
    font-size: 14px;
    padding: 3px 12px;
  }

  .property-section {
    padding: 70px 0 85px;
  }

  .property-section__header {
    margin-bottom: 50px;
  }

  .property-section__label {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .property-section__heading {
    font-size: 48px;
    letter-spacing: 1.5px;
    margin-bottom: 55px;
  }

  .property-grid {
    gap: 48px;
  }

  .property-card {
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  }

  .property-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 60px rgba(22, 64, 78, 0.18);
  }

  .property-card__badge {
    top: 24px;
    right: 24px;
    font-size: 15.5px;
    padding: 9px 20px;
  }
}
