
/*
Theme Name: FLT Homes V8 Corrected
Theme URI: https://flthomes.com
Author: FLT Communities
Description: Corrected FLT Homes theme preserving the Home landing page and adding separate About Us page.
Version: 8.0
*/

:root{
  --cream:#f7f3eb;
  --green:#0f2f1f;
  --green2:#3f6239;
  --gold:#b79a62;
  --text:#111;
  --muted:#5d554d;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--cream);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.header{
  background:rgba(247,243,235,.98);
  border-bottom:1px solid rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:999;
}
.header-inner{
  max-width:1440px;
  margin:auto;
  padding:16px 36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:36px;
}
.logo img{height:70px;width:auto}
.nav{
  display:flex;
  align-items:center;
  gap:38px;
  font-weight:800;
  white-space:nowrap;
}
.nav a{display:inline-flex;align-items:center;min-height:46px}
.nav .join{
  background:var(--green);
  color:#fff;
  border-radius:999px;
  padding:14px 28px;
}

/* HOME PAGE - protected baseline */
.home-hero{
  min-height:78vh;
  background:
    linear-gradient(90deg,rgba(0,0,0,.52),rgba(0,0,0,.10)),
    url('assets/home-hero.jpg');
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
  padding:90px 6% 88px;
  color:#fff;
}
.home-hero-content{
  max-width:680px;
}
.home-hero h1{
  font-family:Georgia,serif;
  font-size:clamp(44px,6vw,76px);
  line-height:1.02;
  margin:0 0 20px;
}
.home-hero p{
  font-size:clamp(17px,1.8vw,22px);
  line-height:1.55;
  margin:0 0 28px;
  max-width:620px;
}
.btn-row{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 28px;
  border-radius:999px;
  font-weight:850;
}
.btn-green{background:var(--green2);color:#fff}
.btn-white{background:#fff;color:#111}

.home-feature-bar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:var(--green);
  color:#fff;
  padding:30px 6%;
  gap:0;
}
.home-feature{
  padding:8px 28px;
  border-right:1px solid rgba(255,255,255,.18);
}
.home-feature:last-child{border-right:none}
.home-feature h3{
  margin:0 0 8px;
  font-size:20px;
}
.home-feature p{
  margin:0;
  color:#d9d1c5;
  line-height:1.5;
}

.vision-highlights{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  padding:64px 6%;
  background:var(--cream);
}
.vision-card{
  background:#fff;
  border-radius:20px;
  padding:30px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.vision-card h3{
  margin:0 0 12px;
  color:var(--green);
  font-size:25px;
}
.vision-card p{
  margin:0;
  line-height:1.7;
  color:#444;
}

/* Shared page styles */
.section{padding:90px 6%}
.container{max-width:1240px;margin:auto}
.label{
  color:var(--gold);
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:13px;
  font-weight:900;
  margin-bottom:16px;
}
h2{
  font-family:Georgia,serif;
  font-size:clamp(36px,5vw,62px);
  line-height:1.08;
  margin:0 0 20px;
}
.lead{
  color:var(--muted);
  font-size:20px;
  line-height:1.7;
  margin:0;
}

/* ABOUT PAGE ONLY */
.about-hero{
  min-height:76vh;
  background:
    linear-gradient(90deg,rgba(0,0,0,.64),rgba(0,0,0,.20)),
    url('assets/about-hero.jpg');
  background-size:cover;
  background-position:center;
  color:#fff;
  display:flex;
  align-items:center;
  padding:110px 6% 90px;
}
.about-hero-content{max-width:760px}
.about-hero h1{
  font-family:Georgia,serif;
  font-size:clamp(48px,7vw,88px);
  line-height:1.02;
  margin:0 0 22px;
}
.about-hero p{
  max-width:720px;
  font-size:clamp(18px,2vw,24px);
  line-height:1.55;
  margin:0;
}
.about-values-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:42px;
}
.about-value-card{
  background:#fff;
  border-radius:24px;
  padding:32px;
  box-shadow:0 14px 36px rgba(0,0,0,.08);
  border:1px solid rgba(15,47,31,.08);
}
.about-icon{
  width:54px;
  height:54px;
  border-radius:50%;
  background:var(--green);
  color:#d9c68a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:900;
  margin-bottom:20px;
}
.about-value-card h3{
  margin:0 0 12px;
  color:var(--green);
  font-size:24px;
}
.about-value-card p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:16px;
}

/* Placeholder pages */
.placeholder-page{
  min-height:62vh;
  padding:100px 6%;
  display:flex;
  align-items:center;
}
.placeholder-card{
  max-width:900px;
  background:#fff;
  padding:48px;
  border-radius:28px;
  box-shadow:0 16px 42px rgba(0,0,0,.08);
}

