/*
Theme Name: BuySellQuickLee
Theme URI: https://buysellquicklee.com
Author: Amy D. L. Lee
Author URI: https://buysellquicklee.com
Description: A boutique real estate theme for Amy D. L. Lee, MPA — REALTOR® with Valley Roots Realty. Matching the Valley Roots Realty aesthetic with earthy tones, editorial typography, and easy listing management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buysellquicklee
Requires at least: 6.0
Requires PHP: 7.4
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --color-forest:     #2C5530;
  --color-forest-dk:  #1E3B22;
  --color-sage:       #7A9A7E;
  --color-sage-light: #D4E2D5;
  --color-cream:      #FAF7F2;
  --color-warm:       #F5EDE0;
  --color-bark:       #3E2F1C;
  --color-bark-light: #6B5B4A;
  --color-gold:       #C9A94E;
  --color-gold-soft:  #E8D9A0;
  --color-white:      #FFFFFF;
  --color-text:       #2A2A2A;
  --color-text-light: #5A5A5A;
  --color-border:     #E0D8CC;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --nav-height: 72px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================
   NAV
   ============================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-forest);
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--color-gold); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-forest); }
.nav-cta {
  background: var(--color-forest) !important;
  color: var(--color-white) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--color-forest-dk) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-forest);
  font-size: 1.5rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm) 50%, var(--color-sage-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(44,85,48,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 16px;
}
.hero-kicker::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--color-gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-bark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-forest);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-forest);
}
.hero-stat span {
  font-size: 0.82rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-photo { position: relative; display: flex; justify-content: center; }
.hero-photo img {
  width: 380px;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.hero-photo-placeholder {
  width: 380px;
  height: 460px;
  border-radius: 12px;
  background: var(--color-sage-light);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  text-align: center;
}
.hero-photo-placeholder .initials {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-white);
  font-weight: 700;
}
.hero-photo-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 160px; height: 160px;
  border: 3px solid var(--color-gold-soft);
  border-radius: 12px;
  z-index: -1;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--color-forest);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-forest-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44,85,48,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}
.btn-outline:hover {
  background: var(--color-forest);
  color: var(--color-white);
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 100px 24px; }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-bark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* =============================================
   ABOUT
   ============================================= */
.about-bg { background: var(--color-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-features { display: grid; gap: 28px; margin-top: 36px; }
.about-feature { display: flex; gap: 16px; }
.about-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--color-sage-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
}
.about-feature h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
}
.about-image-box {
  background: var(--color-warm);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
}
.about-image-box blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-bark);
  line-height: 1.6;
  margin-bottom: 16px;
}
.about-image-box cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* =============================================
   SERVICES
   ============================================= */
.services-bg {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-warm) 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.service-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--color-sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-forest);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* =============================================
   LISTINGS (Custom Post Type)
   ============================================= */
.listings-bg { background: var(--color-white); }
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.listing-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.listing-card a { display: block; }
.listing-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.listing-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-active  { background: var(--color-forest); color: var(--color-white); }
.badge-pending { background: var(--color-gold); color: var(--color-bark); }
.badge-sold    { background: var(--color-bark); color: var(--color-white); }
.listing-body { padding: 24px; }
.listing-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 6px;
}
.listing-address {
  font-size: 0.95rem;
  color: var(--color-bark);
  font-weight: 500;
  margin-bottom: 4px;
}
.listing-city {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.listing-details {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.listing-detail {
  font-size: 0.82rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.listing-detail strong {
  color: var(--color-bark);
  font-weight: 600;
}
.listings-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--color-warm);
  border-radius: 12px;
  border: 2px dashed var(--color-border);
}
.listings-empty h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-bark);
  margin-bottom: 8px;
}
.listings-empty p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* =============================================
   SERVICE AREA
   ============================================= */
.area-bg {
  background: var(--color-forest);
  color: var(--color-white);
}
.area-bg .section-kicker { color: var(--color-gold-soft); }
.area-bg .section-title  { color: var(--color-white); }
.area-bg .section-sub    { color: rgba(255,255,255,0.75); }
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.area-chip {
  padding: 10px 24px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s;
}
.area-chip:hover { background: rgba(255,255,255,0.18); }

/* =============================================
   CONTACT
   ============================================= */
.contact-bg { background: var(--color-cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}
.contact-methods { display: grid; gap: 28px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; }
.contact-method-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--color-sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
}
.contact-method h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 4px;
}
.contact-method p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}
.contact-method a {
  color: var(--color-forest);
  font-weight: 500;
  transition: color 0.2s;
}
.contact-method a:hover { color: var(--color-forest-dk); }
.contact-form-wrap {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--color-border);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-cream);
  color: var(--color-text);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-forest);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Form messages */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-sage-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-forest);
}
.form-error {
  display: none;
  text-align: center;
  padding: 16px;
  margin-top: 12px;
  background: #FFF0F0;
  border: 1px solid #E8C4C4;
  border-radius: 8px;
  color: #8B3A3A;
  font-size: 0.9rem;
}
.form-error.show { display: block; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-bark);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--color-gold); }
.site-footer p { font-size: 0.9rem; line-height: 1.7; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   ADMIN BAR FIX
   ============================================= */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo { margin-top: 40px; }
  .hero-photo-accent { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .listings-header { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    gap: 20px;
  }
  .form-row { grid-template-columns: 1fr; }
}
