/*
Theme Name: Legacy Construction & Design
Theme URI: https://legacyconstructionanddesign.com
Author: Legacy Construction & Design
Description: A premium modern farmhouse WordPress theme for Legacy Construction & Design.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: legacy-construction-design
*/

:root {
  --lcd-black: #0b0b0c;
  --lcd-charcoal: #1b1d21;
  --lcd-gray: #6c7077;
  --lcd-light: #f5f6f8;
  --lcd-white: #ffffff;
  --lcd-blue: #56a6d6;
  --lcd-blue-dark: #2f7ea8;
  --lcd-border: #e4e6eb;
  --lcd-max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lcd-charcoal);
  background: var(--lcd-white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--lcd-max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lcd-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.logo { font-weight: 900; letter-spacing: .08em; text-transform: uppercase; line-height: 1.05; font-size: 1rem; }
.logo span { color: var(--lcd-blue); display: block; letter-spacing: .18em; font-size: .72rem; margin-top: 4px; }
.nav { display: flex; gap: 24px; align-items: center; font-weight: 700; font-size: .92rem; }
.nav a:hover { color: var(--lcd-blue-dark); }
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 13px 22px; font-weight: 800;
  background: var(--lcd-blue); color: var(--lcd-white); border: 2px solid var(--lcd-blue);
  transition: .2s ease;
}
.btn:hover { background: var(--lcd-blue-dark); border-color: var(--lcd-blue-dark); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--lcd-white); border-color: rgba(255,255,255,.8); }
.btn.dark { background: var(--lcd-black); border-color: var(--lcd-black); color: white; }
.hero {
  min-height: 74vh;
  display: grid; align-items: center;
  background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.35)), url('assets/img/hero-placeholder.svg') center/cover;
  color: white;
}
.hero-content { max-width: 760px; padding: 90px 0; }
.eyebrow { color: var(--lcd-blue); text-transform: uppercase; letter-spacing: .18em; font-weight: 900; font-size: .8rem; }
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .95; margin: 16px 0 20px; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 18px; }
h3 { font-size: 1.35rem; margin: 0 0 10px; }
p.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 700px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.section { padding: 92px 0; }
.section.alt { background: var(--lcd-light); }
.section.black { background: var(--lcd-black); color: white; }
.grid { display: grid; gap: 26px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: white; border: 1px solid var(--lcd-border); border-radius: 22px; padding: 28px; box-shadow: 0 18px 50px rgba(0,0,0,.05); }
.service-card { min-height: 245px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78)), var(--lcd-charcoal); color: white; border-radius: 24px; padding: 26px; overflow: hidden; }
.service-card p { color: rgba(255,255,255,.78); margin-bottom: 0; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.feature-list li::before { content: "✓"; color: var(--lcd-blue); font-weight: 900; margin-right: 10px; }
.project { border-radius: 24px; overflow: hidden; background: white; border: 1px solid var(--lcd-border); }
.project-media { aspect-ratio: 16/10; background: linear-gradient(135deg, #dfe4ea, #ffffff); display: grid; place-items: center; font-weight: 900; color: var(--lcd-gray); }
.project-body { padding: 24px; }
.cta { border-radius: 34px; padding: 56px; background: linear-gradient(135deg, var(--lcd-black), #2a2d33); color: white; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer { background: #070708; color: white; padding: 50px 0; }
.footer p, .muted { color: var(--lcd-gray); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.form-wrap input, .form-wrap textarea, .form-wrap select {
  width: 100%; padding: 15px 16px; border: 1px solid var(--lcd-border); border-radius: 14px; margin-bottom: 14px; font: inherit;
}
.form-wrap textarea { min-height: 140px; }
.page-hero { padding: 84px 0; background: var(--lcd-black); color: white; }
.page-content { padding: 70px 0; }
@media (max-width: 900px) {
  .nav { display: none; }
  .grid.two, .grid.three, .grid.four, .footer-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 34px; }
  .section { padding: 64px 0; }
}
