/*
Theme Name:  Houzez Child
Template:    houzez
Description: Home Dreamers Realty — Child Theme
Author:      Home Dreamers Realty
Version:     1.0
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================================
   BRAND VARIABLES
   ============================================================ */
:root {
  --g:      #0c723e;
  --gd:     #0a502b;
  --gl:     #e8f5ee;
  --gl2:    #d1eadb;
  --gold:   #f3ab1e;
  --goldd:  #d4920f;
  --dark:   #111827;
  --d2:     #1f2937;
  --d3:     #374151;
  --gray:   #6b7280;
  --light:  #f9fafb;
  --border: #e5e7eb;
  --white:  #ffffff;
  --r:      10px;
  --sh:     0 4px 24px rgba(0,0,0,.08);
  --shl:    0 8px 40px rgba(0,0,0,.14);
}

/* ============================================================
   GLOBAL TYPOGRAPHY
   ============================================================ */
body,
.houzez-page-wrap,
.listing-content,
.property_listing,
p, span, div, li, td, th {
  font-family: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif !important;
  color: var(--dark);
}

h1, h2, h3, .property-title,
.listing-title, .block-title,
.fw-page-builder-content h2,
.fw-page-builder-content h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--dark);
  font-weight: 600;
}

a { color: var(--g); transition: color .2s; }
a:hover { color: var(--gd); }

/* ============================================================
   HEADER
   ============================================================ */
#header,
.main-header,
.fixed-header,
header.header-main {
  background: #fff !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.06) !important;
}

/* Logo area */
.logo-holder img,
.site-logo img {
  max-height: 52px !important;
}

/* Nav links */
#header .sf-menu > li > a,
.main-header .sf-menu > li > a,
nav.main-nav ul li a {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: var(--d2) !important;
  letter-spacing: .3px;
}

#header .sf-menu > li > a:hover,
#header .sf-menu > li.current-menu-item > a,
#header .sf-menu > li.current-menu-ancestor > a {
  color: var(--g) !important;
}

/* Dropdown menus */
.sf-menu .sub-menu {
  border-top: 3px solid var(--g) !important;
  border-radius: 0 0 var(--r) var(--r) !important;
  box-shadow: var(--shl) !important;
}

.sf-menu .sub-menu li a {
  font-size: 13px !important;
  font-weight: 600 !important;
}

.sf-menu .sub-menu li a:hover {
  color: var(--g) !important;
  background: var(--gl) !important;
}

/* ============================================================
   BUTTONS — global
   ============================================================ */
.btn-one,
.button-one,
.houzez-btn,
input[type="submit"],
button[type="submit"],
.houzez-search-btn,
.property-btn,
.search-submit {
  background: var(--g) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .3px;
  transition: background .2s, transform .15s !important;
  cursor: pointer;
}

.btn-one:hover,
.button-one:hover,
.houzez-btn:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--gd) !important;
  transform: translateY(-1px);
}

/* Outline / secondary button */
.btn-two,
.button-two {
  background: transparent !important;
  color: var(--g) !important;
  border: 2px solid var(--g) !important;
  border-radius: var(--r) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: .2s !important;
}

.btn-two:hover,
.button-two:hover {
  background: var(--g) !important;
  color: #fff !important;
}

/* WhatsApp / Gold CTA */
.btn-gold,
.wa-btn {
  background: var(--gold) !important;
  color: #fff !important;
  border-radius: var(--r) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
}

.btn-gold:hover,
.wa-btn:hover {
  background: var(--goldd) !important;
}

/* ============================================================
   PROPERTY CARDS — listing grid
   ============================================================ */
.property_listing.p_list_layout,
.property_listing.grid_view_listing {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: var(--sh) !important;
  border: 1px solid var(--border) !important;
  transition: transform .2s, box-shadow .2s !important;
}

.property_listing.p_list_layout:hover,
.property_listing.grid_view_listing:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shl) !important;
}

/* Price tag on cards */
.listing-unit-price,
.price-label,
.price-info {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  color: var(--g) !important;
  font-size: 18px !important;
}

/* Property status badge */
.property-tag-line .for-rent,
.property-tag-line .for-sale,
.listing-status {
  background: var(--g) !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Property card title */
.listing-title h4,
.listing-title a,
.property_listing .listing-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: var(--dark) !important;
}

.listing-title a:hover {
  color: var(--g) !important;
}

/* Card meta (beds, baths, area) */
.property-listing-card-v2 .listing-img-info-wrap,
.lde, .fad, .property-meta {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 13px !important;
  color: var(--gray) !important;
}

/* ============================================================
   SEARCH / FILTER BAR
   ============================================================ */
.houzez-search-wrap,
.advance-search-v2,
#advance-search-v3 {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: var(--shl) !important;
}

.houzez-search-wrap input,
.houzez-search-wrap select,
.advance-search-v2 input,
.advance-search-v2 select {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  border-color: var(--border) !important;
}

.houzez-search-wrap input:focus,
.advance-search-v2 input:focus {
  border-color: var(--g) !important;
  box-shadow: 0 0 0 3px rgba(12,114,62,.12) !important;
  outline: none;
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget-area .widget,
.sidebar-widget {
  border-radius: var(--r) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--sh) !important;
  overflow: hidden;
}

.widget-title,
.sidebar-widget-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--gray) !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.houzez-pagination .page-numbers.current,
.pagination .current {
  background: var(--g) !important;
  color: #fff !important;
  border-color: var(--g) !important;
  border-radius: 8px !important;
}

.houzez-pagination .page-numbers:hover,
.pagination a:hover {
  background: var(--gl) !important;
  color: var(--g) !important;
  border-color: var(--g) !important;
  border-radius: 8px !important;
}

