/* ============================
   Natalie Lindley Real Estate
   ============================ */

:root {
  --cream: #f1f2f2;
  --cream-dark: #e6e7e8;
  --navy: #10295a;
  --navy-light: #1c3f7a;
  --accent: #1a9175;
  --accent-dark: #14755f;
  --text: #2b2b2b;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --border: #e6e7e8;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { color: var(--text-light); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

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

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

.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.logo span { color: var(--accent); }
.logo img { height: 30px; width: auto; }
.footer-grid .logo img { height: 34px; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a {
    padding: 16px 24px;
    width: 100%;
    border-top: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 24px 120px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { color: var(--white); margin-bottom: 32px; }
.hero .eyebrow { color: #8fd9c4; }
.hero p.lead {
  color: #d7dde3;
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-photo {
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-photo img,
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 320px; margin: 0 auto; }
}

/* ---------- Placeholder image blocks ---------- */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cream-dark);
  border: 1.5px dashed #b8bcc0;
  color: #7d8388;
  font-size: 0.82rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 20px;
}
.placeholder-img svg { width: 34px; height: 34px; opacity: 0.6; }

/* ---------- Search widget section ---------- */
.search-section {
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding: 0 24px;
}

.search-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(28,43,58,0.18);
  padding: 40px;
  position: relative;
}

.search-callout {
  position: absolute;
  left: 130px;
  top: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
}

.search-callout .callout-text {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.5rem;
  color: #db1263;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  margin-top: -10px;
}

.search-callout svg {
  width: 64px;
  height: 46px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .search-callout { display: none; }
}

@media (max-width: 720px) {
  .search-callout { display: none; }
}

.search-card h3 {
  margin-bottom: 18px;
  text-align: center;
}

.search-widget-wrap {
  display: flex;
  justify-content: center;
}

/* ---------- Stats bar ---------- */
.stats {
  padding: 100px 24px 60px;
  background: var(--white);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-top: 6px;
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section generic ---------- */
.section { padding: 90px 24px; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #cfd6dc; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ---------- About / split layout ---------- */
.split {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-photo { order: 2; }

.split-photo { aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; }

.split-text .eyebrow { color: var(--accent); }
.split-text h2 { margin-bottom: 24px; }
.split-text p { margin-bottom: 20px; }

@media (max-width: 980px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-photo { order: 0; }
}

/* ---------- Feature grid (why work with me) ---------- */
.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.feature .icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 1.3rem;
}

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 30px;
}

.testimonial .stars { color: #8fd9c4; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p.quote { color: #e4e8ec; font-style: italic; margin-bottom: 18px; }
.testimonial .author { font-weight: 600; color: var(--white); font-size: 0.9rem; }

@media (max-width: 980px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--accent);
  color: var(--white);
  padding: 70px 24px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: #d7f0e8; margin-bottom: 30px; }

/* ---------- Contact page ---------- */
.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Search page ---------- */
.search-page-widget {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: center;
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b7c0c8;
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-grid .logo { color: var(--white); margin-bottom: 14px; display: inline-block; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.social-links svg { width: 18px; height: 18px; fill: var(--white); }

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #8b97a1;
}

.footer-legal {
  max-width: var(--max-width);
  margin: 18px auto 0;
  font-size: 0.76rem;
  color: #7c8891;
  line-height: 1.6;
}
