/*
Theme Name: Apex Real Estate Ventures
Theme URI:  https://example.com
Author:      Juan Cancel
Author URI:  https://example.com
Description: Custom landing-page theme for Apex Real Estate Ventures.
Version:     1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apex-theme
*/

:root{
  --apex-blue: #0f3b66;
  --apex-blue-dark: #02081a;
  --apex-gold: #d3ac55;
  --apex-orange: #f7931d;
  --muted: #6b7280;
  --page-max: 1120px;
  --container-pad: 24px;
  --radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box}
body{
  margin:0;
  color:#111827;
  background:#f3f4f6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit; text-decoration:none}
a:hover{opacity:0.9}
.container{
  max-width:var(--page-max);
  margin:0 auto;
  padding:40px var(--container-pad);  /* fixed: was 500px */
}

/* TOP BAR NAV */
.site-header-bar {
  background:#111827;
  color:white;
}

/* Fixed-height, clean header bar */
.site-header-bar-inner{
  max-width:var(--page-max);
  margin:0 auto;
  height:75px;                         /* header height */
  padding:0 var(--container-pad);      /* no vertical padding */
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

/* Header logo size ONLY (top-left) */
.site-logo img {
  max-height:175px;   /* change this number to resize header logo */
  height:auto;
  width:auto;
}

/* Navigation links */
.nav-links{
  display:flex;
  gap:16px;
  font-size:13px;
}
.nav-links a{
  color:#f9fafb;
  font-weight:500;
}

/* Header CTA button */
.nav-cta{
  display:flex;
  align-items:center;
  gap:0px;
  background:var(--apex-orange);
  color:white;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
}

/* HERO */
.hero{
  position:relative;
  color:white;
  min-height:600px;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:brightness(0.75);
}
.hero-gradient{
  position:absolute;
  inset:0;
  background:linear-gradient(
    80deg,
    rgba(1,6,24,0.9) 0%,
    rgba(4,23,60,0.9) 35%,
    rgba(0,0,0,0.0) 75%
  );
}
.hero-inner{
  position:relative;
  max-width:var(--page-max);
  margin:0 auto;
  padding:100px var(--container-pad);
  display:flex;
  gap:150px;
  align-items:center;
}
.hero-left{
  flex:1;
  max-width:520px;
}

/* Logo INSIDE HERO (above title) */

.hero-title{
  font-size:40px;
  line-height:1.05;
  margin:0 0 12px;
  font-weight:800;
}
.hero-sub{
  font-size:18px;
  margin-bottom:18px;
}
.hero-cta{
  display:inline-block;
  background:var(--apex-orange);
  color:white;
  padding:12px 20px;
  border-radius:6px;
  font-weight:700;
  font-size:15px;
}
.hero-right{
  width:330px;
  max-width:100%;
}
.lead-card{
  background:rgba(255,255,255,0.98);
  padding:20px;
  border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
  color:#111827;
}
.lead-card h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:700;
}
.lead-card label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-top:10px;
}
.lead-card input{
  width:100%;
  padding:9px 11px;
  border-radius:6px;
  border:1px solid #e5e7eb;
  margin-top:4px;
  font-size:14px;
}
.lead-card button{
  width:100%;
  margin-top:14px;
  padding:11px;
  border-radius:7px;
  background:var(--apex-orange);
  color:white;
  border:0;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
}
.lead-card small{
  display:block;
  margin-top:8px;
  font-size:11px;
  color:var(--muted);
}
.lead-success{
  background:#ecfdf3;
  border-left:3px solid #16a34a;
  padding:8px 10px;
  border-radius:6px;
  margin-bottom:8px;
  font-size:13px;
}

/* Section wrapper bands */
.band-light{background:#f9fafb;}
.band-mid{background:#e5e7eb;}
.band-dark{background:var(--apex-blue-dark); color:white;}

/* Sections */
.section{
  max-width:var(--page-max);
  margin:0 auto;
  padding:48px var(--container-pad);
}
.section h2{
  font-size:22px;
  margin:0 0 16px;
}
.section-sub{
  margin:0 0 24px;
  color:var(--muted);
}

/* How it works */
.hiw-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.hiw-card{background:white; border-radius:10px; padding:18px 18px 20px; box-shadow:0 10px 25px rgba(15,23,42,0.06); text-align:center;}
.hiw-icon{width:52px; height:52px; margin:0 auto 10px; border-radius:999px; border:2px solid #bfdbfe; display:flex; align-items:center; justify-content:center; font-size:26px; color:#2563eb;}
.hiw-title{font-weight:700; margin-bottom:6px; font-size:15px;}
.hiw-text{font-size:13px; color:var(--muted);}

/* Why / Testimonials */
.why-layout{display:flex; gap:28px; flex-wrap:wrap;}
.why-left{flex:1; min-width:240px;}
.why-list{list-style:disc; padding-left:18px; font-size:14px; color:var(--muted);}
.testimonial-grid{flex:2; min-width:280px; display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.testimonial-card{background:white; border-radius:10px; padding:18px; box-shadow:0 10px 25px rgba(15,23,42,0.06); font-size:13px;}
.testimonial-header{display:flex; gap:10px; align-items:center;}
.testimonial-avatar{width:42px; height:42px; border-radius:999px; background:#e5e7eb;}
.testimonial-name{font-weight:700; font-size:13px;}
.testimonial-location{font-size:11px; color:var(--muted); margin-top:2px;}
.testimonial-body{margin-top:10px; color:#374151;}

/* Footer */
.site-footer{background:var(--apex-blue-dark); color:#e5e7eb; padding:28px 0;}
.footer-inner{max-width:var(--page-max); margin:0 auto; padding:0 var(--container-pad); display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center;}
.footer-left{display:flex; gap:12px; align-items:center;}
.footer-logo img{height:250px;}
.footer-links{display:flex; gap:18px; font-size:13px;}
.footer-social{display:flex; gap:8px; font-size:13px;}

/* Responsive */
@media(max-width:900px){
  .nav-links{display:none;}
  .hero-inner{flex-direction:column; padding:44px var(--container-pad);}
  .hero-left{max-width:none;}
  .hero-title{font-size:32px;}
  .hero-right{width:100%;}
  .hiw-grid{grid-template-columns:1fr;}
  .testimonial-grid{grid-template-columns:1fr;}
  .why-layout{flex-direction:column;}
}