/* ============================================================
   FORMS — inquiry, contact
   ============================================================ */
.form-control,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  padding: 10px 14px !important;
  transition: border-color .2s, box-shadow .2s !important;
}

.form-control:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--g) !important;
  box-shadow: 0 0 0 3px rgba(12,114,62,.1) !important;
  outline: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer,
.houzez-footer,
footer.site-footer {
  background: var(--dark) !important;
  color: #d1d5db !important;
}

.footer-widget-area .widget-title,
.footer-widget-wrap .widget-title {
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.footer-widget-area a,
.footer-widget-wrap a {
  color: #9ca3af !important;
  font-size: 13px !important;
}

.footer-widget-area a:hover,
.footer-widget-wrap a:hover {
  color: var(--gold) !important;
}

.footer-bottom,
.houzez-footer-bottom {
  background: #0d1117 !important;
  border-top: 1px solid #374151 !important;
  color: #6b7280 !important;
  font-size: 12px !important;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.houzez-breadcrumb,
.breadcrumb-wrap {
  background: var(--gl) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 13px !important;
}

.breadcrumb-item a,
.houzez-breadcrumb a {
  color: var(--g) !important;
  font-weight: 600 !important;
}

/* ============================================================
   PAGE TITLES
   ============================================================ */
.page-title-wrap,
.fw-page-builder-content .page-title {
  background: linear-gradient(135deg, var(--gd) 0%, var(--g) 100%) !important;
  color: #fff !important;
}

.page-title-wrap h1,
.page-title-wrap h2 {
  color: #fff !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ============================================================
   AGENT / BROKER CARD
   ============================================================ */
.agent-info-wrap,
.houzez-agent-info {
  border-radius: var(--r) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--sh) !important;
  overflow: hidden;
}

.agent-name,
.agent-info-wrap h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 600 !important;
  color: var(--dark) !important;
}

.agent-designation,
.agent-info-wrap .agent-cat {
  color: var(--g) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
}

/* ============================================================
   LABELS / BADGES
   ============================================================ */
.houzez-label-wrap .label_text,
.property-label {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
}

/* Featured label */
.houzez-label-wrap .featured-label,
.label_featured {
  background: var(--gold) !important;
  color: #fff !important;
}

/* ============================================================
   UTILITIES
   ============================================================ */
/* Green text helper */
.text-green { color: var(--g) !important; }
.text-gold  { color: var(--gold) !important; }

/* Separator line */
.houzez-separator {
  border-color: var(--border) !important;
}

/* Focus ring for accessibility */
*:focus-visible {
  outline: 2px solid var(--g) !important;
  outline-offset: 2px !important;
}

/* ============================================================
   HEADER FORCE WHITE — overrides Houzez primary color
   ============================================================ */
#header,
#header.sticky-header,
.main-header,
.header-main,
.fixed-header,
.header-wrap,
.header-container,
div#header,
header#header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
}

/* Keep nav links dark on white header */
#header .sf-menu > li > a,
#header nav a,
.main-header .sf-menu > li > a,
.header-main nav a,
.main-nav ul li a {
  color: #1f2937 !important;
}

#header .sf-menu > li > a:hover,
#header .sf-menu > li.current-menu-item > a {
  color: #0c723e !important;
  background: #e8f5ee !important;
  border-radius: 7px !important;
}

/* ============================================================
   LOGO FIX — target actual classes from live HTML inspection
   img.hdr-logo-img inside a.hdr-logo inside .hdr-header-inner
   ============================================================ */

/* Hide broken img (src points to missing file) */
.hdr-logo-img {
  opacity: 0 !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
}

/* Show logo via background on the anchor */
.hdr-logo {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 210px !important;
  height: 50px !important;
  background-image: url('https://homedreamersrealty.com/wp-content/uploads/2026/05/hdr-logo-green.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}

/* Footer logo — white version */
footer .hdr-logo,
.houzez-footer .hdr-logo,
footer a.logo,
.houzez-footer a.logo {
  background-image: url('https://homedreamersrealty.com/wp-content/uploads/2026/05/hdr-logo-white.png') !important;
  min-width: 180px !important;
  height: 40px !important;
}

footer .hdr-logo-img,
.houzez-footer .hdr-logo-img,
footer a.logo img,
.houzez-footer a.logo img {
  opacity: 0 !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
}

/* ============================================================
   DASHBOARD SIDEBAR — active item fix
   Houzez defaults to a blue/teal (#003a64) for the active link.
   Override to brand green so it matches the HDR color scheme.
   ============================================================ */
.sidebar-nav a.active,
.houzez-dashboard-sidebar .sidebar-nav a.active {
  background: var(--gd) !important;
  color: var(--gold) !important;
  border-left-color: var(--gold) !important;
}

.sidebar-nav a:hover,
.houzez-dashboard-sidebar .sidebar-nav a:hover {
  background: rgba(255,255,255,.08) !important;
  color: var(--gold) !important;
}

/* Section headings inside sidebar nav */
.sidebar-nav .nav-box h5 {
  color: rgba(255,255,255,.45) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
}

/* ============================================================
   CREATE LISTING — bottom nav fix
   The chat widget (fixed, bottom-right) overlaps the Next button.
   Add right padding so buttons clear the chat bubble, and raise z-index.
   ============================================================ */
.add-new-listing-bottom-nav-wrap {
  padding-right: 80px !important;
  z-index: 9999 !important;
  background: #fff !important;
  border-top: 1px solid var(--border) !important;
}

/* Also push chat-widget element up so it sits above the nav bar */
chat-widget {
  margin-bottom: 60px !important;
  display: block !important;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 18px !important; }

  .price-label,
  .listing-unit-price {
    font-size: 16px !important;
  }

  #header .sf-menu { display: none; }
}