/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
.container { width: 90%; max-width: 1200px; margin: auto; }

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: fixed;
  top: 0; width: 100%;
  z-index: 999;
}
.nav-flex {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0;
}
.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
}

.logo span {
  color: #8A2BE2;
}
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links li a {
  text-decoration: none; color: #222; font-weight: 500; transition: 0.3s;
}
.nav-links li a:hover { color: #0a4d8c; }
.btn-small {
  background: #0a4d8c; color: #fff !important;
  padding: 8px 16px; border-radius: 5px;
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: #333; }

/* ===== HERO ===== */
.hero {
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  height: 90vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  text-align: center; color: #fff;
}
.hero .overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-content p { margin-bottom: 2rem; }

.search-form {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.search-form input, .search-form select {
  padding: 10px; border: none; border-radius: 5px; width: 200px;
}
.search-form button {
  background: #f9b233; color: #fff; border: none; padding: 10px 20px;
  border-radius: 5px; cursor: pointer; transition: 0.3s;
}
.search-form button:hover { background: #d89b21; }

/* ===== PROPERTIES ===== */
.properties { padding: 5rem 0; text-align: center; }
.property-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.property-card {
  border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.property-card:hover { transform: translateY(-5px); }
.property-info { padding: 1rem; text-align: left; }
.property-info .price { font-weight: 600; color: #0a4d8c; }

/* ===== ABOUT ===== */
.about { background: #f9f9f9; padding: 5rem 0; }
.about-flex { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.about-text { flex: 1; }
.about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 10px; }

/* ===== TEAM ===== */
.team { padding: 5rem 0; text-align: center; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.team-member img {
  width: 100%; border-radius: 10px; margin-bottom: 1rem;
}
.team-member h3 { color: #0a4d8c; }

/* ===== CONTACT ===== */
.contact { background: #f9f9f9; padding: 5rem 0; }
.contact-flex { display: flex; flex-wrap: wrap; gap: 2rem; align-items: stretch; }
.contact form {
  flex: 1; background: #fff; padding: 2rem; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.contact form input, .contact form textarea {
  width: 100%; padding: 12px; margin-bottom: 1rem;
  border: 1px solid #ddd; border-radius: 5px;
}
.contact form button {
  background: #0a4d8c; color: #fff; border: none;
  padding: 10px 20px; border-radius: 5px; cursor: pointer;
}
.contact iframe {
  flex: 1; border: 0; border-radius: 10px; width: 100%; min-height: 350px;
}

/* ===== FOOTER ===== */
.footer { background: #0a4d8c; color: #fff; padding: 2rem 0; }
.footer-flex {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.footer a { color: #fff; text-decoration: none; margin-left: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute; top: 70px; right: 0;
    background: #fff; flex-direction: column;
    width: 60%; text-align: right;
    display: none; padding: 1rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: flex; }
  .search-form input, .search-form select { width: 100%; }
  .hero-content h1 { font-size: 1.8rem; }
}
