/*
Theme Name: J Chris Project
Theme URI: https://jchrisproject.homes
Author: J Chris Project
Description: Custom theme for J Chris Project — Real Estate Solutions. Built as a lean, static credibility site. Green and gold brand palette carried over from the company's existing logo.
Version: 1.0
License: Unlicensed, private theme for J Chris Project
Text Domain: jchrisproject
*/

:root {
  --green: #1e5631;
  --green-dark: #123d21;
  --gold: #d4a13d;
  --gold-light: #e8c877;
  --ink: #262622;
  --paper: #faf8f4;
  --white: #ffffff;
  --line: #e5e0d5;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
header.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}

.brand .brand-name span:first-child { color: var(--gold); }
.brand .brand-name span:last-child { color: var(--green); }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
}
.brand-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
nav.main-nav ul { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
nav.main-nav a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
nav.main-nav a:hover { color: var(--green); text-decoration: none; }
nav.main-nav .current_page_item a,
nav.main-nav a.current {
  color: var(--green);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.header-phone { font-weight: 700; color: var(--green); white-space: nowrap; }
.header-phone::before { content: "☎ "; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 72px 24px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 16px; }
.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; font-weight: 800; max-width: 20ch; }
.hero p { font-size: 1.15rem; max-width: 60ch; color: #eef4ee; }
.hero-actions { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 13px 28px; border-radius: 6px; font-weight: 700; font-size: 0.98rem; border: 2px solid transparent; }
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: var(--gold-light); text-decoration: none; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); text-decoration: none; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

.facts-strip { background: var(--gold); color: var(--green-dark); padding: 16px 24px; text-align: center; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
.facts-strip .wrap { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.facts-strip .dot { opacity: 0.6; }

section { padding: 64px 24px; }
.section-tight { padding: 48px 24px; }

h2 { font-size: 1.9rem; font-weight: 800; color: var(--green-dark); margin-bottom: 14px; }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
p { margin-bottom: 14px; max-width: 70ch; }
.lead { font-size: 1.1rem; color: #444; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; padding: 26px; }
.card p { margin-bottom: 0; }

.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.facts-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
}
.facts-block dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 4px; }
.facts-block dd { font-weight: 600; color: var(--ink); margin: 0; }

.cta-band { background: var(--green-dark); color: var(--white); padding: 48px 24px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dfe9e0; margin: 0 auto 20px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info dl { margin-top: 16px; }
.contact-info dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.contact-info dd { font-weight: 600; font-size: 1.05rem; margin: 0; }

form.site-form { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; gap: 16px; }
form.site-form label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; color: var(--ink); }
form.site-form input,
form.site-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ccc4b0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--paper);
}
form.site-form textarea { min-height: 120px; resize: vertical; }
form.site-form button { justify-self: start; border: none; cursor: pointer; }

footer.site-footer { background: var(--green-dark); color: #d7e2d8; padding: 40px 24px 26px; font-size: 0.9rem; }
footer.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site-footer strong { color: var(--white); }
footer.site-footer .foot-copy {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 20px;
  padding-top: 16px;
  text-align: center;
  color: #a9bcaa;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul { gap: 18px; }
  .hero { padding: 48px 20px; }
  section { padding: 44px 20px; }
}
