
/*
Theme Name: ProWest Roofing
Theme URI: https://prowestroofing.com.au
Author: ProWest Roofing
Description: Lightweight custom homepage theme for ProWest Roofing.
Version: 0.1.0
Text Domain: prowest-roofing
*/

:root {
  --red: #ef3123;
  --black: #070909;
  --ink: #141717;
  --grey: #f4f5f5;
  --line: #d9dddd;
  --white: #ffffff;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7,9,9,.96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 150px; display: block; }
.main-nav { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: var(--red); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border: 2px solid var(--red);
  transition: .2s ease;
}
.button:hover, .header-cta:hover { transform: translateY(-1px); filter: brightness(.95); }
.button.secondary { background: transparent; border-color: #fff; }

.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.25) 72%, rgba(0,0,0,.05) 100%),
    linear-gradient(135deg, #1b2223, #596668);
}
.hero-copy { max-width: 680px; padding: 88px 0; }
.eyebrow { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(58px, 8vw, 112px);
  line-height: .88;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--red); }
.hero .services-line { font-size: 20px; font-weight: 800; }
.hero p { max-width: 590px; color: #d9dddd; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.trust-strip { background: #050606; color: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 68px;
  align-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}
.trust-grid div { border-right: 1px solid #262929; }
.trust-grid div:last-child { border: 0; }

section { padding: 86px 0; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading h2 { margin: 7px 0 10px; font-size: clamp(34px, 5vw, 54px); line-height: 1; text-transform: uppercase; }
.section-heading p { color: #5d6464; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  overflow: hidden;
}
.service-image {
  aspect-ratio: 16/9;
  background:
    linear-gradient(150deg, rgba(239,49,35,.2), transparent 55%),
    linear-gradient(135deg, #c8cecf, #566264);
}
.service-content { padding: 24px; }
.service-content h3 { margin: 0 0 8px; font-size: 24px; text-transform: uppercase; }
.service-content p { color: #606767; margin: 0 0 18px; }
.text-link { color: var(--red); font-weight: 900; text-transform: uppercase; font-size: 13px; }

.why { background: var(--black); color: #fff; }
.why-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 0; }
.why-intro, .reason { padding: 30px; border-right: 1px solid #2b2e2e; }
.why-intro h2 { font-size: 40px; line-height: 1; margin: 8px 0 16px; text-transform: uppercase; }
.reason h3 { text-transform: uppercase; font-size: 18px; }
.reason p, .why-intro p { color: #b9bebe; }

.projects { background: var(--grey); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.project-image {
  aspect-ratio: 4/3;
  position: relative;
  background:
    linear-gradient(135deg, rgba(0,0,0,.04), rgba(239,49,35,.18)),
    linear-gradient(145deg, #e6e8e8 0 48%, #798486 48% 52%, #d5d9d9 52%);
}
.project-label {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: #fff; font-weight: 900;
  font-size: 12px; padding: 7px 10px; text-transform: uppercase;
}
.project-copy { padding: 22px; }
.project-copy h3 { margin: 0 0 5px; text-transform: uppercase; }
.project-copy p { color: #626969; margin-bottom: 0; }

.quote-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.68)),
    linear-gradient(135deg, #394244, #798486);
}
.quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.quote-inner h2 { margin: 0 0 8px; text-transform: uppercase; font-size: 36px; }
.quote-inner p { margin: 0; color: #d8dddd; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-grid h2 { font-size: 48px; margin: 0 0 15px; line-height: 1; text-transform: uppercase; }
.contact-form { display: grid; gap: 13px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 15px;
  border: 1px solid #cfd4d4;
  font: inherit;
  background: #fff;
}
.contact-form textarea { min-height: 135px; resize: vertical; }
.contact-form button { border: 0; cursor: pointer; }

.site-footer { background: #050606; color: #fff; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 140px; }
.footer-small { color: #aeb4b4; font-size: 13px; text-align: right; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-intro { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--max)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 112px; }
  .header-cta { padding: 0 13px; font-size: 12px; }
  .hero { min-height: 570px; }
  .hero-copy { padding: 62px 0; }
  .hero .services-line { font-size: 17px; }
  .trust-grid { grid-template-columns: 1fr; padding: 13px 0; gap: 10px; }
  .trust-grid div { border: 0; }
  section { padding: 64px 0; }
  .services-grid, .projects-grid, .why-grid { grid-template-columns: 1fr; }
  .why-intro { grid-column: auto; }
  .reason, .why-intro { border-right: 0; border-bottom: 1px solid #2b2e2e; }
  .quote-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-small { text-align: left; }
}
