/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;

  color: white;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 8%;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

.logo span {
  color: #00c896;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: white;
  transition: .3s;
}

.menu a:hover {
  color: #00c896;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  width: fit-content;
  background: #00c896;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: .3s;
}

.btn:hover {
  background: #00a67d;
}

.section {
  padding: 80px 8%;
}

.section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
  transition: .3s;
}

.card:hover {
  transform: translateY(-5px);
}

.dark {
  background: #101418;
  color: white;
}

.properties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 25px;
}

.property {
  background: white;
  color: #222;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.property img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  margin-bottom: 10px;
}

.property-info span {
  display: inline-block;
  margin-top: 10px;
  color: #00a67d;
  font-weight: bold;
}

.contact-form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: #00c896;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

.contact-form button:hover {
  background: #00a67d;
}

footer {
  background: #0b0d10;
  color: white;
  text-align: center;
  padding: 25px;
}

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}