/* Gallagher Homes — Generational Family Builder Since 1992
   Brand: Forest green + Gold. Clean, fast, trust-first. */

:root {
  --green: #0f5132;
  --green-dark: #0a3d24;
  --gold: #c9a227;
  --gold-light: #e3c15a;
  --cream: #f7f3e8;
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --line: #e4e0d3;
  --shadow: 0 4px 18px rgba(15,81,50,.08);
  --radius: 8px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar { background: var(--green-dark); color: #fff; font-size: .9rem; padding: 6px 0; text-align: center; }
.topbar a { color: var(--gold-light); }

header.site { background: #fff; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: var(--max); margin: 0 auto; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand .name { font-weight: 700; color: var(--green-dark); font-size: 1.1rem; line-height: 1.1; }
.brand .tag { font-size: .75rem; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
nav a { font-family: Arial, sans-serif; font-size: .95rem; color: var(--ink); font-weight: 600; }
nav a.active, nav a:hover { color: var(--green); border-bottom: 2px solid var(--gold); padding-bottom: 2px; text-decoration: none; }

.btn {
  display: inline-block; background: var(--green); color: #fff !important;
  padding: 12px 22px; border-radius: var(--radius);
  font-family: Arial, sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .3px; border: 2px solid var(--green);
  transition: all .18s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--green) !important; }
.btn.ghost:hover { background: var(--green); color: #fff !important; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(rgba(10,61,36,.65), rgba(10,61,36,.75)), var(--green) url('images/hero.jpg') center/cover no-repeat;
  color: #fff; padding: 90px 20px; text-align: center;
}
.hero h1 { color: #fff; font-size: 3rem; margin-bottom: 12px; }
.hero p { font-size: 1.2rem; max-width: 680px; margin: 0 auto 28px; color: #fff; }
.hero .badge { display: inline-block; color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; margin-bottom: 14px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.alt { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,81,50,.15); }
.card .thumb { aspect-ratio: 4/3; background: #eee center/cover no-repeat; }
.card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 6px; }
.card .meta { font-family: Arial, sans-serif; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.card .price { color: var(--green-dark); font-weight: 700; font-size: 1.1rem; margin: 6px 0 12px; }
.card .pill {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-family: Arial, sans-serif; font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 8px;
}
.card .pill.coming { background: var(--green); color: #fff; }
.card .pill.sold { background: #8a1a1a; color: #fff; }
.card a.more { margin-top: auto; font-family: Arial, sans-serif; font-weight: 700; font-size: .9rem; }

/* ---------- Specs table ---------- */
.specs { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs th, .specs td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-family: Arial, sans-serif; font-size: .95rem; }
.specs th { background: var(--cream); color: var(--green-dark); width: 40%; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--green-dark); color: #fff; padding: 40px 0; text-align: center; }
.trustbar .grid { gap: 20px; }
.trustbar .stat { padding: 10px; }
.trustbar .stat b { display: block; color: var(--gold-light); font-size: 2rem; font-family: Georgia, serif; }

/* ---------- Callout ---------- */
.callout { background: var(--cream); border-left: 5px solid var(--gold); padding: 20px 24px; border-radius: var(--radius); margin: 24px 0; }
.callout strong { color: var(--green-dark); }

/* ---------- Form ---------- */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-family: Arial, sans-serif; font-weight: 600; font-size: .9rem; color: var(--green-dark); }
.form input, .form textarea, .form select {
  padding: 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: Arial, sans-serif; font-size: 1rem; width: 100%; background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.form button { width: auto; }

/* ---------- Footer ---------- */
footer.site { background: var(--green-dark); color: #dcd6c2; padding: 50px 0 20px; margin-top: 40px; }
footer.site a { color: var(--gold-light); }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 700px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: var(--gold-light); text-transform: uppercase; font-size: .9rem; letter-spacing: 1px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 6px 0; }
.copy { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; font-size: .85rem; text-align: center; color: #9d9885; }

/* ---------- Page header ---------- */
.page-header { background: var(--green); color: #fff; padding: 50px 20px; text-align: center; }
.page-header h1 { color: #fff; }
.page-header p { color: #dcd6c2; max-width: 680px; margin: 10px auto 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-family: Arial, sans-serif; font-size: .85rem; color: var(--muted); margin: 14px 0; }
.crumbs a { color: var(--green); }

/* ---------- Responsive nav toggle ---------- */
.menu-toggle { display: none; background: none; border: 2px solid var(--green); color: var(--green); padding: 6px 10px; border-radius: 4px; cursor: pointer; font-weight: 700; }
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px; border-bottom: 3px solid var(--gold); box-shadow: var(--shadow); }
  nav ul.open { display: flex; }
  .brand img { height: 44px; }
  .brand .name { font-size: 1rem; }
  .brand .tag { font-size: .65rem; letter-spacing: .3px; }
}

/* utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
