/* ===== PROPERTIES PAGE SPECIFIC STYLES ===== */

/* Properties Hero */
.properties-hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #754174 0%, #5a3a5a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.properties-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0 0h1000v1000H0z" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/><path d="M0 500h1000M500 0v1000" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>') repeat;
  background-size: 200px 200px;
}

.properties-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.properties-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(241, 186, 166, 0.15);
  color: #f1baa6;
  padding: 0.3rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.properties-hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.properties-hero .highlight {
  color: #f1baa6;
}

.properties-hero-desc {
  font-size: 1.15rem;
  color: #b885a4;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.7;
}

/* Properties Search Section */
.properties-search {
  padding: 2rem 0 3rem;
  background: #f8f1f2;
  border-bottom: 1px solid #e8e0e2;
}

.properties-search .search-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(117, 65, 116, 0.06);
  border: 1px solid #e8e0e2;
}

.properties-search .search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.properties-search .search-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

.properties-search .search-row:last-of-type {
  grid-template-columns: 1.5fr 0.8fr 1fr;
}

.properties-search .search-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.properties-search .search-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d1a2d;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.properties-search .search-group label i {
  color: #e15b40;
  font-size: 0.9rem;
}

/* Transaction Type Buttons */
.properties-search .transaction-type {
  gap: 0.3rem;
}

.properties-search .btn-group {
  display: flex;
  gap: 0.3rem;
  background: #f8f1f2;
  padding: 0.3rem;
  border-radius: 12px;
  width: fit-content;
}

.properties-search .type-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #8a7a8a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.properties-search .type-btn:hover {
  color: #754174;
}

.properties-search .type-btn.active {
  background: #e15b40;
  color: #fff;
  box-shadow: 0 2px 8px rgba(225, 91, 64, 0.30);
}

/* Select inputs */
.properties-search .search-select {
  padding: 0.7rem 1rem;
  border: 2px solid #e8e0e2;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #2d1a2d;
  background: #f8f1f2;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a7a8a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.properties-search .search-select:hover {
  border-color: #e15b40;
}

.properties-search .search-select:focus {
  outline: none;
  border-color: #e15b40;
  box-shadow: 0 0 0 4px rgba(225, 91, 64, 0.10);
}

/* Price Range */
.properties-search .price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.properties-search .price-input-wrapper {
  position: relative;
  flex: 1;
}

.properties-search .currency {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: #8a7a8a;
}

.properties-search .price-input {
  width: 100%;
  padding: 0.7rem 0.7rem 0.7rem 2.8rem;
  border: 2px solid #e8e0e2;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #2d1a2d;
  background: #f8f1f2;
  transition: all 0.3s ease;
}

.properties-search .price-input:hover {
  border-color: #e15b40;
}

.properties-search .price-input:focus {
  outline: none;
  border-color: #e15b40;
  box-shadow: 0 0 0 4px rgba(225, 91, 64, 0.10);
}

.properties-search .price-input::placeholder {
  color: #b0a0b0;
}

.properties-search .price-separator {
  color: #8a7a8a;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Search Button */
.properties-search .search-action {
  justify-content: flex-end;
}

.properties-search .search-btn {
  padding: 0.75rem 2rem;
  background: #e15b40;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  justify-content: center;
}

.properties-search .search-btn:hover {
  background: #c34e59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 91, 64, 0.30);
}

.properties-search .search-btn:active {
  transform: translateY(0);
}

/* Quick Area Chips */
.properties-search .quick-areas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid #e8e0e2;
}

.properties-search .quick-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a7a8a;
  margin-right: 0.3rem;
}

.properties-search .area-chip {
  padding: 0.3rem 1rem;
  border: 2px solid #e8e0e2;
  background: transparent;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #5a4a5a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.properties-search .area-chip:hover {
  border-color: #e15b40;
  color: #754174;
  background: rgba(225, 91, 64, 0.05);
}

.properties-search .area-chip.active {
  border-color: #e15b40;
  background: #e15b40;
  color: #fff;
}

.properties-search .area-chip.reset-chip {
  border-color: #e8e0e2;
  color: #8a7a8a;
}

.properties-search .area-chip.reset-chip:hover {
  border-color: #c34e59;
  color: #c34e59;
  background: rgba(195, 78, 89, 0.05);
}

