/*
Theme Name: J&M Property Investment Theme
Theme URI: https://jmpropertyinvestmentsllc.com
Author: J&M Property Investment LLC
Author URI: https://jmpropertyinvestmentsllc.com
Description: A professional, fully SEO-optimized real estate investment website theme for J&M Property Investment LLC. Built to attract motivated sellers, showcase properties, and generate leads in Georgia and across the Southeast USA.
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: jm-property
Tags: real-estate, investment, we-buy-houses, motivated-sellers, georgia, fayetteville, seo-optimized, lead-generation, blog, responsive
*/

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a5c;       /* Deep Navy Blue */
  --secondary: #c8922a;     /* Gold/Amber */
  --accent: #2ecc71;        /* Green (trust/money) */
  --dark: #111827;
  --light: #f8fafc;
  --gray: #6b7280;
  --white: #ffffff;
  --red: #dc2626;
  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Arial', 'Helvetica Neue', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--dark); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-main); font-weight: 700; line-height: 1.3; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.lead { font-size: 1.25rem; font-weight: 400; color: #374151; }

/* =====================================================
   LAYOUT
   ===================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; letter-spacing: 0.5px; }
.btn-primary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-primary:hover { background: #a87520; border-color: #a87520; color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-green { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-green:hover { background: #27ae60; border-color: #27ae60; color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 18px 48px; font-size: 1.15rem; }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: #b91c1c; color: var(--white); transform: translateY(-2px); }

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
#site-header { position: sticky; top: 0; z-index: 1000; background: var(--primary); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-top { background: var(--secondary); padding: 8px 0; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: var(--white); font-size: 0.9rem; font-weight: 600; }
.header-top a:hover { color: var(--primary); }
.header-main { padding: 15px 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo .logo-text { color: var(--white); }
.site-logo .logo-text .name { font-size: 1.4rem; font-weight: 700; font-family: var(--font-main); display: block; }
.site-logo .logo-text .tagline { font-size: 0.75rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.main-nav ul { display: flex; gap: 5px; align-items: center; }
.main-nav ul li a { color: var(--white); padding: 8px 14px; border-radius: 5px; font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.main-nav ul li a:hover, .main-nav ul li a.active { background: var(--secondary); color: var(--white); }
.nav-cta { background: var(--secondary) !important; padding: 10px 20px !important; border-radius: 5px !important; font-weight: 700 !important; }
.nav-cta:hover { background: #a87520 !important; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 25px; height: 3px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('images/hero-bg.jpg') center/cover no-repeat; opacity: 0.2; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge { display: inline-block; background: var(--secondary); color: var(--white); padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--secondary); }
.hero .lead { color: rgba(255,255,255,0.9); margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stat .number { font-size: 2.5rem; font-weight: 700; color: var(--secondary); font-family: var(--font-main); }
.hero-stat .label { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar { background: var(--secondary); padding: 20px 0; }
.trust-bar .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; font-size: 0.95rem; }
.trust-item .icon { font-size: 1.5rem; }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 50px; }
.step-card { text-align: center; padding: 30px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; transition: var(--transition); }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.step-number { width: 60px; height: 60px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 20px; font-family: var(--font-main); }
.step-card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.2rem; }
.step-card p { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* =====================================================
   OFFER FORM / LEAD CAPTURE
   ===================================================== */
.offer-section { background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%); padding: 80px 0; }
.offer-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.offer-content h2 { color: var(--white); }
.offer-content h2 span { color: var(--secondary); }
.offer-content p { color: rgba(255,255,255,0.85); }
.offer-content ul { margin: 20px 0; }
.offer-content ul li { color: rgba(255,255,255,0.9); padding: 8px 0; padding-left: 25px; position: relative; font-size: 1rem; }
.offer-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.offer-form-box { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.offer-form-box h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.5rem; }
.offer-form-box .subtitle { color: var(--gray); margin-bottom: 25px; font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--dark); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: var(--radius); font-size: 1rem; transition: var(--transition); font-family: var(--font-sans); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,58,92,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit-btn { width: 100%; padding: 16px; background: var(--red); color: var(--white); border: none; border-radius: var(--radius); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; }
.form-submit-btn:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: var(--shadow); }
.form-disclaimer { font-size: 0.8rem; color: var(--gray); text-align: center; margin-top: 12px; }

/* =====================================================
   PROPERTY CARDS
   ===================================================== */
