
/* LV New Homes Inventory — Shared Styles */

:root {
  --blue: #005da8;
  --dark-blue: #003d70;
  --light-blue: #edf5fc;
  --text: #243247;
  --muted: #65758a;
  --border: #dce5ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a {
  color: var(--blue);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 5%;
  border-bottom: 1px solid var(--border);
}

.site-header > a {
  font-size: 19px;
  font-weight: bold;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-header nav a {
  text-decoration: none;
  font-weight: 600;
}

.hero {
  background: linear-gradient(
    120deg,
    var(--dark-blue),
    var(--blue)
  );
  color: white;
  padding: 65px 5%;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  max-width: 720px;
  font-size: 18px;
}

.content {
  max-width: 1150px;
  margin: auto;
  padding: 45px 24px;
}

#community-search {
  width: 100%;
  padding: 15px;
  margin: 15px 0 25px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 16px;
}

#community-list {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(260px, 1fr)
  );
  gap: 20px;
}

.community-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,.04);
}

.community-card h3 {
  margin-top: 0;
  color: var(--dark-blue);
}

.community-card p {
  color: var(--muted);
}

.community-card a {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 15px;
  border-radius: 7px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.community-card a:hover {
  background: var(--dark-blue);
}

#contact {
  background: var(--light-blue);
  border-radius: 12px;
  margin-bottom: 40px;
}

footer {
  padding: 25px 5%;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
  }

  .hero {
    padding: 45px 24px;
  }
}
