/* WRC Roofing Contractors — Wicked Fast Web redesign */

:root {
  --wrc-charcoal: #24262b;
  --wrc-charcoal-2: #303339;
  --wrc-gold: #f2a71b;
  --wrc-gold-dark: #c9860f;
  --wrc-cream: #faf8f3;
  --wrc-slate: #565a62;
  --wrc-line: #e6e2d8;
  --wrc-white: #ffffff;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--wrc-charcoal);
  background: var(--wrc-cream);
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 76px;
}

h1, h2, h3, h4, h5,
.font-display {
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

a { color: inherit; }

.text-gold { color: var(--wrc-gold); }
.bg-charcoal { background-color: var(--wrc-charcoal); }
.bg-charcoal-2 { background-color: var(--wrc-charcoal-2); }
.bg-cream { background-color: var(--wrc-cream); }

.btn-gold {
  background-color: var(--wrc-gold);
  border-color: var(--wrc-gold);
  color: var(--wrc-charcoal);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-gold:hover, .btn-gold:focus {
  background-color: #ffb733;
  border-color: #ffb733;
  color: var(--wrc-charcoal);
}

.btn-outline-light-gold {
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-outline-light-gold:hover {
  background-color: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

.section-label {
  color: var(--wrc-gold-dark);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
}

.section-pad { padding: 5.5rem 0; }
@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
}

/* ---------- Navbar ---------- */
.navbar-wrc {
  background-color: rgba(36, 38, 43, 0.97);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: background-color 0.2s ease;
}
.navbar-wrc .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.25rem;
}
.navbar-wrc .navbar-brand img {
  height: 42px;
  width: auto;
}
.navbar-wrc .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
}
.navbar-wrc .nav-link:hover { color: var(--wrc-gold) !important; }
.navbar-wrc .nav-cta {
  background-color: var(--wrc-gold);
  color: var(--wrc-charcoal) !important;
  border-radius: 2px;
  padding: 0.5rem 1.1rem !important;
  margin-left: 0.4rem;
}
.navbar-wrc .nav-cta:hover { background-color: #ffb733; color: var(--wrc-charcoal) !important; }

/* ---------- Hero (compact, angled bottom edge) ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 38% / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding-top: 5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(15,17,20,0.55) 0%, rgba(15,17,20,0.10) 100%),
    linear-gradient(to bottom, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.20) 40%, rgba(20,22,26,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 2rem 2.25rem;
  background: rgba(10, 11, 13, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 6px;
}
.hero-eyebrow {
  color: var(--wrc-gold);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.22em;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  color: #fff;
  font-size: 3.1rem;
  line-height: 1.08;
  margin: 0.6rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  color: #f1efe9;
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  margin-bottom: 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  color: var(--wrc-gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-top: 1.25rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
@media (max-width: 575px) {
  .hero-title { font-size: 2.15rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero { min-height: 88vh; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background-color: var(--wrc-charcoal-2);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-item {
  color: #fff;
  text-align: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1.6rem; color: var(--wrc-gold); }
.trust-item .trust-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}
.trust-item .trust-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
}
.trust-item a { text-decoration: none; }
.trust-item a:hover .trust-title { color: var(--wrc-gold); }

/* ---------- Why hire us ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--wrc-line);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(36,38,43,0.08);
}
.why-card i { font-size: 1.9rem; color: var(--wrc-gold-dark); }
.why-card h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.6rem;
}
.why-card p { color: var(--wrc-slate); font-size: 0.92rem; margin: 0; }

.guarantee-strip {
  background: var(--wrc-charcoal);
  color: #fff;
  border-radius: 4px;
  padding: 2.25rem 1.5rem;
  height: 100%;
  text-align: center;
}
.guarantee-strip i { font-size: 1.7rem; color: var(--wrc-gold); }
.guarantee-strip h4 {
  font-size: 1rem;
  margin: 0.85rem 0 0.6rem;
  color: #fff;
}
.guarantee-strip p {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Inter', sans-serif;
}

/* ---------- Service grids ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--wrc-line);
  border-radius: 4px;
  padding: 1.9rem 1.5rem;
  height: 100%;
}
.service-card i {
  font-size: 1.6rem;
  color: var(--wrc-gold-dark);
  background: rgba(242,167,27,0.12);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--wrc-slate);
  font-size: 0.9rem;
  margin: 0;
}
.service-card.dark {
  background: var(--wrc-charcoal-2);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
.service-card.dark i { background: rgba(242,167,27,0.18); }
.service-card.dark p { color: rgba(255,255,255,0.7); }

/* ---------- Brands ---------- */
.brand-card {
  background: #fff;
  border: 1px solid var(--wrc-line);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  height: 100%;
  text-align: center;
}
.brand-card .brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  color: var(--wrc-charcoal);
  margin-bottom: 0.35rem;
}
.brand-card .brand-cat {
  color: var(--wrc-gold-dark);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  display: block;
  margin-bottom: 0.6rem;
}
.brand-card p {
  color: var(--wrc-slate);
  font-size: 0.83rem;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(15,16,19,0.9) 0%, rgba(15,16,19,0) 100%);
  color: #fff;
  padding: 2rem 1rem 0.85rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- Location / contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--wrc-line);
  border-radius: 4px;
  padding: 2rem;
}
.contact-row {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.contact-row i {
  color: var(--wrc-gold-dark);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}
.contact-row h5 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  color: var(--wrc-slate);
}
.contact-row div p { margin: 0; }
.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 4px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--wrc-charcoal);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.75rem;
}
.footer-logo-chip {
  background: var(--wrc-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
}
.footer-logo-chip img { height: 46px; width: auto; display: block; }
footer.site-footer h5 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
footer.site-footer a.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}
footer.site-footer a.footer-link:hover { color: var(--wrc-gold); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  margin-right: 0.6rem;
  text-decoration: none;
}
.footer-social a:hover { background: var(--wrc-gold); border-color: var(--wrc-gold); color: var(--wrc-charcoal); }
.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-powered a {
  color: var(--wrc-gold);
  text-decoration: none;
  font-weight: 600;
}
.footer-powered a:hover { text-decoration: underline; }
