/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: #f8f8f8;
  color: #333;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: 0.3s;
}
.navbar.glass {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
}
.nav-links a.active {
  font-weight: bold;
  color: #ff7a00;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  background: url("https://picsum.photos/1920/1080?grayscale") center/cover
    no-repeat;
}
.parallax {
  background-attachment: fixed;
}
.hero-content h1 {
  font-size: 60px;
  animation: slideDown 1s ease-in-out;
}
.hero-content p {
  font-size: 20px;
  margin: 20px 0;
  animation: fadeIn 2s ease-in-out;
}
.btn {
  padding: 12px 30px;
  background: #ff7a00;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #e06b00;
}

/* SECTION */
.section {
  padding: 80px 50px;
  text-align: center;
}
.section-title {
  font-size: 32px;
  margin-bottom: 40px;
}

/* PROPERTY GRID */
.property-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.property-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}
.property-card:hover {
  transform: translateY(-10px);
}
.property-card img {
  width: 100%;
}
.card-info {
  padding: 20px;
}

/* CONTACT FORM */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input,
textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ABOUT */
.sub-hero {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: white;
}
.about-content {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  text-align: left;
}

/* PROPERTY DETAILS */
.property-details {
  max-width: 900px;
  margin: auto;
  text-align: left;
}
.details-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* WHATSAPP FLOAT */
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
}
.whatsapp-btn img {
  width: 100%;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}
.fade-in-up {
  animation: slideDown 1.2s ease-in-out;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  .hero-content h1 {
    font-size: 38px;
  }
}
