/*
Theme Name: FLT Homes V12.3 Routing Hard Fixed
Theme URI: https://flthomes.com
Author: FLT Communities
Description: WordPress theme for FLT Homes with Samar East Orlando project page and updated sections.
Version: 12.3
Text Domain: flt-homes-v12
*/

/*
Theme Name: FLT Homes V12.3 Routing Hard Fixed
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: 12.3
*/

: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;
  }
}


/* V10 Samar East Orlando Interior Section */
.samar-block-content.wide{max-width:1280px;}
.interior-showcase{padding:64px;}
.interior-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:24px;
  margin-top:38px;
}
.interior-card{
  background:#f7f3eb;
  border-radius:24px;
  overflow:hidden;
  color:#123b27;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.interior-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.interior-card div{padding:24px;}
.interior-card h3{
  color:#123b27;
  margin:0 0 10px;
  font-size:24px;
}
.interior-card p{
  color:#5d554d !important;
  font-size:16px;
  line-height:1.65;
  margin:0;
}
.large-card{grid-row:span 2;}
.large-card img{height:520px;}
.wide-card{grid-column:span 2;}
.wide-card img{height:340px; object-fit:cover;}
@media(max-width:1100px){
  .interior-grid{grid-template-columns:1fr 1fr;}
  .large-card{grid-row:auto;}
  .large-card img{height:320px;}
  .wide-card{grid-column:span 2;}
}
@media(max-width:720px){
  .interior-showcase{padding:34px 24px;}
  .interior-grid{grid-template-columns:1fr;}
  .wide-card{grid-column:span 1;}
  .interior-card img,.large-card img,.wide-card img{height:auto;}
}

:root{
  --cream:#f7f3eb;
  --green:#0f2f1f;
  --green2:#173f2b;
  --gold:#c4ad73;
  --text:#111;
  --muted:#5d554d;
}
*{box-sizing:border-box}
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:18px 36px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.logo img{height:66px;width:auto}
.nav{display:flex;align-items:center;gap:34px;font-weight:800;font-size:16px}
.nav .join{background:var(--green);color:white;padding:18px 28px;border-radius:28px}
@media(max-width:900px){.header-inner{padding:14px 18px;align-items:flex-start}.nav{gap:14px;flex-wrap:wrap;font-size:14px}.logo img{height:54px}}

.samar-page{background:var(--cream)}
.samar-hero{position:relative;min-height:82vh;overflow:hidden}
.samar-hero img{width:100%;height:82vh;object-fit:cover}
.samar-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.64),rgba(0,0,0,.16))}
.samar-hero-content{position:absolute;left:7%;bottom:10%;max-width:820px;color:#fff;z-index:2}
.label{letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-size:14px;font-weight:900}
.samar-hero h1{font-size:clamp(44px,5vw,80px);line-height:1.05;margin:16px 0;color:#fff}
.samar-hero p{font-size:22px;line-height:1.6;margin:0;max-width:760px}

.section-wrap{padding:80px 6%}
.section-title{max-width:980px;margin:0 0 34px}
.section-title h2{font-size:clamp(34px,4vw,58px);line-height:1.1;color:var(--green);margin:10px 0 16px}
.section-title p{font-size:20px;line-height:1.75;color:var(--muted)}

.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.gallery-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.08)}
.gallery-card img{width:100%;height:260px;object-fit:cover}
.gallery-card div{padding:22px}
.gallery-card h3{font-size:22px;line-height:1.2;color:var(--green);margin:0 0 8px}
.gallery-card p{font-size:16px;line-height:1.6;color:var(--muted);margin:0}

