/* ─────────── GLOBAL RESET ─────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ─────────── HEADER ─────────── */
.header {
  background: #fff;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo img {
  height: 90px;
  width: auto;
  max-width: 220px;
}

.tagline {
  font-size: 0.8rem;
  color: #5d7531;
  font-weight: 600;
  margin-top: 5px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.icon {
  width: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

/* ─────────── NAVIGATION ─────────── */
.main-nav {
  background: #000;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center; /* 👈 center everything inside */
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu {
  display: flex;
  gap: 50px;
  font-weight: bold;
  justify-content: center; /* 👈 center nav items */
  align-items: center;
}

.menu a {
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #8bc34a;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #8bc34a;
}
.menu a:hover::after {
  width: 100%;
}

.menu a.active {
  color: #8bc34a;             /* Highlight color */
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #8bc34a;
}
.burger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}

/* ───────────────────────────────────
   PROPERTY SEARCH
   ─────────────────────────────────── */

.property-search{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  padding: 2rem 2rem;
  max-width: 900px;
  margin: 1rem auto 0;
}
.property-search select,
.property-search button{
  min-width: 260px;
  background-color: #f0f0f0;
  padding: 0.5rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 15px;
  color: #4b4b4bd5;
  border-radius: 5px;
}
.property-search button{
  background:#000;
  min-width: 140px;
  color:#fff;
  padding: 0.5rem 0.2rem;
  border:none;
  cursor:pointer;
}

/* ───────────────────────────────────
   LEGEND (Availability Status)
   ─────────────────────────────────── */
.legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
  font-size: 14px;
}

.legend span {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 1px;
  vertical-align: middle;
  border-radius: 2px;
}

.available {
  background-color: #556b2f;
}

.reserved {
  background-color: rgba(128, 128, 128, 0.6);
}

/* ───────────────────────────────────
   PROPERTY GRID LISTING
   ─────────────────────────────────── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 30px 50px;
}

.property-card {
  background: #fff;
  border: 4px solid transparent;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.property-card {
  position: relative;
}

.property-card.sold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(128, 128, 128, 0.6);
  pointer-events: all;
}

.property-card img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.property-card h4 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.property-card button {
  background-color: #2e421b;
  color: white;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.property-card button:hover {
  background-color: #4a6826;
}

.available-border {
  border-color: #556b2f;
}

.reserved-border {
  border-color: red;
}

.property-card:hover {
  transform: translateY(-5px);
}

/* ───────────────────────────────────
   FOOTER / INNER
   ─────────────────────────────────── */
.inner{padding:60px 4%}
footer{
  text-align:center;
  font-size:.9rem;
  background:#f9f9f9;
  margin-top:40px;
}


/* ───────────────────────────────────
   RESPONSIVE (≤700 px)
   ─────────────────────────────────── */

@media(max-width:700px){
  .burger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0%;
    width: 40%;
    background: #000;
    padding: 10px 0;
    border-top: 1px solid #444;
    z-index: 999;
  }

  .menu.show {
    display: block;
    padding: 2% 0;
  }

  .menu li{
    text-align:center;
    padding: 5%;
  }

  .hero{
    padding:40px 6%;
  }

  .hero h1{
    font-size:1.8rem;
  }
}