
/*
Theme Name: LH&M Construction Pro
Theme URI: https://lhmconstruction.com/
Author: LH&M Construction
Description: Professional one-page WordPress theme for LH&M Construction, focused on metal building construction. Uses the company's supplied project photography and supports a custom WordPress logo.
Version: 2.0
Requires at least: 6.0
License: GPL-2.0-or-later
Text Domain: lhm-construction
*/
:root{--navy:#07131f;--navy2:#0d2233;--steel:#66727d;--light:#f4f6f8;--white:#fff;--red:#d71920;--line:#dce2e7;--max:1180px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18232d;background:#fff;line-height:1.6}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.site-header{position:relative;z-index:20;left:0;right:0;top:0;background:#fff;color:var(--navy);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:22px 0}
.brand{display:flex;align-items:center;text-decoration:none;gap:12px}
.custom-logo{max-height:58px;width:auto}
.brand-fallback{font-weight:900;letter-spacing:.04em;font-size:22px}
.brand-fallback small{display:block;font-size:9px;letter-spacing:.28em;font-weight:700;opacity:.8}
.menu{display:flex;gap:28px;align-items:center}
.menu a{font-size:13px;font-weight:800;text-decoration:none;letter-spacing:.04em;color:var(--navy)}
.menu .quote-link{background:var(--red);padding:11px 17px;border-radius:4px}
.hero{min-height:760px;display:grid;align-items:end;color:#fff;background:
linear-gradient(90deg,rgba(4,13,22,.88) 0%,rgba(4,13,22,.55) 48%,rgba(4,13,22,.15) 100%),
url("assets/project-1.jpg") center/cover no-repeat}
.hero-inner{padding:180px 0 95px;max-width:760px}
.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:12px;font-weight:900;color:#d8e1e8;margin-bottom:18px}
.hero h1{font-size:clamp(44px,6vw,78px);line-height:.98;margin:0 0 25px;letter-spacing:-.045em}
.hero p{font-size:20px;max-width:650px;color:#e7edf2;margin:0 0 32px}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;padding:14px 22px;border-radius:4px;border:1px solid transparent;transition:.2s}
.btn-primary{background:var(--red);color:#fff}
.btn-secondary{border-color:rgba(255,255,255,.5);color:#fff;margin-left:10px}
.btn:hover{transform:translateY(-2px)}
.section{padding:95px 0}
.section.alt{background:var(--light)}
.section-head{max-width:720px;margin-bottom:45px}
.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.2em;color:var(--red);font-weight:900}
h2{font-size:clamp(34px,4vw,52px);line-height:1.05;letter-spacing:-.035em;margin:10px 0 18px;color:var(--navy)}
.lead{font-size:18px;color:#58646e}
.stats{background:var(--navy);color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.12)}
.stat{padding:34px 25px;background:var(--navy)}
.stat strong{font-size:40px;display:block;line-height:1}
.stat span{display:block;margin-top:10px;color:#b9c7d1;font-size:13px;font-weight:700}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.about-photo{height:540px;background:url("assets/project-3.jpg") center/cover;border-radius:4px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{border:1px solid var(--line);padding:28px;background:#fff}
.card h3{font-size:21px;color:var(--navy);margin:8px 0 10px}
.card p{color:#63707a;margin:0}
.icon{width:42px;height:42px;border:2px solid var(--red);display:grid;place-items:center;color:var(--red);font-weight:900}
.gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
.gallery figure{margin:0;overflow:hidden;border-radius:4px;position:relative;min-height:240px}
.gallery figure:nth-child(1){grid-column:span 7;grid-row:span 2}
.gallery figure:nth-child(2){grid-column:span 5}
.gallery figure:nth-child(3){grid-column:span 5}
.gallery figure:nth-child(n+4){grid-column:span 4}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery figure:hover img{transform:scale(1.04)}
.gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:18px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.8));font-size:12px;font-weight:800}
.process{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.step{padding:25px;background:#fff;border-top:3px solid var(--red)}
.step b{font-size:12px;color:var(--red)}
.step h3{margin:8px 0;color:var(--navy)}
.step p{font-size:14px;color:#64717a;margin:0}
.service-area{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}
.states{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.states span{padding:9px 13px;background:#fff;border:1px solid var(--line);font-weight:800;font-size:13px}
.cta{background:var(--red);color:#fff}
.cta h2{color:#fff;margin-bottom:10px}
.cta-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}
.cta .btn{background:var(--navy);color:#fff}
.site-footer{background:#050c13;color:#b9c5ce;padding:55px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}
.site-footer h3{color:#fff;margin:0 0 12px}
.site-footer a{text-decoration:none}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;font-size:12px}
@media(max-width:850px){
 .menu{display:none}.hero{min-height:650px}.hero-inner{padding-bottom:65px}
 .stats-grid,.cards,.about-grid,.service-area,.footer-grid{grid-template-columns:1fr 1fr}
 .process{grid-template-columns:1fr 1fr}
 .gallery figure,.gallery figure:nth-child(1),.gallery figure:nth-child(2),.gallery figure:nth-child(3),.gallery figure:nth-child(n+4){grid-column:span 6;grid-row:auto;min-height:260px}
 .cta-inner{display:block}.cta .btn{margin-top:20px}
}
@media(max-width:560px){
 .container{width:min(var(--max),calc(100% - 28px))}
 .section{padding:70px 0}.hero h1{font-size:46px}.hero p{font-size:17px}
 .btn{width:100%;margin:0 0 10px}.btn-secondary{margin-left:0}
 .stats-grid,.cards,.about-grid,.service-area,.footer-grid,.process{grid-template-columns:1fr}
 .about-photo{height:360px}.gallery figure,.gallery figure:nth-child(1),.gallery figure:nth-child(2),.gallery figure:nth-child(3),.gallery figure:nth-child(n+4){grid-column:span 12}
}

/* Supplied LH&M Construction logo */
.lhm-header-logo{display:block;width:240px;height:auto;max-height:86px;object-fit:contain}
@media(max-width:700px){.lhm-header-logo{width:190px;max-height:70px}}

/* Requested additions — preserve original v4 design */
.lhm-more-projects{text-align:center;margin:34px 0 10px}
.lhm-more-projects a{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;background:#d71920;color:#fff;text-decoration:none;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:3px}
.lhm-more-projects a:hover{background:#b81016}
.lhm-map-section{padding:80px 0;background:#17191b;color:#fff}
.lhm-map-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}
.lhm-service-map{position:relative;height:430px;min-height:430px;background:#dfe4e8;border:1px solid #3a3f43;border-radius:8px;overflow:hidden}.lhm-service-map .leaflet-container{height:100%;width:100%;font-family:inherit}.lhm-map-error{display:flex;align-items:center;justify-content:center;background:#22272b}.lhm-map-error-inner{display:flex;flex-direction:column;gap:10px;text-align:center;color:#fff;padding:30px}.lhm-map-error-inner strong{font-size:24px}.lhm-map-error-inner span{font-size:14px;line-height:1.6}.lhm-map-label{background:#d71920;color:#fff;border:0;box-shadow:0 2px 8px rgba(0,0,0,.25);font-weight:800;padding:4px 7px;border-radius:3px}
.lhm-map-state{position:absolute;padding:13px 16px;background:#d71920;color:#fff;font-weight:800;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.lhm-map-state.ga{left:52%;top:50%}.lhm-map-state.al{left:28%;top:48%}.lhm-map-state.sc{left:67%;top:37%}.lhm-map-state.nc{left:66%;top:20%}.lhm-map-state.tn{left:39%;top:23%}
.lhm-partners-section{padding:80px 0;background:#f5f5f3}
.lhm-partners-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:35px}
.lhm-partner-card{background:#fff;border:1px solid #ddd;padding:35px;border-top:4px solid #d71920}
.lhm-partner-card h3{margin:0 0 10px;font-size:28px}
.lhm-partner-card p{margin:0;color:#666}
.lhm-projects-page{padding-top:110px}
.lhm-projects-hero{background:#17191b;color:#fff}
.lhm-project-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.lhm-gallery-item{margin:0;aspect-ratio:4/3;overflow:hidden;background:#eee}
.lhm-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.lhm-gallery-item:hover img{transform:scale(1.04)}
@media(max-width:800px){
 .lhm-map-grid,.lhm-partners-grid{grid-template-columns:1fr}
 .lhm-project-gallery{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
 .lhm-project-gallery{grid-template-columns:1fr}
 .lhm-service-map{height:300px;min-height:300px}
}