.dark-section{background:var(--green);color:white}
.dark-section .section-title h2,.dark-section .gallery-card h3{color:white}
.dark-section .section-title p{color:rgba(255,255,255,.78)}
.dark-section .gallery-card{background:#173f2b}
.dark-section .gallery-card p{color:rgba(255,255,255,.76)}

.board-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.board-card{background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 16px 42px rgba(0,0,0,.1)}
.board-card img{width:100%;height:auto}
.board-card div{padding:24px 28px}
.board-card h3{margin:0 0 8px;font-size:26px;color:var(--green)}
.board-card p{margin:0;color:var(--muted);line-height:1.7;font-size:17px}

.full-board{background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 16px 42px rgba(0,0,0,.1);margin-top:28px}
.full-board img{width:100%;height:auto}
.full-board div{padding:26px 30px}
.full-board h3{font-size:28px;color:var(--green);margin:0 0 10px}
.full-board p{font-size:17px;line-height:1.7;color:var(--muted);margin:0}

.cta{background:var(--green);color:white;text-align:center;padding:70px 6%}
.cta h2{font-size:46px;margin:0 0 14px}
.cta p{font-size:20px;opacity:.85;margin:0 0 28px}
.cta a{display:inline-block;background:white;color:var(--green);font-weight:900;border-radius:28px;padding:16px 28px}

@media(max-width:1100px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.board-grid{grid-template-columns:1fr}}
@media(max-width:700px){.samar-hero img{height:72vh}.samar-hero-content{left:6%;right:6%;bottom:7%}.samar-hero h1{font-size:38px}.samar-hero p{font-size:17px}.gallery-grid{grid-template-columns:1fr}.section-wrap{padding:54px 6%}.gallery-card img{height:auto}.nav .join{padding:12px 18px}}


/* V12.1 emergency styling load protection */
.header .logo,
.header .logo img{
  display:block !important;
}
.header .logo img{
  width:auto !important;
  max-width:190px !important;
  height:66px !important;
  object-fit:contain !important;
}
.header{
  background:#f7f3eb !important;
}
.header-inner{
  max-width:1440px !important;
  margin:0 auto !important;
  padding:18px 36px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:30px !important;
}
.nav{
  display:flex !important;
  align-items:center !important;
  gap:34px !important;
  font-weight:800 !important;
  font-size:16px !important;
}
.nav a{
  color:#111 !important;
  text-decoration:none !important;
}
.nav .join{
  background:#0f2f1f !important;
  color:#fff !important;
  padding:18px 28px !important;
  border-radius:28px !important;
}
@media(max-width:900px){
  .header-inner{padding:14px 18px !important; flex-wrap:wrap !important;}
  .nav{gap:14px !important; font-size:14px !important; flex-wrap:wrap !important;}
  .header .logo img{height:54px !important; max-width:160px !important;}
}


/* V12.2 simple page hero helpers */
.simple-page{
  background:#f7f3eb;
  padding:90px 7%;
  min-height:70vh;
}
.simple-page h1{
  color:#0f2f1f;
  font-size:clamp(42px,5vw,72px);
  line-height:1.05;
  margin:0 0 22px;
}
.simple-page p{
  max-width:860px;
  font-size:21px;
  line-height:1.75;
  color:#5d554d;
}
.simple-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
  margin-top:40px;
}
.simple-card{
  background:#fff;
  border-radius:22px;
  padding:30px;
  box-shadow:0 12px 30px rgba(0,0,0,.07);
}
.simple-card h3{
  color:#0f2f1f;
  margin:0 0 10px;
  font-size:24px;
}


/* V12.3 routing hard fix: stable layouts */
.header .logo img{width:auto!important;max-width:190px!important;height:66px!important;object-fit:contain!important}
.header{background:#f7f3eb!important;border-bottom:1px solid rgba(0,0,0,.08)!important;position:sticky!important;top:0!important;z-index:999!important}
.header-inner{max-width:1440px!important;margin:0 auto!important;padding:18px 36px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:30px!important}
.nav{display:flex!important;align-items:center!important;gap:34px!important;font-weight:800!important;font-size:16px!important}
.nav a{color:#111!important;text-decoration:none!important}
.nav .join{background:#0f2f1f!important;color:#fff!important;padding:18px 28px!important;border-radius:28px!important}

.home-hero-image-only{width:100%;line-height:0;background:#f7f3eb}
.home-hero-image-only img{width:100%;height:auto;display:block}
.home-vision-boxes{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:70px 6%;background:#f7f3eb}
.vision-card{background:white;border-radius:24px;padding:34px;box-shadow:0 12px 30px rgba(0,0,0,.07)}
.vision-card h3{color:#0f2f1f;font-size:26px;margin:0 0 12px}
.vision-card p{color:#5d554d;font-size:17px;line-height:1.65;margin:0}

.simple-page{background:#f7f3eb;padding:90px 7%;min-height:70vh}
.simple-page h1{color:#0f2f1f;font-size:clamp(42px,5vw,72px);line-height:1.05;margin:0 0 22px}
.simple-page p{max-width:860px;font-size:21px;line-height:1.75;color:#5d554d}
.simple-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin-top:40px}
.simple-card{background:#fff;border-radius:22px;padding:30px;box-shadow:0 12px 30px rgba(0,0,0,.07)}
.simple-card h3{color:#0f2f1f;margin:0 0 10px;font-size:24px}

@media(max-width:900px){
.header-inner{padding:14px 18px!important;flex-wrap:wrap!important}
.nav{gap:14px!important;font-size:14px!important;flex-wrap:wrap!important}
.header .logo img{height:54px!important;max-width:160px!important}
.home-vision-boxes{grid-template-columns:1fr;padding:40px 6%}
}
.catalog-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    color: #8b7d52;
}

.catalog-box h2 {
    font-size: 42px;
    line-height: 1.1;
    color: #083b2d;
    margin-bottom: 20px;
}

.catalog-box p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
}

.catalog-download-btn {
    display: inline-block;
    background: #083b2d;
    color: white;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.catalog-download-btn:hover {
    background: #0f5a43;
}

@media(max-width:768px){

.catalog-box {
    padding: 35px 24px;
}

.catalog-box h2 {
    font-size: 32px;
}

.catalog-box p {
    font-size: 16px;
}

}	