/* ============================================================
   R-Chee Plumbing & Heating — style.css
   Color palette: Near-black #111 + Gold #F5B800 + Dark navy #1A1A2A
   Fonts: Bebas Neue (headings) + Inter (body)
   ============================================================ */

:root {
  --dark:   #111111;
  --mid:    #1A1A2A;
  --gold:   #F5B800;
  --gold-dk:#D4A017;
  --light:  #F7F6F2;
  --muted:  #6B7280;
  --radius: 3px;
  --head:   'Bebas Neue', sans-serif;
  --body:   'Inter', sans-serif;
}

/* ──────────── BASE ──────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--dark);
  margin: 0;
}

/* ──────────── NAVBAR ──────────── */
#mainNav {
  background: rgba(17, 17, 17, 0.97);
  border-bottom: 2px solid var(--gold);
  padding: 10px 0;
  transition: padding 0.3s;
}
.nav-logo {
  border-radius: 3px;
  flex-shrink: 0;
}
.nav-brand-text {
  font-family: var(--head);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}
#mainNav .nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.6rem;
  transition: color 0.2s;
  white-space: nowrap;
}
#mainNav .nav-link:hover { color: var(--gold); }

/* ──────────── GOLD BUTTON ──────────── */
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover {
  background: var(--gold-dk);
  color: var(--dark);
  transform: translateY(-1px);
}

/* ──────────── HERO ──────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center top / cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
  max-width: 720px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  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 {
  font-family: var(--head);
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 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 {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0;
  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 {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  margin-top: 0;
  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);
}

/* ──────────── STATS STRIP ──────────── */
.stats-strip {
  background: var(--gold);
}
.stat-cell {
  padding: 2.25rem 1rem;
  border-right: 1px solid rgba(0,0,0,0.12);
}
.stat-cell.last { border-right: none; }
@media (max-width: 767px) {
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-right: 1px solid rgba(0,0,0,0.12); }
}
.stat-number {
  font-family: var(--head);
  font-size: 3.25rem;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.6);
  margin-top: 0.25rem;
}

/* ──────────── SHARED SECTION HEADERS ──────────── */
.section-pad { padding: 6rem 0; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-family: var(--head);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1;
  margin: 0;
}
.section-title.dark { color: var(--dark); }
.section-title.light { color: #fff; }
.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.7;
  margin: 1rem auto 0;
}

/* ──────────── SERVICES ──────────── */
.service-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  border-bottom: 3px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.10);
  border-bottom-color: var(--gold);
}
.svc-icon {
  font-size: 2.25rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--head);
  font-size: 1.55rem;
  color: var(--dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ──────────── GALLERY ──────────── */
.gallery-section {
  background: var(--mid);
}
.gallery-header {
  padding: 5rem 0 3rem;
}
.gallery-cell {
  height: 400px;
  overflow: hidden;
}
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
  display: block;
}
.gallery-cell:hover img { transform: scale(1.05); }

/* ──────────── TEAM ──────────── */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.13);
}
.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info {
  padding: 1rem 1.25rem 1.25rem;
  text-align: center;
}
.team-info h4 {
  font-family: var(--head);
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.team-info p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.boss-tag {
  background: var(--gold);
  color: var(--dark);
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 2px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ──────────── REVIEWS ──────────── */
.reviews-section { background: var(--dark); }
.stars-row {
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  text-align: center;
}
.review-card:hover {
  background: rgba(245,184,0,0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
}
.review-platform-icon { font-size: 2.5rem; }
.review-stars { font-size: 1rem; color: var(--gold); letter-spacing: 0.06em; }
.review-card:hover .review-stars { color: var(--gold); }
.review-platform-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.review-cta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* ──────────── SERVICE AREA ──────────── */
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-list li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--dark);
  border-bottom: 1px solid #E5E5E0;
  font-weight: 500;
}
.area-list li:last-child { border-bottom: none; }
.area-list li::before {
  content: '→ ';
  color: var(--gold);
  font-weight: 700;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.12);
  border: 2px solid var(--gold);
}

/* ──────────── CONTACT ──────────── */
.contact-section { background: var(--mid); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item > i {
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.2rem;
}
.contact-item span {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-item a {
  color: var(--gold);
  text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; }

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--body);
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,0.35); }
.contact-form .form-select option { background: #1A1A2A; color: #fff; }
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(245,184,0,0.18);
  color: #fff;
}
.contact-form textarea { resize: none; }

/* ──────────── CAREERS ──────────── */
.careers-section { background: var(--light); }
.btn-dark {
  background: var(--dark);
  color: var(--gold);
  border: none;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}
.btn-dark:hover {
  background: #2a2a2a;
  color: var(--gold);
  transform: translateY(-1px);
}

/* ──────────── FOOTER ──────────── */
.site-footer {
  background: var(--dark);
  border-top: 2px solid var(--gold);
}
.footer-name {
  font-family: var(--head);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.footer-address, .footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-link {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer-link:hover { color: var(--gold); }
.powered-by {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.powered-by:hover { color: var(--gold); }
.powered-by strong { color: var(--gold); }

/* ──────────── RESPONSIVE TWEAKS ──────────── */
@media (max-width: 1150px) {
  .nav-brand-text { display: none; }
}
@media (max-width: 991px) {
  .nav-brand-text { display: none; }
  #navMenu {
    background: rgba(17,17,17,0.98);
    padding: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  #navMenu .btn-gold { display: block; text-align: center; margin-top: 0.5rem; }
}
@media (max-width: 767px) {
  .gallery-cell { height: 260px; }
  .section-pad { padding: 4rem 0; }
  .hero-content { padding: 2rem 1.5rem; }
  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
}
@media (max-width: 575px) {
  .stat-cell { padding: 1.5rem 0.5rem; }
  .stat-number { font-size: 2.5rem; }
}
