/* ==============================================
   Skaha Heating & Air Ltd. — Stylesheet
   Mobile-first, single-page
   ============================================== */

:root {
  --navy:       #1B2B6B;
  --navy-dark:  #131f50;
  --red:        #C8282A;
  --red-dark:   #a81f21;
  --white:      #ffffff;
  --light:      #f4f6fb;
  --gray:       #6b7280;
  --dark:       #111827;
  --border:     #e5e7eb;
  --facebook:   #1877F2;
  --font:       system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius:     12px;
  --shadow:     0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 25px -5px rgba(0,0,0,.15), 0 4px 6px -2px rgba(0,0,0,.05);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

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

.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; border-radius: 8px; }

/* ---- Section headings ---- */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
  font-size: 1.0625rem;
}


/* ==============================================
   HEADER
   ============================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 0.875rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { height: 48px; width: auto; }
.logo-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 4px; }


/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 700px);
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  background-image: url('images/van.jpg');
  background-size: cover;
  background-position: center 35%;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(19, 31, 80, 0.93) 0%,
    rgba(19, 31, 80, 0.88) 45%,
    rgba(19, 31, 80, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  max-width: 660px;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}


/* ==============================================
   SERVICES
   ============================================== */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 50px;
  height: 50px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.875rem;
}
.service-card ul { display: flex; flex-direction: column; gap: 0.35rem; }
.service-card li {
  color: var(--gray);
  font-size: 0.9375rem;
  padding-left: 1.1rem;
  position: relative;
}
.service-card li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}


/* ==============================================
   WHY SKAHA
   ============================================== */
.trust { background: var(--white); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem 2.5rem;
}
.trust-card { text-align: center; padding: 1.5rem 1rem; }
.trust-icon {
  width: 64px;
  height: 64px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--navy);
}
.trust-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.trust-card p { color: var(--gray); font-size: 0.9375rem; }


/* ==============================================
   ABOUT STEVE
   ============================================== */
.about { background: var(--navy); color: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  max-height: 500px;
  box-shadow: var(--shadow-lg);
}
.about-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}
.about-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.about-text p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}
.badge {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}


/* ==============================================
   CONTACT
   ============================================== */
.contact { background: var(--light); }

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 820px;
  margin-inline: auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  flex: 1 1 230px;
  color: inherit;
  text-decoration: none;
}
a.contact-card {
  transition: transform 0.18s, box-shadow 0.18s;
}
a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-icon--facebook { background: var(--facebook); }
.contact-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 0.25rem;
}
.contact-card span {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
}


/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: #000000;
  color: var(--white);
  text-align: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo { height: 48px; width: auto; }
.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.site-footer p a { color: rgba(255,255,255,0.85); }
.site-footer p a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { font-size: 0.8125rem !important; color: rgba(255,255,255,0.4) !important; }

.footer-social { display: flex; gap: 0.75rem; justify-content: center; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.18s, border-color 0.18s;
}
.social-link:hover {
  background: var(--facebook);
  border-color: var(--facebook);
}


/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image { order: -1; }
  .about-image img { max-height: 380px; }
}

@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .contact-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 420px) {
  .logo { height: 38px; }
  .header-cta { padding: 0.6rem 1rem; font-size: 0.875rem; }
}
