/* ════ Krishna Group Vadodara - Projects Stylesheet ════ */

/* ─── HERO WRAPPER ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  /* background: #0d1b36; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ─── PROPERTIES LISTING GRID ────────────────────────────────── */
.properties {
  padding: 3vw 0;
  background-image: url('../images/hero/pattern-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}
.sec-head {
  text-align: center;
  margin-bottom: 1vw;
}
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00afef;
  margin-bottom: 16px;
}
.sec-eyebrow::before,
.sec-eyebrow::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #e8a020;
}
.sec-title {
  font-family: var(--ff);
  font-size: clamp(20px, 2.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 10px;
}
.sec-title span {
  color: #00afef;
}
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  color: #0d1b36;
  border: 1.5px solid var(--green);
  border-radius: var(--pill);
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 32px;
  cursor: pointer;
  transition: all var(--t);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.filter-btn:hover {
  background: rgba(232, 160, 32, 0.08);
}
.filter-btn.active {
  background: var(--green);
  color: var(--body);
  border-color: var(--green);
}
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition:
    box-shadow var(--t),
    transform var(--t);
  cursor: pointer;
}
.prop-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.prop-img {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}
.prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prop-card:hover .prop-img img {
  transform: scale(1.05);
}
.prop-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}
.prop-card:hover .prop-arrow {
  opacity: 1;
}
.prop-arrow .material-icons-round {
  font-size: 18px;
  color: var(--dark);
}
.prop-body {
  padding: 18px 20px 20px;
}
.prop-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.prop-name {
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
}
.prop-price-badge {
  position: absolute;
  top: 14px;
  left: 27px;
  background: #ffffff;
  color: var(--body);
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--pill);
  white-space: nowrap;
  z-index: 5;
}
.prop-addr {
  font-size:clamp(14px, 1vw, 16px);
  color: var(--body);
  margin-bottom: 14px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.prop-addr .material-icons-round {
  font-size: 16px;
  color: var(--dark);
  margin-top: 2px;
}
.prop-specs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.prop-specs-left {
  display: flex;
  gap: 16px;
}
.prop-spec {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  color: var(--body);
  font-weight: 600;
}
.prop-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff);
  font-size:  clamp(14px, 1vw, 16px);
  font-weight: 800;
  color: var(--white);
  background: #0d1b36;
  padding: 10px 20px;
  border-radius: var(--pill);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.prop-card:hover .prop-visit-btn {
  color: var(--white);
}
.prop-visit-btn .material-icons-round,
.prop-visit-btn .material-symbols-outlined {
  font-size: 13px;
  color: var(--white);
  transition: transform 0.2s ease;
}
.prop-card:hover .prop-visit-btn .material-icons-round,
.prop-card:hover .prop-visit-btn .material-symbols-outlined {
  transform: translateX(3px);
}
.prop-spec .material-icons-round,
.prop-spec .material-symbols-outlined {
  font-size: 16px;
  color: var(--dark);
  margin-top: 2px;
}

/* ─── RESPONSIVE STYLES ──────────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1280px) {
  .properties {
    padding: 60px 0;
  }
  .props-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .prop-body {
    padding: 16px 16px 18px;
  }
  .prop-name {
    font-size: 15px;
  }
  .prop-addr {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .prop-specs-left {
    gap: 12px;
  }
  .prop-spec {
    font-size: 12px;
    gap: 4px;
  }
  .prop-visit-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 1023px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-title {
    font-size: clamp(22px, 3.5vw, 38px);
  }
}
@media (max-width: 768px) {
  .props-grid {
    grid-template-columns: 1fr;
  }
  .properties {
    padding: 20px;
  }
  /* sec-head */
  .sec-head {
    margin-bottom: 5vw;
    padding: 0 3vw;
  }
  .sec-eyebrow {
    font-size: 3vw;
    gap: 10px;
    margin-bottom: 2.5vw;
  }
  .sec-eyebrow::before,
  .sec-eyebrow::after {
    width: 18px;
  }
  .sec-title {
    font-size: clamp(18px, 6vw, 30px);
    letter-spacing: -0.5px;
  }
  /* filter buttons */
  .filter-buttons {
    gap: 10px;
    margin-bottom: 28px;
  }
  .filter-btn {
    font-size: 11px;
    padding: 9px 18px;
  }
  /* prop card internals */
  .prop-addr {
    font-size: 13px;
  }
  .prop-visit-btn {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .sec-eyebrow {
    font-size: 3.5vw;
  }
  .sec-title {
    font-size: clamp(17px, 7vw, 26px);
  }
  .filter-btn {
    font-size: 10px;
    padding: 8px 14px;
  }
}
