/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
h1, h2, h3 { margin-bottom: 15px; }

/* Hero */
.hero {
  position: relative;
  background: url("https://picsum.photos/1600/600?realestate") no-repeat center/cover;
  height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.hero .overlay {
  background: rgba(0, 0, 0, 0.6);
  color: #fff; text-align: center;
  padding: 40px; border-radius: 10px;
}
.hero h1 { font-size: 3rem; }
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn:hover { background: #e55b00; }

/* Sections */
.section { padding: 60px 20px; text-align: center; }
.section.light { background: #f9f9f9; }

/* Property Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 30px;
}
.card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.card img { width: 100%; height: auto; }
.card .info { padding: 15px; }

/* Filter */
.filter-buttons {
  display: flex; justify-content: center; gap: 10px;
}
.filter-buttons button {
  padding: 10px 20px;
  border: none; border-radius: 5px;
  background: #eee; cursor: pointer;
  transition: background 0.3s;
}
.filter-buttons button.active,
.filter-buttons button:hover {
  background: #ff6600; color: #fff;
}

/* Contact */
form {
  max-width: 500px; margin: 20px auto;
  display: flex; flex-direction: column;
}
form input, form textarea, form button {
  margin: 10px 0; padding: 12px;
  font-size: 1rem; border: 1px solid #ccc;
  border-radius: 5px;
}
form textarea { resize: vertical; min-height: 120px; }
form button {
  background: #ff6600; color: #fff;
  border: none; cursor: pointer;
  transition: background 0.3s;
}
form button:hover { background: #e55b00; }
#formMsg { margin-top: 10px; font-weight: bold; }

.contact-details {
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.contact-details a {
  color: #ff6600;
  text-decoration: none;
}
.contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #333; color: #fff;
  text-align: center; padding: 15px;
}
