* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f7f9f8;
  color: #222;
}

/* Navbar */
.navbar {
  background: #29453e; 
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
}

.navbar .logo {
  font-weight: 700;
  font-size: 2.3rem;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  font-size: 1.2rem;
}

.nav-links a {
  margin-left: 25px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom: 2px solid #4CAF50;
  color: #4CAF50;
}

/* Hero Section */
/* Hero Section */
.hero {
  background: #29453e;   /* Emerald green */
  color: white;
  padding: 4rem 5%;
  height: 500px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  min-width: 320px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  opacity: 0.95;
}

.hero-content .btn-light {
  background: #fff;
  color: #047857;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2.5rem;
  text-decoration: none;
  transition: 0.3s;
}

.hero-content .btn-light:hover {
  background: #d1fae5;
}

.filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.filters select {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  width: 140%;
  max-width: 1900px;
  border-radius: 12px;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .filters {
    justify-content: center;
  }

  .hero-content .btn-light {
    margin-bottom: 1.5rem;
  }

  .hero-image img {
    margin-top: 2rem;
  }
}

/* Listings */
.listings {
  padding: 3rem 5%;
}

.listings h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1b4332;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem;
}

.card-body h3 {
  font-size: 1.1rem;
  color: #1b4332;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}


/* Buttons - General */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Primary Green Button */
.btn-green {
  background: #16a34a; /* Bright emerald green */
  color: #fff;
  border: none;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
}

.btn-green:hover {
  background: #15803d; /* Darker emerald */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Optional: Make "Claim Listing" buttons consistent in cards */
.card .btn-green {
  margin-top: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

/* Button container fix for card layout */
.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-body button {
  align-self: stretch;
}


/* Footer */
footer {
  background: #1b4332;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

footer .socials a {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
}
