/* ============================================
   Collins Painting Network — Stylesheet
   collinspainting.net
   ============================================ */

:root {
  /* Brand palette — matches collinspainting.ca */
  --orange: #FD6210;
  --orange-dark: #DF6321;
  --orange-light: #FF8C42;
  --navy: #0E1626;
  --navy-light: #1A2538;
  --navy-soft: #2A3135;
  --red: #B82429;
  --grey: #404040;
  --grey-mid: #626465;
  --grey-light: #CBCBCB;
  --bg-light: #F5F5F5;
  --bg-card: #F3F3F3;
  --white: #FFFFFF;

  /* Typography */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-cond: 'Roboto Condensed', 'Montserrat', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 76px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-sans);
  color: var(--grey);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.5px; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title { text-align: center; margin-bottom: 16px; }
.section-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--grey-mid);
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-pad { padding: 96px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all .25s ease;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(253,98,16,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); color: var(--white); }
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--grey-light);
  transition: background .3s;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-logo { height: 48px; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--grey);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--orange-dark); color: var(--white) !important; }

.nav-toggle span { background: var(--navy); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(14,22,38,.90), rgba(42,49,53,.82)),
    url('images/hero-room.png') center/cover;
  color: var(--white);
  padding: calc(var(--nav-height) + 40px) 0 60px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}
.hero-content { max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,.88); margin-bottom: 36px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat .label { font-size: .88rem; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ===== About / Why Join ===== */
#about { background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  border-top: 4px solid var(--orange);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  border-radius: 50%;
  font-size: 1.8rem;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--grey-mid); font-size: .98rem; margin: 0; }

/* ===== How It Works ===== */
#how { background: var(--bg-light); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-cond);
  position: relative;
  z-index: 2;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 3px;
  background: var(--grey-light);
  z-index: 1;
}
.step h4 { color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--grey-mid); margin: 0; }

/* ===== Services ===== */
#services { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
  background: var(--white);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.service-card .img-wrap { height: 220px; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .img-wrap img { transform: scale(1.06); }
.service-body { padding: 28px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { color: var(--grey-mid); font-size: .98rem; margin: 0; }

/* ===== Benefits ===== */
#why { background: var(--navy); color: var(--white); }
#why h2 { color: var(--white); }
#why .section-sub { color: rgba(255,255,255,.72); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.benefit-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.benefit-item:hover { background: rgba(253,98,16,.1); border-color: rgba(253,98,16,.3); }
.benefit-check {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.benefit-item h4 { color: var(--white); margin-bottom: 4px; }
.benefit-item p { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; }

/* ===== Gallery ===== */
#gallery { background: var(--bg-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }

/* ===== Testimonials ===== */
#testimonials { background: var(--white); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 24px;
  font-size: 4rem;
  color: var(--orange);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 3px; }
.testi-text { font-style: italic; color: var(--grey); margin-bottom: 20px; position: relative; z-index: 1; }
.testi-author { font-weight: 700; color: var(--navy); }
.testi-role { font-size: .88rem; color: var(--grey-mid); }

/* ===== CTA Banner ===== */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(253,98,16,.95), rgba(223,99,33,.92)),
    url('assets/images/cta-banner.png') center/cover;
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 32px; }
.cta-banner .btn-outline { border-color: var(--white); }
.cta-banner .btn-outline:hover { background: var(--white); color: var(--orange-dark); }

/* ===== Contact / Apply ===== */
#apply { background: var(--bg-light); }
.apply-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.apply-info h2 { margin-bottom: 16px; }
.apply-info p { color: var(--grey-mid); margin-bottom: 24px; }
.contact-list { list-style: none; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 1.05rem; }
.contact-list .ic {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.apply-form {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--grey);
  background: var(--bg-light);
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Legal Pages ===== */
.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--nav-height) + 60px) 0 50px;
  text-align: center;
}
.legal-hero h1 { color: var(--white); }
.legal-body { padding: 64px 0; max-width: 820px; margin: 0 auto; }
.legal-body h2 { margin: 40px 0 12px; font-size: 1.4rem; }
.legal-body h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 12px 0 18px 24px; }
.legal-body li { margin-bottom: 8px; }
.legal-body hr { border: none; border-top: 1px solid var(--grey-light); margin: 36px 0; }
.legal-body strong { color: var(--navy); }
.legal-body .effective { color: var(--orange); font-weight: 700; margin-bottom: 32px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .feature-grid, .service-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .step:not(:last-child)::after { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .apply-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height); right: 0;
    width: 100%; max-width: 320px;
    height: calc(100vh - var(--nav-height));
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,.2);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links.open a { color: rgba(255,255,255,.82); }
  .nav-toggle { display: flex; }
  .feature-grid, .service-grid, .testi-grid, .gallery-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 64px 0; }
  .hero { text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; gap: 32px; }
}
