/* Archive Property Page Styles */

.property-archive-page {
  padding: 40px 0;
  background: #f8fafc;
  min-height: 80vh;
}

.archive-header {
  text-align: center;
  margin-bottom: 40px;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.archive-description {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Bar */
.property-filters {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.filter-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.filter-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Properties Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.property-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.property-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-content {
  padding: 20px;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.property-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-title a:hover {
  color: #2563eb;
}

.property-location,
.property-delivery,
.property-price {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-excerpt {
  margin: 15px 0;
  color: #64748b;
  line-height: 1.5;
}

.property-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.property-actions .btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-outline {
  background: white;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: white;
}

/* No Properties */
.no-properties {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.no-properties h2 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 15px;
}

.no-properties p {
  color: #64748b;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination .page-numbers {
  padding: 10px 15px;
  margin: 0 5px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .property-archive-page {
    padding: 20px 0;
  }
  
  .archive-title {
    font-size: 2rem;
  }
  
  .property-filters {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-group {
    min-width: auto;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .property-actions {
    flex-direction: column;
  }
  
  .property-actions .btn {
    flex: none;
  }
}
