@charset "utf-8";
/* CSS Document */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
}

.header {
  text-align: center;
  padding: 60px 20px;
}

.header h1 {
  font-size: 48px;
  font-weight: 600;
}

.sub {
  font-size: 20px;
  opacity: 0.7;
}

.filters {
  display: flex;
  gap: 20px;
  padding: 20px;
  justify-content: center;
  flex-wrap: wrap;
  background: white;
  border-bottom: 1px solid #ddd;
}

.filters div {
  display: flex;
  flex-direction: column;
}

.filters input,
.filters select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#applyFilters {
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
}

.results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin: 0 0 10px;
}
