/* Rooftop Contractors: under construction page */

:root {
  --brand-green: #1ec307;
  --brand-green-dark: #17a105;
  --brand-green-deeper: #148c04;
  --charcoal: #24272b;
  --charcoal-deep: #17191c;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--charcoal-deep);
  color: var(--white);
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 .75rem;
}

/* Top bar: white so the black logo text stays readable */
.topbar { background: var(--white); border-bottom: 6px solid var(--brand-green); }
.topbar .container { padding-top: 1rem; padding-bottom: 1rem; }
.topbar img { height: 52px; width: auto; }

/* Hero: on small screens the banner sits under a dark overlay */
.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 3rem 1.5rem;
  background:
    linear-gradient(rgba(23,25,28,.88), rgba(23,25,28,.88)),
    url("../images/Banner_Image.jpg") 75% center / cover no-repeat;
}
.hero-content { width: 100%; max-width: 34rem; }

h1 {
  margin: 0 0 1.5rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: .01em;
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255,255,255,.85);
}

/* Desktop: banner shown as designed, text sits in its dark left half */
@media (min-width: 992px) {
  .hero {
    padding: 0 0 12vh 0;
    justify-content: flex-start;
    background: url("../images/Banner_Image.jpg") left center / cover no-repeat;
  }
  .hero-content { margin-left: 4vw; max-width: 38vw; }
  .hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
  .hero .lead { font-size: clamp(1rem, 1.3vw, 1.25rem); }
}

.status {
  display: inline-block;
  margin-bottom: 1.5rem;
  background: var(--brand-green);
  color: var(--charcoal-deep);
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: .25rem;
}

/* Hazard-stripe progress bar, echoing the banner artwork */
.hazard {
  height: 18px;
  max-width: 34rem;
  margin-bottom: 1.5rem;
  background: repeating-linear-gradient(
    -55deg,
    var(--brand-green) 0 16px,
    var(--charcoal) 16px 32px
  );
  background-size: 45.3px 100%;
  animation: march 1.6s linear infinite;
}
@keyframes march { to { background-position: 45.3px 0; } }
@media (prefers-reduced-motion: reduce) { .hazard { animation: none; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-block;
  padding: .5rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: .5rem;
  transition: color .15s, background-color .15s, border-color .15s;
}
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

.btn-brand { background: var(--brand-green); border-color: var(--brand-green); color: var(--charcoal-deep); }
.btn-brand:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: var(--white); }
.btn-brand:active { background: var(--brand-green-deeper); border-color: var(--brand-green-deeper); }

.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--charcoal-deep); }

footer {
  padding: 1rem 0;
  background: var(--charcoal-deep);
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
footer a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
footer a:hover, footer a:focus-visible { color: var(--brand-green); }
