/* Martin Electric Ltd. — static rebuild of the GoDaddy Website Builder site */
:root{
  --blue:#0075C1;
  --blue-light:#0484D6;
  --dark:#161616;
  --text:#1b1b1b;
  --muted:#5e5e5e;
  --soft:#f6f6f6;
  --white:#fff;
  --head:'Cabin',Arial,sans-serif;
  --body:'Lato',Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--text);background:var(--white);line-height:1.6;font-size:16px}
img{max-width:100%;display:block}
a{color:var(--blue)}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* top banner */
.announce{background:var(--blue);text-align:center;padding:10px 16px;font-size:15px}
.announce a{color:#fff;text-decoration:none;font-weight:700}
.announce a:hover{text-decoration:underline}

/* header */
.site-header{background:var(--white);position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:96px}
.logo img{height:80px;width:auto}
.nav{display:flex;gap:32px;list-style:none;margin:0;padding:0}
.nav a{color:var(--text);text-decoration:none;font-size:16px;letter-spacing:.5px}
.nav a:hover,.nav a.active{color:var(--blue)}
.nav a.active{font-weight:700}
.menu-btn{display:none;background:none;border:0;cursor:pointer;padding:8px}
.menu-btn span{display:block;width:24px;height:2px;background:var(--text);margin:5px 0}

/* hero */
.hero{position:relative;color:#fff;text-align:center;padding:140px 24px;
  background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.25)),url('../images/hero.jpg') center/cover no-repeat}
.hero h1{font-family:var(--head);font-size:clamp(32px,5vw,56px);margin:0 0 24px;line-height:1.15;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.hero p{margin:6px 0;font-size:20px;font-weight:700;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.btn{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;border:0;cursor:pointer;
  font-family:var(--body);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:14px;padding:16px 36px;border-radius:4px}
.btn:hover{background:var(--blue-light)}
.hero .btn{margin-top:28px}
.hero .call{margin-top:20px;font-size:18px}
.hero .call a{color:#fff;font-weight:700}

/* sections */
section{padding:72px 0}
.section-title{font-family:var(--head);text-transform:uppercase;letter-spacing:1px;text-align:center;font-size:clamp(26px,3.5vw,36px);margin:0 0 12px}
.section-title::after{content:"";display:block;width:60px;height:3px;background:var(--blue);margin:16px auto 40px}
.soft{background:var(--soft)}
h3,h4{font-family:var(--head);margin:0 0 12px}
h4{font-size:22px}

/* about */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.about-grid img{border-radius:4px;width:100%}
.about-block{margin-bottom:32px}
.about-block ul{padding-left:20px}
.about-block li{margin-bottom:6px}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gallery figure{margin:0;background:#fff;border-radius:4px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;cursor:zoom-in}
.gallery figcaption{padding:14px 16px;color:var(--muted);font-size:15px}

/* lightbox */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;z-index:100;padding:24px}
.lightbox.open{display:flex}
.lightbox img{max-height:85vh;width:auto}
.lightbox p{color:#fff;text-align:center;margin-top:12px}
.lightbox button{position:absolute;top:16px;right:20px;background:none;border:0;color:#fff;font-size:40px;cursor:pointer}

/* reviews */
.reviews{color:#fff;background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),url('../images/reviews-bg.jpg') center/cover no-repeat}
.reviews .section-title::after{background:#fff}
.review-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.review{background:rgba(255,255,255,.95);color:var(--text);border-radius:4px;padding:28px;text-align:center}
.review img{width:72px;height:72px;border-radius:50%;object-fit:cover;margin:0 auto 14px}
.review h4{font-size:18px;margin-bottom:10px}
.review p{font-style:italic;margin:0 0 14px}
.review .who{color:var(--muted);font-size:14px;font-style:normal}

/* subscribe */
.subscribe{color:#fff;text-align:center;background:linear-gradient(rgba(0,0,0,.24),rgba(0,0,0,.24)),url('../images/subscribe-bg.jpg') center/cover no-repeat;padding:96px 0}
.subscribe p{font-size:18px;max-width:640px;margin:0 auto 24px}
.subscribe form{max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.subscribe input{padding:16px;border:1px solid #fff;background:rgba(0,0,0,.15);color:#fff;border-radius:4px;font-size:16px;font-family:var(--body)}
.subscribe input::placeholder{color:#eee}

/* services */
.page-title{font-family:var(--head);text-transform:uppercase;text-align:center;font-size:clamp(28px,4vw,42px);margin:0}
.service{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin-bottom:64px}
.service:nth-child(even) .service-img{order:2}
.service-img img{border-radius:4px;width:100%;aspect-ratio:2/1;object-fit:cover}
.service ul{padding-left:20px;columns:2;column-gap:28px}
.service li{margin-bottom:4px;break-inside:avoid}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.quote-form{display:flex;flex-direction:column;gap:14px}
.quote-form label{font-size:14px;color:var(--muted)}
.quote-form input,.quote-form textarea{width:100%;padding:14px;border:1px solid #ccc;border-radius:4px;font-size:16px;font-family:var(--body)}
.quote-form input:focus,.quote-form textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.notice{padding:14px 16px;border-radius:4px;margin-bottom:20px;font-weight:700}
.notice.ok{background:#e6f4ea;color:#1e6b34}
.notice.err{background:#fdecea;color:#a12622}
.contact-info h4{margin-top:0}
.contact-info address{font-style:normal;margin-bottom:16px}
.hours div{display:flex;justify-content:space-between;max-width:340px;border-bottom:1px solid #eee;padding:6px 0}

/* footer */
.site-footer{background:var(--dark);color:#a9a9a9;text-align:center;padding:40px 24px}
.site-footer a{color:#fff}
.site-footer .fb svg{width:28px;height:28px;fill:#fff;margin:16px auto 0;display:block}

/* responsive */
@media (max-width:860px){
  .menu-btn{display:block}
  .nav{display:none;position:absolute;top:96px;left:0;right:0;background:#fff;flex-direction:column;gap:0;box-shadow:0 8px 16px rgba(0,0,0,.08)}
  .nav.open{display:flex}
  .nav a{display:block;padding:16px 24px;border-top:1px solid #eee}
  .about-grid,.service,.contact-grid{grid-template-columns:1fr;gap:28px}
  .service:nth-child(even) .service-img{order:0}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .hero{padding:96px 16px}
  .container{padding:0 16px}
}
@media (max-width:520px){
  .gallery{grid-template-columns:1fr}
  .service ul{columns:1}
  .logo img{height:64px}
}