/* Search Results Count */
.properties-search .search-results-count {
  text-align: center;
  font-size: 0.95rem;
  color: #8a7a8a;
  padding-top: 0.5rem;
}

.properties-search .search-results-count span {
  font-weight: 700;
  color: #754174;
  font-size: 1.1rem;
}

/* Properties Grid Section */
.properties-grid-section {
  padding: 3rem 0 5rem;
  background: #ffffff;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Property Card - Enhanced */
.property-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(117, 65, 116, 0.06);
  transition: all 0.4s ease;
  border: 1px solid #e8e0e2;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(117, 65, 116, 0.10);
}

.property-card.hidden {
  display: none;
}

.property-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.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);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.property-badge.sale {
  background: #754174;
  color: #fff;
}

.property-badge.rent {
  background: #e15b40;
  color: #fff;
}

.property-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fav-btn,
.share-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #5a4a5a;
}

.fav-btn:hover,
.share-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.fav-btn:hover {
  color: #c34e59;
}

.share-btn:hover {
  color: #e15b40;
}

.fav-btn.liked {
  color: #c34e59;
}

.fav-btn.liked i {
  font-weight: 900;
}

.property-details {
  padding: 1.5rem;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d1a2d;
  margin-bottom: 0.3rem;
}

.property-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #8a7a8a;
}

.property-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d1a2d;
  margin-bottom: 0.3rem;
}

.property-location {
  font-size: 0.9rem;
  color: #8a7a8a;
  margin-bottom: 1rem;
}

.property-location i {
  color: #e15b40;
  margin-right: 0.3rem;
}

.property-features {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.property-features span {
  font-size: 0.85rem;
  color: #5a4a5a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.property-features i {
  color: #e15b40;
  font-size: 0.9rem;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e8e0e2;
}

.property-agent {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.property-agent img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.property-agent span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #2d1a2d;
}

.property-btn {
  padding: 0.4rem 1.2rem;
  background: rgba(225, 91, 64, 0.08);
  color: #754174;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.property-btn:hover {
  background: #754174;
  color: #fff;
}

/* Load More Button */
.load-more-container {
  text-align: center;
}

.load-more-btn {
  padding: 0.85rem 3rem;
  background: transparent;
  color: #754174;
  border: 2px solid #e8e0e2;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more-btn:hover {
  border-color: #e15b40;
  background: rgba(225, 91, 64, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(117, 65, 116, 0.08);
}

/* Properties CTA */
.properties-cta {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(135deg, #f8f1f2 0%, #ffffff 100%);
  border-top: 1px solid #e8e0e2;
}

.properties-cta .cta-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.properties-cta .cta-wrapper h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d1a2d;
  margin-bottom: 0.5rem;
}

.properties-cta .cta-wrapper .highlight {
  color: #e15b40;
}

.properties-cta .cta-wrapper p {
  color: #8a7a8a;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.properties-cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-card {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .properties-hero h1 {
    font-size: 2.5rem;
  }
  
  .properties-search .search-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .properties-search .search-row:last-of-type {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .properties-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .properties-hero h1 {
    font-size: 2rem;
  }
  
  .properties-hero-desc {
    max-width: 100%;
  }
  
  .properties-search .search-wrapper {
    padding: 1.5rem;
  }
  
  .properties-search .search-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .properties-search .search-row:last-of-type {
    grid-template-columns: 1fr;
  }
  
  .properties-search .search-action {
    justify-content: stretch;
  }
  
  .properties-search .quick-areas {
    gap: 0.4rem;
  }
  
  .properties-search .area-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.8rem;
  }
  
  .property-image {
    height: 200px;
  }
  
  .property-price {
    font-size: 1.3rem;
  }
  
  .properties-cta .cta-wrapper h2 {
    font-size: 2rem;
  }
  
  .properties-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .properties-cta .cta-buttons .btn-primary,
  .properties-cta .cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
/* Footer Logo */
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-row img {
  height: 45px;
  width: auto;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand .brand-sub {
  background: rgba(255, 255, 255, 0.10);
  color: #f1baa6;
  font-size: 0.75rem;
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.3rem;
}

.footer-brand .tagline {
  font-size: 0.85rem;
  color: #f1baa6;
  font-style: italic;
  margin-top: 0.2rem;
}

.footer-brand .description {
  color: #b885a4;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}