/* =====================================================
   THE LATEST HOMES — MASTER STYLESHEET
   SAVE AS:
   public/styles.css
===================================================== */

/* =====================================================
RESET
===================================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:var(--tlh-cream);
color:var(--tlh-text);
  overflow-x:hidden;
}

/* =====================================================
BRAND VARIABLES
===================================================== */

/* =====================================================
TLH BRAND PALETTE v1.0
===================================================== */

:root{

  --tlh-green:#074334;

  --tlh-green-dark:#042F27;

  --tlh-gold:#D8B36A;
  --tlh-gold-hover:#e7c27b;

  --tlh-cream:#F4F1E8;
  --tlh-offwhite:#F7F4EC;

  --tlh-text:#16352F;

  --tlh-grey:#666;

}

/* =====================================================
GLOBAL TYPOGRAPHY
===================================================== */

h1{
  font-weight:300;
  letter-spacing:-3px;
  line-height:1.05;
}

h2{
  font-weight:500;
}

p{
  line-height:1.9;
}

/* =====================================================
TOP NAV
===================================================== */

.top-nav{

  position:absolute;

  top:42px;
  right:60px;

  z-index:1000;

  display:flex;
  gap:38px;

}

.top-nav a{

  color:white;
  text-decoration:none;

  font-size:15px;
  font-weight:400;

  opacity:0.92;
  transition:0.3s;

}

.top-nav a:hover{

  opacity:1;

}

/* =====================================================
HERO
===================================================== */

.hero{

  position:relative;

  min-height:100vh;

  background:

  linear-gradient(
    rgba(7,67,52,.82),
    rgba(7,67,52,.86)
  ),

  url('images/hero-property.jpeg')
  center center/cover no-repeat;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:140px 40px 110px;

  text-align:center;

}

/* =====================================================
HERO CONTENT
===================================================== */

.hero-inner{

  width:100%;
  max-width:1450px;

  margin:auto;

}

.hero-logo{
  display:none;
}

.hero h1{

  color:white;

  font-size:92px;

  max-width:1200px;

  margin:0 auto 34px;

}

.hero p{

  color:rgba(255,255,255,0.82);

  max-width:980px;

  margin:0 auto 55px;

  font-size:23px;
  font-weight:300;

}

/* =====================================================
BUTTONS
===================================================== */

.hero-button,
.primary-btn,
.cta-button{

  display:inline-block;

  background:var(--tlh-gold);
  color:var(--tlh-green-dark);

  text-decoration:none;

  padding:22px 42px;

  border-radius:60px;

  font-weight:600;
  font-size:15px;

  transition:0.3s;

  border:none;
  cursor:pointer;

  font-family:'Montserrat',sans-serif;

}

.hero-button:hover,
.primary-btn:hover,
.cta-button:hover{

  background:var(--tlh-gold-hover);

  transform:translateY(-2px);

}

.secondary-btn{

  display:inline-block;

  background:rgba(255,255,255,0.08);

  color:white;

  text-decoration:none;

  padding:18px 28px;

  border-radius:50px;

  border:1px solid rgba(255,255,255,0.12);

}

/* =====================================================
MARKET STRIP
===================================================== */

.market-strip{

 background:var(--tlh-green-dark);

  color:rgba(255,255,255,0.88);

  text-align:center;

  padding:18px 30px;

  font-size:13px;

  letter-spacing:1px;

}

/* =====================================================
SECTIONS
===================================================== */

.section{

  padding:100px 50px;

}

.section.light{

  background:var(--tlh-offwhite);

}

.section.dark{

  background:var(--tlh-green-dark);

  color:white;

}

.section-inner{

  max-width:1450px;

  margin:auto;

}

.section-title{

  font-size:58px;

 color:var(--tlh-green);

  margin-bottom:22px;

  letter-spacing:-2px;

}

.section.dark .section-title{

  color:white;

}

.section-sub{

  font-size:20px;

  color:var(--tlh-grey);

  max-width:900px;

  margin-bottom:60px;

}

.section.dark .section-sub{

  color:rgba(255,255,255,0.72);

}

/* =====================================================
CARDS
===================================================== */

.card,
.article,
.property-card,
.market-module{

  background:white;

  border-radius:34px;

  overflow:hidden;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.06);

  transition:0.3s;

}

.card:hover,
.article:hover,
.property-card:hover{

  transform:translateY(-4px);

}

/* =====================================================
GRID
===================================================== */

.cards,
.article-grid,
.property-grid{

  display:grid;

  gap:34px;

}

.cards,
.article-grid{

  grid-template-columns:repeat(3,1fr);

}

.property-grid{

  grid-template-columns:repeat(2,1fr);

}

/* =====================================================
MARKET MODULE
===================================================== */

.market-module{

  padding:42px;

}