.footer{
  background:#0b0b0b;
  color:#fff;
  padding:48px 6%;
}
.footer-inner{
  max-width:1240px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
}
.footer-title{font-size:26px;font-weight:900}
.footer-muted{color:#aaa;line-height:1.7;margin-top:8px}

@media(max-width:1100px){
  .nav{gap:22px;font-size:15px}
  .logo img{height:58px}
  .home-feature-bar,.vision-highlights,.about-values-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .header-inner{align-items:flex-start;flex-direction:column;padding:14px 22px;gap:12px}
  .nav{width:100%;overflow-x:auto;gap:18px;padding-bottom:6px}
  .home-hero,.about-hero{min-height:70vh;padding:80px 24px 70px}
  .home-feature-bar,.vision-highlights,.about-values-grid{grid-template-columns:1fr}
  .home-feature{border-right:none;border-bottom:1px solid rgba(255,255,255,.18);padding:18px 0}
}

/* V8.1 overlap fix + leadership section */
body.home .entry-content,
body.home .wp-block-post-content{
  display:none !important;
}
.home-hero{
  isolation:isolate;
}
.home-hero-content{
  position:relative;
  z-index:2;
}
.leadership-section{
  background:#ffffff;
}
.leadership-intro{
  max-width:920px;
  margin-bottom:42px;
}
.leadership-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.leader-card{
  background:#f7f3eb;
  border:1px solid rgba(15,47,31,.10);
  border-radius:24px;
  padding:28px 24px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  min-height:260px;
}
.leader-avatar{
  width:58px;
  height:58px;
  border-radius:50%;
  background:#0f2f1f;
  color:#d9c68a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  margin-bottom:18px;
}
.leader-card h3{
  margin:0 0 12px;
  color:#0f2f1f;
  font-size:22px;
  line-height:1.2;
}
.leader-card p{
  margin:0;
  color:#5d554d;
  line-height:1.65;
  font-size:15px;
}
@media(max-width:1180px){
  .leadership-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:760px){
  .leadership-grid{grid-template-columns:1fr;}
}

/* V8.3 final clean homepage hero fix */
body.home .home-hero,
body.home .home-feature-bar,
body.home .home-hero-content,
body.home .clean-home-hero,
body.home .clean-home-hero:before,
body.home .entry-content,
body.home .wp-block-post-content,
body.home .elementor,
body.home article,
body.home .site-main > .home-hero,
body.home .site-main > .home-feature-bar{
  display:none !important;
}

#flt-home-main{
  display:block !important;
}

.home-hero-image-only{
  width:100%;
  background:#f7f3eb;
  margin:0;
  padding:0;
  line-height:0;
}

.home-hero-image-only img{
  width:100%;
  height:auto;
  display:block;
  margin:0;
  padding:0;
}

.home-vision-boxes{
  margin-top:0;
  padding-top:58px;
}


/* V8.4 remove duplicated secondary header/navigation */
body.home header + header,
body.home .site-header + .site-header,
body.home .main-navigation + .main-navigation,
body.home .duplicate-header,
body.home .elementor-location-header,
body.home .site-header-clone{
    display:none !important;
}

/* Hide any second white navigation row under primary header */
body.home header ~ header{
    display:none !important;
}

/* V8.6 final fix: use physically cropped hero image */
body.home .home-hero-image-only{
  width:100%;
  height:auto !important;
  overflow:hidden;
  margin:0;
  padding:0;
  line-height:0;
  background:#f7f3eb;
}
body.home .home-hero-image-only img{
  width:100%;
  height:auto !important;
  object-fit:initial !important;
  object-position:initial !important;
  display:block;
}


/* V9 Samar East Orlando Page */
.samar-page{
  background:#f7f3eb;
}

.samar-hero{
  position:relative;
  min-height:82vh;
  overflow:hidden;
}

.samar-hero img{
  width:100%;
  height:82vh;
  object-fit:cover;
  display:block;
}

.samar-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18));
}

.samar-hero-content{
  position:absolute;
  left:7%;
  bottom:10%;
  max-width:760px;
  color:#fff;
  z-index:2;
}

.samar-hero-content h1{
  font-size:clamp(46px,5vw,78px);
  line-height:1.05;
  margin:14px 0 22px;
  color:#fff;
}

.samar-hero-content p{
  font-size:22px;
  line-height:1.7;
  opacity:.95;
}

.samar-sections{
  padding:90px 7%;
  display:flex;
  flex-direction:column;
  gap:32px;
}

.samar-block{
  background:#ffffff;
  border-radius:28px;
  padding:56px;
  box-shadow:0 18px 40px rgba(0,0,0,.06);
}

.samar-block.alt{
  background:#10311f;
}

.samar-block.alt h2,
.samar-block.alt p{
  color:#fff;
}

.samar-block-content{
  max-width:900px;
}

.samar-block h2{
  font-size:42px;
  line-height:1.15;
  margin:10px 0 20px;
  color:#10311f;
}

.samar-block p{
  font-size:19px;
  line-height:1.8;
  color:#5f564d;
}

@media(max-width:768px){

  .samar-hero{
    min-height:auto;
  }

  .samar-hero img{
    height:70vh;
  }

  .samar-hero-content{
    left:6%;
    right:6%;
    bottom:8%;
  }

  .samar-hero-content h1{
    font-size:44px;
  }

  .samar-hero-content p{
    font-size:18px;
  }

  .samar-sections{
    padding:50px 6%;
  }

  .samar-block{
    padding:34px 28px;
  }

  .samar-block h2{
    font-size:32px;
  }

  .samar-block p{
    font-size:17px;
  }
}
