/*
Theme Name: Right Find Homes V0.1
Theme URI: https://rightfindhomes.com/
Author: Right Find Homes
Description: UX-first prototype theme for the Right Find Homes platform. Includes mock property content and a custom role-based business dashboard for Agent, Owner and Dev experiences.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: right-find-homes
*/

:root {
  --rfh-bg: #f7f8f8;
  --rfh-surface: #ffffff;
  --rfh-text: #142019;
  --rfh-muted: #66736b;
  --rfh-border: #dfe6e1;
  --rfh-primary: #143f2c;
  --rfh-primary-2: #1d5a3f;
  --rfh-accent: #d8a545;
  --rfh-radius: 18px;
  --rfh-shadow: 0 18px 45px rgba(20, 63, 44, 0.10);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--rfh-bg);
  color: var(--rfh-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.rfh-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rfh-border);
}
.rfh-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.rfh-site-header .rfh-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rfh-brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:-.02em; }
.rfh-brand-mark {
  width: 38px; height:38px; border-radius:12px; display:grid; place-items:center;
  background: var(--rfh-primary); color:#fff; font-weight:900;
}
.rfh-site-nav { display:flex; align-items:center; gap:24px; font-size:14px; color:#314238; }
.rfh-site-nav a:hover { color:var(--rfh-primary); }
.rfh-header-actions { display:flex; gap:10px; align-items:center; }
.rfh-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid transparent; border-radius:12px; padding:12px 18px; font-weight:700;
  cursor:pointer; transition:.2s ease; font-size:14px;
}
.rfh-btn-primary { background:var(--rfh-primary); color:#fff; }
.rfh-btn-primary:hover { background:var(--rfh-primary-2); transform:translateY(-1px); }
.rfh-btn-ghost { background:#fff; border-color:var(--rfh-border); }

.rfh-hero {
  padding: 76px 0 52px;
  background:
    radial-gradient(circle at 86% 10%, rgba(216,165,69,.16), transparent 22%),
    linear-gradient(180deg, #f3f7f4 0%, #f7f8f8 100%);
}
.rfh-hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:48px; align-items:center; }
.rfh-eyebrow { text-transform:uppercase; letter-spacing:.14em; font-weight:800; font-size:12px; color:var(--rfh-primary-2); }
.rfh-hero h1 { font-size:clamp(42px,5vw,72px); line-height:1.02; letter-spacing:-.055em; margin:14px 0 18px; }
.rfh-hero p { font-size:19px; color:var(--rfh-muted); max-width:680px; margin:0 0 26px; }
.rfh-search-box {
  display:grid; grid-template-columns:1fr auto; gap:10px; padding:10px; background:#fff;
  border:1px solid var(--rfh-border); border-radius:16px; box-shadow:var(--rfh-shadow); max-width:720px;
}
.rfh-search-box input { border:0; outline:0; font:inherit; padding:4px 10px; min-width:0; }
.rfh-search-hints { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; color:var(--rfh-muted); font-size:13px; }
.rfh-search-hints span { background:#fff; border:1px solid var(--rfh-border); border-radius:999px; padding:7px 10px; }
.rfh-hero-card { position:relative; border-radius:26px; overflow:hidden; min-height:520px; box-shadow:var(--rfh-shadow); background:#dfe7e0; }
.rfh-hero-card img { width:100%; height:520px; object-fit:cover; }
.rfh-hero-card-overlay {
  position:absolute; inset:auto 18px 18px 18px; background:rgba(255,255,255,.94); backdrop-filter:blur(12px);
  padding:18px; border-radius:18px; display:flex; justify-content:space-between; gap:16px; align-items:end;
}
.rfh-hero-card-overlay strong { display:block; font-size:20px; }
.rfh-hero-card-overlay span { color:var(--rfh-muted); font-size:13px; }

.rfh-section { padding:64px 0; }
.rfh-section-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.rfh-section-head h2 { margin:6px 0 0; font-size:34px; letter-spacing:-.035em; }
.rfh-section-head p { margin:0; color:var(--rfh-muted); max-width:560px; }
.rfh-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.rfh-neighborhood-card, .rfh-property-card {
  background:var(--rfh-surface); border:1px solid var(--rfh-border); border-radius:var(--rfh-radius); overflow:hidden;
  box-shadow:0 8px 22px rgba(0,0,0,.035);
}
.rfh-neighborhood-card { min-height:280px; position:relative; }
.rfh-neighborhood-card img { width:100%; height:280px; object-fit:cover; }
.rfh-card-shade { position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.72)); }
.rfh-neighborhood-copy { position:absolute; left:20px; right:20px; bottom:18px; color:#fff; }
.rfh-neighborhood-copy h3 { margin:0 0 4px; font-size:24px; }
.rfh-neighborhood-copy p { margin:0; opacity:.82; font-size:13px; }

.rfh-property-media { position:relative; }
.rfh-property-media img { width:100%; height:230px; object-fit:cover; }
.rfh-badge { position:absolute; left:14px; top:14px; background:#fff; padding:7px 10px; border-radius:999px; font-size:12px; font-weight:800; }
.rfh-heart { position:absolute; right:14px; top:14px; width:36px; height:36px; border-radius:50%; border:0; background:rgba(255,255,255,.94); font-size:18px; }
.rfh-property-body { padding:18px; }
.rfh-price { font-size:24px; font-weight:850; letter-spacing:-.03em; }
.rfh-meta { display:flex; gap:12px; color:var(--rfh-muted); font-size:13px; margin:4px 0 12px; flex-wrap:wrap; }
.rfh-address { font-weight:700; }
.rfh-subdivision { color:var(--rfh-muted); font-size:13px; }

.rfh-conversion-band { background:var(--rfh-primary); color:#fff; border-radius:24px; padding:36px; display:flex; justify-content:space-between; gap:24px; align-items:center; }
.rfh-conversion-band h2 { margin:0 0 8px; font-size:32px; }
.rfh-conversion-band p { margin:0; color:rgba(255,255,255,.74); }
.rfh-conversion-band .rfh-btn { background:#fff; color:var(--rfh-primary); white-space:nowrap; }

.rfh-site-footer { border-top:1px solid var(--rfh-border); padding:42px 0; background:#fff; }
.rfh-footer-grid { display:grid; grid-template-columns:1.3fr .7fr .7fr; gap:30px; }
.rfh-footer-title { font-weight:850; margin-bottom:10px; }
.rfh-footer-copy { color:var(--rfh-muted); font-size:14px; max-width:520px; }
.rfh-footer-links { display:grid; gap:8px; color:var(--rfh-muted); font-size:14px; }
.rfh-legal { margin-top:34px; border-top:1px solid var(--rfh-border); padding-top:18px; color:#7a877f; font-size:12px; }

@media (max-width: 900px) {
  .rfh-hero-grid, .rfh-grid-3, .rfh-footer-grid { grid-template-columns:1fr; }
  .rfh-site-nav { display:none; }
  .rfh-hero-card { min-height:400px; }
  .rfh-hero-card img { height:400px; }
  .rfh-conversion-band { align-items:flex-start; flex-direction:column; }
}
