/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 1rem 2rem;
  margin: 0 auto;
}

/* Header */
header {
  background: white;
  color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.875rem;
  color: #2a852f;
}

.logo-icon {
  width: 90px;
  height: 90px;
  margin-right: 0.75rem;
  object-fit: contain;
}

/* Responsive Nav Bar */
.responsive-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.mobile-menu .dropdown {
  position: relative;
}

.dropbtn {
  color: #000;
  background: none;
  border: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content a {
  color: #333;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Hero Section */
.hero-slider-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slideAnimation 40s infinite linear;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }
.hero-slide:nth-child(5) { animation-delay: 32s; }

@keyframes slideAnimation {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  10%, 20% {
    transform: translateX(0%);
    opacity: 1;
  }
  30%, 100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 34, 34, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.hero-content {
  color: white;
  z-index: 2;
  max-width: 800px;
}

.hero-content h2,
.hero-content p,
.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.hero-content h2 {
  animation-delay: 0.3s;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.hero-content p {
  animation-delay: 0.6s;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-content .btn {
  animation-delay: 0.9s;
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #2e7d32;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  background: #1b5e20;
}

/* Sections */
section h2 {
  text-align: center;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
  color: #2e7d32;
}

/* Properties */
.property-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 2rem 2rem;
}

.property-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 300px;
  max-width: 100%;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.property-card h3 {
  padding: 0.5rem 1rem 0;
  font-size: 1.2rem;
  color: #2e7d32;
}

.property-card p {
  padding: 0 1rem 0.5rem;
  font-size: 0.95rem;
}

.property-card .btn {
  margin: 1rem auto;
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Services */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.service {
  background: #fff;
  padding: 1rem;
  border-left: 5px solid #2e7d32;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-8px);
}

/* About */
#about {
  padding: 1rem 2rem 2rem;
  max-width: 800px;
  margin: auto;
  background: white;
  border-left: 4px solid #2e7d32;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Contact */
#contact {
  padding: 1rem 2rem 2rem;
  background: #e8f5e9;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  margin: 0.5rem 0;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  background: #2e7d32;
  color: white;
  padding: 0.75rem;
  border: none;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
}

form button:hover {
  background: #1b5e20;
}

/* Why Choose Us */
#why-choose-us {
  background: #fff;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  border-left: 4px solid #2e7d32;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

#why-choose-us h2 {
  font-size: 1.8rem;
  color: #2e7d32;
  text-align: center;
  margin-bottom: 1rem;
}

.section-tagline {
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.gold-bullets {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.gold-bullets li {
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.gold-bullets li::marker {
  color: goldenrod;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Fade animation */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Media Queries */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .mobile-menu {
    flex-direction: column;
    align-items: flex-start;
    display: none;
    width: 100%;
    background: white;
    padding: 1rem;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu a,
  .dropbtn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown .dropbtn::after {
    content: " ▼";
    font-size: 0.8rem;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .property-list {
    flex-direction: column;
    align-items: center;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  form {
    padding: 0 1rem;
  }

  .container {
    padding: 1rem;
  }
}
/* Responsive Nav Bar */
.responsive-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.875rem;
  color: #2a852f;
  text-align: left;
}

.logo-icon {
  width: 50px;
  height: 50px;
  margin-right: 0.5rem;
  object-fit: contain;
}

.hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Menu */
.mobile-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* Dropdown */
.mobile-menu .dropdown {
  position: relative;
}

.dropbtn {
  color: #000;
  background: none;
  border: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content a {
  color: #333;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Mobile-specific tweaks */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: white;
    padding: 1rem;
    margin-top: 1rem;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu a,
  .dropbtn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }
}