.property-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.property-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.property-card .card-image { position: relative; height: 220px; overflow: hidden; background: #e5e7eb; }
.property-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.property-card:hover .card-image img { transform: scale(1.05); }
.property-badge { position: absolute; top: 15px; left: 15px; padding: 5px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.badge-for-sale { background: var(--accent); color: var(--white); }
.badge-sold { background: var(--red); color: var(--white); }
.badge-pending { background: var(--secondary); color: var(--white); }
.card-body { padding: 20px; }
.card-price { font-size: 1.6rem; font-weight: 700; color: var(--primary); font-family: var(--font-main); }
.card-address { color: var(--gray); font-size: 0.9rem; margin: 5px 0 15px; }
.card-features { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; margin-bottom: 15px; }
.card-feature { font-size: 0.9rem; color: var(--gray); }
.card-feature strong { color: var(--dark); display: block; font-size: 1rem; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: var(--shadow); border-left: 4px solid var(--secondary); }
.testimonial-text { font-style: italic; color: #374151; margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.2rem; }
.author-name { font-weight: 700; color: var(--dark); }
.author-location { font-size: 0.85rem; color: var(--gray); }
.stars { color: var(--secondary); font-size: 1.1rem; margin-bottom: 15px; }

/* =====================================================
   BLOG
   ===================================================== */
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.blog-card .card-image { height: 200px; overflow: hidden; background: #e5e7eb; position: relative; }
.blog-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .card-image img { transform: scale(1.05); }
.blog-video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(26,58,92,0.7); }
.play-btn { width: 60px; height: 60px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.play-btn:hover { transform: scale(1.1); background: var(--white); color: var(--secondary); }
.blog-card .card-body { padding: 25px; }
.blog-category { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--secondary); letter-spacing: 1px; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--secondary); }
.blog-meta { display: flex; gap: 15px; font-size: 0.85rem; color: var(--gray); margin-bottom: 15px; }
.blog-excerpt { color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; }
.read-more { color: var(--secondary); font-weight: 600; font-size: 0.95rem; }
.read-more:hover { color: var(--primary); }

/* Single Blog Post */
.blog-post-header { background: var(--primary); padding: 80px 0 50px; }
.blog-post-header h1 { color: var(--white); margin-bottom: 20px; }
.post-meta { display: flex; gap: 20px; color: rgba(255,255,255,0.7); font-size: 0.9rem; flex-wrap: wrap; }
.post-content { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.post-content h2, .post-content h3 { margin: 40px 0 15px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 20px 0 20px 30px; }
.post-content ul li, .post-content ol li { margin-bottom: 10px; }
.post-content a { color: var(--secondary); font-weight: 600; text-decoration: underline; }
.post-content a:hover { color: var(--primary); }
.post-content blockquote { border-left: 4px solid var(--secondary); padding: 20px 25px; background: var(--light); margin: 30px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.post-content blockquote p { margin: 0; font-style: italic; font-size: 1.1rem; }
.video-embed { margin: 30px 0; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { width: 100%; aspect-ratio: 16/9; border: none; }
.video-placeholder-box { background: var(--primary); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--white); margin: 30px 0; }
.video-placeholder-box p { color: rgba(255,255,255,0.8); margin-bottom: 15px; }

/* =====================================================
   ABOUT / TEAM
   ===================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: #374151; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.value-item { display: flex; gap: 15px; align-items: flex-start; }
.value-icon { width: 45px; height: 45px; background: var(--secondary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.3rem; flex-shrink: 0; }
.value-text h4 { color: var(--primary); margin-bottom: 5px; font-size: 1rem; }
.value-text p { color: var(--gray); font-size: 0.9rem; margin: 0; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info-card { background: var(--primary); border-radius: 12px; padding: 40px; color: var(--white); }
.contact-info-card h3 { color: var(--white); margin-bottom: 30px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.contact-item .icon { width: 45px; height: 45px; background: var(--secondary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item .text strong { display: block; color: var(--secondary); margin-bottom: 3px; }
.contact-item .text span { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-form-box { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer { background: var(--dark); color: rgba(255,255,255,0.8); }
.footer-main { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text .name { color: var(--white); font-size: 1.3rem; }
.footer-brand .logo-text .tagline { color: var(--secondary); }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 15px; font-size: 0.95rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .icon { color: var(--secondary); font-size: 1rem; margin-top: 3px; }
.footer-contact-item span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom-links a:hover { color: var(--secondary); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; transition: var(--transition); }
.social-link:hover { background: var(--secondary); color: var(--white); transform: translateY(-3px); }

/* =====================================================
   PAGE HEADERS
   ===================================================== */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%); padding: 80px 0; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: 15px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; margin-top: 20px; font-size: 0.9rem; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .about-grid, .offer-section .container, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 20px; }
  .main-nav.open ul { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .section { padding: 50px 0; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn-lg { padding: 14px 30px; }
  .trust-bar .container { flex-direction: column; text-align: center; }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.mt-0 { margin-top: 0; } .mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-20 { margin-bottom: 20px; } .mb-40 { margin-bottom: 40px; }
.pt-0 { padding-top: 0; } .pb-0 { padding-bottom: 0; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
