/*
Theme Name: TheProperty - Ray Walker
Theme URI: https://raysellscentralfl.com/
Author: Ray Walker Real Estate
Author URI: https://raysellscentralfl.com/
Description: Bootstrap v5.3.8-based, open-source, custom-coded WordPress theme for Rashard “Ray” Walker | Orlando / Central Florida real estate lead capture.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theproperty-ray
Requires at least: 6.0
Requires PHP: 8.0
*/

/*
 * Bootstrap 5.3.8 CDN loaded via functions.php.
 * Below are the theme-specific design tokens and overrides.
 */

:root {
  --color-primary: #1a4d5a;
  --color-primary-light: #257687;
  --color-secondary: #f6a94c;
  --color-accent: #d4a55d;
  --color-dark: #102a35;
  --color-body: #4a5568;
  --color-heading: #1f2937;
  --color-light-bg: #f7f9fa;
  --color-border: #e3e8ec;
  --font-body: 'Roboto', system-ui, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Raleway', system-ui, sans-serif;
  --transition: all .3s ease;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
}

a { color: var(--color-primary); transition: var(--transition); }
a:hover { color: var(--color-primary-light); }

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
}
.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.btn-secondary {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #1f2937;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
}
.btn-secondary:hover {
  background: #e29538;
  border-color: #e29538;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.section { padding: 5rem 0; }
.section-title { margin-bottom: 3rem; }
.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: .75rem;
}
.section-title p { color: var(--color-body); font-size: 1.1rem; }

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  z-index: 1030;
}
.sitename {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}
.navmenu ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.75rem; }
.navmenu a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
}
.navmenu a:hover, .navmenu a.active { color: var(--color-primary); }
.btn-getstarted { margin-left: auto; }

/* Hero */
.hero { background: linear-gradient(135deg, #eef5f7 0%, #fff 100%); padding-top: 7rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(26,77,90,.1);
  color: var(--color-primary);
  padding: .5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; }
.search-form { background: #fff; padding: 1.5rem; border-radius: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.btn-search { background: var(--color-primary); color: #fff; font-weight: 600; }
.hero-stats .stat-item h3 { color: var(--color-primary); font-size: 2rem; font-weight: 800; }
.hero-stats .stat-item p { font-weight: 600; color: var(--color-body); }

/* Image stacks */
.image-stack { position: relative; }
.image-stack .main-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.image-stack .secondary-image {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 55%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border: 5px solid #fff;
}
.floating-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* Property / Agent cards */
.stack-card, .mini-card, .service-card, .agent-card, .post-item {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: var(--transition);
  height: 100%;
}
.stack-card:hover, .mini-card:hover, .service-card:hover, .agent-card:hover, .post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.1);
}
.stack-media, .thumb { position: relative; overflow: hidden; }
.stack-media img, .thumb img { width: 100%; height: 220px; object-fit: cover; }
.stack-body, .mini-body, .service-card .service-content, .agent-info, .post-content { padding: 1.25rem; }
.stack-price, .mini-price, .price { font-weight: 800; color: var(--color-primary); font-size: 1.25rem; }
.chip, .label, .flag { font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 2rem; }
.chip.featured, .flag.featured { background: var(--color-primary); color: #fff; }
.chip.hot, .label.hot, .flag.premium { background: var(--color-secondary); color: #1f2937; }
.chip.new, .label.new { background: #e9f5eb; color: #2d7a3e; }

/* Services */
.service-card.featured { border-top: 4px solid var(--color-secondary); }
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: rgba(26,77,90,.08);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.service-number { font-size: 2rem; font-weight: 800; color: var(--color-border); }

/* Agents */
.agent-image { position: relative; overflow: hidden; }
.agent-image img { width: 100%; height: 320px; object-fit: cover; }
.agent-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,77,90,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.agent-card:hover .agent-overlay { opacity: 1; }
.contact-buttons { display: flex; gap: .75rem; }
.btn-contact {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
}
.status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-secondary);
  color: #1f2937;
  padding: .35rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
}

/* Testimonials */
.testimonials { background: var(--color-light-bg); }
.testimonial-item { padding: 2rem; }

/* CTA */
.call-to-action { background: var(--color-light-bg); }

/* Footer */
.footer { background: var(--color-dark); color: #bfc9cf; padding-top: 4rem; }
.footer h4 { color: #fff; }
.footer a { color: #bfc9cf; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; margin-top: 2rem; }

/* Forms */
.form-control, .form-select { border-radius: .5rem; border-color: var(--color-border); }
.form-floating label { color: #6c757d; }

/* Mobile nav */
.mobile-nav-toggle { font-size: 1.75rem; color: var(--color-primary); cursor: pointer; }
@media (max-width: 1199px) {
  .navmenu ul {
    position: fixed;
    inset: 0 0 0 0;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1.25rem;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 1040;
  }
  .navmenu.active ul { transform: translateX(0); }
}

@media (max-width: 991px) {
  .hero h1 { font-size: 2.25rem; }
  .hero .image-stack { margin-top: 3rem; }
}