.market-filters,
.market-times{

  display:flex;
  flex-wrap:wrap;

  gap:14px;

  margin-bottom:24px;

}

.market-filter,
.market-time{

  background:#F4F1E8;

  border:none;

  border-radius:40px;

  padding:14px 18px;

  font-family:'Montserrat',sans-serif;

  font-size:14px;

  cursor:pointer;

  transition:0.3s;

}

.market-filter.active,
.market-time.active{

  background:#042f27;

  color:white;

}

.market-search{

  display:flex;

  gap:18px;

  margin-top:20px;

}

.market-search input{

  flex:1;

  border:none;

  background:#F4F1E8;

  border-radius:20px;

  padding:22px;

  font-family:'Montserrat',sans-serif;

  font-size:16px;

  outline:none;

}

.market-search button{

  border:none;

  background:#D8B36A;

  color:#042f27;

  border-radius:20px;

  padding:0 34px;

  font-family:'Montserrat',sans-serif;

  font-weight:600;

  cursor:pointer;

}

/* =====================================================
PROPERTY TAGS
===================================================== */

.property-tag,
.meta-pill,
.bureau-score{

  border-radius:50px;

  font-size:12px;

  font-weight:600;

}

.property-tag{

  background:#D8B36A;

  color:#042f27;

  padding:10px 16px;

}

.meta-pill{

  background:#F4F1E8;

  color:#042f27;

  padding:10px 16px;

}

.bureau-score{

  background:white;

  color:#042f27;

  padding:10px 16px;

}

/* =====================================================
INPUTS
===================================================== */

input,
textarea,
select{

  font-family:'Montserrat',sans-serif;

}

/* =====================================================
FOOTER
===================================================== */

.footer{

color:var(--tlh-green-dark);

  padding:45px;

  text-align:center;

  color:rgba(255,255,255,0.5);

  font-size:14px;

}

/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:1200px){

  .cards,
  .article-grid,
  .property-grid{

    grid-template-columns:1fr;

  }

  .hero h1{

    font-size:62px;

  }

}

@media(max-width:850px){

  .hero{

    padding:120px 25px 90px;

  }

  .hero-logo{

    width:280px;

  }

  .hero h1{

    font-size:46px;

  }

  .hero p{

    font-size:18px;

  }

  .top-nav{

    width:100%;

    left:0;
    right:0;

    justify-content:center;

    gap:20px;

    top:25px;

  }

  .section{

    padding:75px 28px;

  }

  .section-title{

    font-size:38px;

  }

  .market-search{

    flex-direction:column;

  }

}  
/* =====================================================
SEARCH RESULTS LOGO FIX
===================================================== */

.admin-logo{
  width:220px !important;
  height:auto !important;
  display:block;
}

.header a{
  text-decoration:none;
}

.header{
  position:absolute;
  top:28px;
  left:40px;
  z-index:9999;
}    
 
/* =====================================================
LIVE MARKET SIGNALS
===================================================== */

.market-signals{
  padding:110px 40px;
  background:#F4F1E8;
}

.signals-inner{
  max-width:1450px;
  margin:auto;
}

.signals-header{
  margin-bottom:60px;
}

.signals-tag{
  display:inline-block;
  background:#EDE9DD;
  color:#074334;
  padding:12px 20px;
  border-radius:40px;
  font-size:12px;
  letter-spacing:1px;
  margin-bottom:24px;
  font-weight:600;
}

.signals-header h2{
  font-size:58px;
  color:#042f27;
  margin-bottom:20px;
  font-weight:500;
  letter-spacing:-2px;
}

.signals-header p{
  max-width:900px;
  color:#555;
  font-size:20px;
  line-height:1.8;
}

.signals-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.signal-card{
  background:white;
  border-radius:30px;
  padding:34px;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:0.3s;
}

.signal-card:hover{
  transform:translateY(-6px);
}

.signal-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:26px;
}

.signal-title{
  font-size:13px;
  letter-spacing:1px;
  color:#666;
  font-weight:600;
}

.signal-change{
  font-size:12px;
  padding:8px 14px;
  border-radius:30px;
  font-weight:600;
}

.signal-change.positive{
  background:#E8F6EE;
  color:#0B7A4B;
}

.signal-change.neutral{
  background:#F4F1E8;
  color:#555;
}

.signal-number{
  font-size:30px;
  color:#042f27;
  margin-bottom:18px;
  font-weight:600;
  line-height:1.2;
}

.signal-text{
  color:#666;
  line-height:1.8;
  font-size:15px;
}

@media(max-width:1200px){

  .signals-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:768px){

  .market-signals{
    padding:80px 24px;
  }

  .signals-header h2{
    font-size:42px;
  }

  .signals-grid{
    grid-template-columns:1fr;
  }

}