/* ===========================================================
   Andrew Paull Real Estate — Shared Stylesheet
   Replace colors/fonts in :root below to match your brand.
   =========================================================== */

:root {
  --navy: #1b2a41;
  --navy-light: #2c4266;
  --gold: #b8925a;
  --gold-light: #d8b98a;
  --cream: #faf7f2;
  --cream-dark: #f0ebe1;
  --ink: #22262b;
  --ink-soft: #5a6169;
  --white: #ffffff;
  --line: #e3ddd1;
  --shadow: 0 12px 30px rgba(27, 42, 65, 0.08);
  --shadow-hover: 0 18px 40px rgba(27, 42, 65, 0.14);
  --radius: 10px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

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

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

section { padding: 72px 0; }

.section-tight { padding: 40px 0; }

/* ---------- Placeholder banner ---------- */
.placeholder-banner {
  background: #fff4e0;
  color: #7a5b1d;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-bottom: 1px solid #e8d5a8;
}
.placeholder-banner strong { font-weight: 600; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand .tagline {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  border-color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--navy-light); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: #a67f4a; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 110px;
}
.hero-inner {
  max-width: 720px;
}
.hero .eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  color: var(--white);
  font-size: 2.9rem;
  margin-bottom: 20px;
}
.hero p.lead {
  color: #dfe4ee;
  font-size: 1.15rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* page header for interior pages */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: #cfd6e4; max-width: 560px; margin: 0 auto; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
}
.stat { text-align: center; }
.stat .num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
.stat .label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Cards / Grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.value-card {
  padding: 32px 26px;
  text-align: left;
}
.value-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

/* ---------- Listing card ---------- */
.listing-card .photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}
.listing-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.listing-card .status-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 4px;
}
.listing-card .status-tag.sold { background: var(--navy); }
.listing-card .body { padding: 20px 22px 24px; }
.listing-card .price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}
.listing-card .addr { font-weight: 600; color: var(--ink); margin: 4px 0 10px; }
.listing-card .meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.15s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  padding: 32px 28px;
}
.testimonial-card .quote {
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card .who { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.testimonial-card .who span {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

/* ---------- About ---------- */
.headshot-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.credentials-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.credentials-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info-card .row .ico {
  color: var(--gold-light);
  font-size: 1.1rem;
  width: 22px;
}
.contact-info-card .row div { color: #d7dceb; font-size: 0.92rem; }
.contact-info-card .row strong { color: var(--white); display: block; margin-bottom: 2px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 10px;
}
#form-success {
  display: none;
  background: #e9f7ee;
  color: #1e6b3d;
  border: 1px solid #bfe6cd;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfd6e4; max-width: 500px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #14202f;
  color: #b7c0d1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #7c8aa3;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  body.nav-open nav.main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  body.nav-open nav.main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  body.nav-open nav.main-nav .nav-cta { display: inline-block; margin-top: 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .hero { padding: 64px 0 72px; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
