/* =========================================================
   Pure Paints — site styles
   Brand:  bright blue + vivid red on white, near-black text
           (matched to the Pure Paints logo)
   Fonts:  Poppins (headings) + Inter (body)
   ========================================================= */

:root {
  --blue:     #2ca8de;   /* logo blue (sampled from logo) */
  --blue-dk:  #1f8bbd;
  --red:      #e82028;   /* logo red (sampled from logo) */
  --red-dk:   #c4141b;
  --ink:      #16202b;   /* near-black text / footer */
  --light:    #f5f7f9;   /* soft section background */
  --text:     #232a31;
  --muted:    #6b7280;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
main { flex: 1 0 auto; }

h1,h2,h3,h4,h5,.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--ink);
}
.text-blue { color: var(--blue) !important; }
.text-red  { color: var(--red)  !important; }

/* ---------- Buttons ---------- */
.btn-red {
  background: var(--red); border: none; color: #fff; font-weight: 600;
  border-radius: 999px; padding: .65rem 1.6rem;
  transition: transform .15s ease, background .15s ease;
}
.btn-red:hover { background: var(--red-dk); color: #fff; transform: translateY(-2px); }

.btn-blue {
  background: var(--blue); border: none; color: #fff; font-weight: 600;
  border-radius: 999px; padding: .65rem 1.6rem;
  transition: transform .15s ease, background .15s ease;
}
.btn-blue:hover { background: var(--blue-dk); color: #fff; transform: translateY(-2px); }

.btn-outline-white-pill {
  border: 2px solid #fff; color: #fff; font-weight: 600;
  border-radius: 999px; padding: .6rem 1.5rem;
  transition: background .15s ease, color .15s ease; background: transparent;
}
.btn-outline-white-pill:hover { background: #fff; color: var(--ink); }

/* ---------- Navbar (white, logo) ---------- */
.navbar {
  background: #fff !important;
  padding: .55rem 0;
  box-shadow: 0 2px 14px rgba(22,32,43,.08);
}
.navbar-brand img { height: 72px; width: auto; display: block; }
.navbar .nav-link { color: var(--ink) !important; font-weight: 500; margin: 0 .35rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--blue) !important; }
.navbar-toggler { border-color: rgba(22,32,43,.25); }

/* ---------- Hero (brand gradient over photo) ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(120deg, rgba(31,139,189,.90), rgba(196,20,27,.82)),
              url('../img/profile/IMG_1368.webp') center/cover no-repeat;
  padding: 6rem 0 6.5rem;
}
.hero h1 { color:#fff; font-size: clamp(2.4rem,5vw,3.7rem); line-height:1.1; }
.hero .eyebrow { color:#fff; font-weight:600; letter-spacing:2px; text-transform:uppercase; font-size:.85rem; opacity:.9; }
.hero .subtitle { font-size:1.15rem; color: rgba(255,255,255,.94); max-width:640px; }

/* ---------- Section rhythm ---------- */
section { padding: 4.5rem 0; }
.section-light { background: var(--light); }
.section-title { margin-bottom: 2.5rem; }
.section-title h2 { font-size: 2rem; }
.section-title .lead { color: var(--muted); }
.title-underline { width:56px; height:4px; background: var(--red); border-radius:2px; margin:.8rem auto 0; }

/* ---------- About ---------- */
.about-img { border-radius:1rem; box-shadow:0 18px 40px rgba(22,32,43,.16); object-fit:cover; width:100%; max-height:460px; }
.eyebrow-blue { color: var(--blue); font-weight:600; letter-spacing:2px; text-transform:uppercase; font-size:.85rem; }

/* ---------- Faith quote band (blue) ---------- */
.quote-band { background: var(--blue); color:#fff; text-align:center; padding:3.25rem 0; }
.quote-band p { font-family:'Poppins',sans-serif; font-style:italic; font-size:1.5rem; color:#fff; max-width:820px; margin:0 auto; }
.quote-band .mark { color: rgba(255,255,255,.55); font-size:2.5rem; line-height:0; }

/* ---------- Service cards ---------- */
.service-card {
  border:none; border-radius:1rem; overflow:hidden;
  box-shadow:0 10px 30px rgba(22,32,43,.08);
  transition: transform .2s ease, box-shadow .2s ease; height:100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow:0 18px 44px rgba(22,32,43,.16); }
.service-card .card-img-top { height:220px; object-fit:cover; }
.service-icon {
  width:52px; height:52px; border-radius:50%;
  background: rgba(44,168,222,.14); color: var(--blue);
  display:flex; align-items:center; justify-content:center; font-size:1.4rem;
  margin:0 0 .85rem 0;
}
.service-card .card-title { color: var(--ink); }

/* ---------- CTA strip (red) ---------- */
.cta-strip { background: var(--red); color:#fff; text-align:center; padding:3rem 0; }
.cta-strip h2 { color:#fff; }
.cta-strip .btn-white-pill { background:#fff; color: var(--red); border-radius:999px; font-weight:600; padding:.65rem 1.8rem; border:none; }
.cta-strip .btn-white-pill:hover { background: var(--ink); color:#fff; }

/* ---------- Contact ---------- */
.contact-info-item { display:flex; align-items:flex-start; gap:.9rem; margin-bottom:1.4rem; }
.contact-info-item .ci-icon { flex:0 0 44px; width:44px; height:44px; border-radius:50%; background: var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.15rem; }
.contact-info-item h6 { margin:0; font-weight:600; color: var(--ink); }
.contact-info-item p, .contact-info-item a { margin:0; color: var(--muted); text-decoration:none; }
.contact-info-item a:hover { color: var(--blue); }
.form-control { border-radius:.6rem; padding:.7rem .9rem; }
.form-control:focus { border-color: var(--blue); box-shadow:0 0 0 .2rem rgba(28,167,224,.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding:2.5rem 0 1.5rem; }
.site-footer h5 { color:#fff; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration:none; }
.site-footer a:hover { color: var(--blue); }
.site-footer .foot-brand { font-family:'Poppins',sans-serif; font-size:1.4rem; font-weight:700; }
.site-footer .foot-brand .b { color: var(--blue); }
.site-footer .foot-brand .r { color: var(--red); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:1.5rem; padding-top:1rem; font-size:.9rem; }

/* ---------- Before & After slider ---------- */
.ba-compare {
  position:relative; max-width:840px; margin:0 auto;
  border-radius:1rem; overflow:hidden; user-select:none;
  box-shadow:0 12px 34px rgba(22,32,43,.16); touch-action:none;
}
.ba-compare img { display:block; width:100%; height:auto; }
.ba-base { pointer-events:none; }
.ba-clip { position:absolute; inset:0; clip-path: inset(0 50% 0 0); }
.ba-clip img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-line {
  position:absolute; top:0; bottom:0; left:50%; width:3px;
  background:#fff; transform:translateX(-50%); pointer-events:none; box-shadow:0 0 6px rgba(0,0,0,.35);
}
.ba-knob {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:44px; height:44px; border-radius:50%; background:#fff; color:var(--ink);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  box-shadow:0 2px 10px rgba(0,0,0,.35);
}
.ba-range {
  position:absolute; inset:0; width:100%; height:100%; margin:0;
  opacity:0; cursor:ew-resize; -webkit-appearance:none; appearance:none; background:transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance:none; width:44px; height:100%; cursor:ew-resize; }
.ba-range::-moz-range-thumb { width:44px; height:100%; border:0; background:transparent; cursor:ew-resize; }
.ba-lbl {
  position:absolute; bottom:14px; padding:.25rem .75rem; border-radius:999px;
  font-family:'Poppins',sans-serif; font-weight:600; font-size:.8rem; color:#fff;
  pointer-events:none; letter-spacing:.5px; transition:opacity .15s ease;
}
.ba-lbl-before { left:14px; background:rgba(22,32,43,.85); }
.ba-lbl-after  { right:14px; background:var(--red); }

/* ---------- Floor coatings ---------- */
.floor-tile {
  position:relative; border-radius:.9rem; overflow:hidden;
  box-shadow:0 10px 26px rgba(22,32,43,.10); height:100%;
}
.floor-tile img { width:100%; height:200px; object-fit:cover; display:block; }
.floor-tile .floor-label {
  position:absolute; left:0; bottom:0; right:0;
  background: linear-gradient(transparent, rgba(196,20,27,.92) 55%);
  color:#fff; font-family:'Poppins',sans-serif; font-weight:600;
  padding:1.4rem .9rem .7rem; font-size:1rem;
}
.floor-benefit { text-align:center; padding:.5rem; }
.floor-benefit .fb-icon {
  width:60px; height:60px; border-radius:50%; margin:0 auto .7rem;
  background: var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.6rem;
}
.floor-benefit h6 { font-weight:600; color:var(--ink); margin-bottom:.2rem; }
.floor-benefit p { color:var(--muted); font-size:.9rem; margin:0; }

/* artistic floor-coating video (vertical) */
.floor-video {
  width:100%; max-width:340px; border-radius:1rem; display:block; margin:0 auto;
  box-shadow:0 14px 36px rgba(22,32,43,.22); background:#000;
}

/* ---------- Static before/after pair (side-by-side, stacks on mobile) ---------- */
.ba-static {
  position:relative; border-radius:1rem; overflow:hidden;
  box-shadow:0 10px 26px rgba(22,32,43,.12);
}
.ba-static img { width:100%; height:300px; object-fit:cover; display:block; }
.ba-chip {
  position:absolute; top:14px; left:14px; padding:.28rem .8rem; border-radius:999px;
  font-family:'Poppins',sans-serif; font-weight:600; font-size:.8rem; color:#fff; letter-spacing:.5px;
}
.ba-chip.before { background:rgba(22,32,43,.85); }
.ba-chip.after  { background:var(--red); }
.ba-sublabel { font-family:'Poppins',sans-serif; font-weight:600; color:var(--ink); }

/* ---------- Mobile polish ---------- */
@media (max-width: 991.98px){
  .navbar-brand img { height: 60px; }
  .navbar .nav-item.ms-lg-3 { margin-top:.5rem; }
}
@media (max-width: 767.98px){
  section { padding: 3rem 0; }
  .hero { padding: 4rem 0 4.25rem; }
  .quote-band p { font-size: 1.2rem; }
  .quote-band { padding: 2.5rem 0; }
  .cta-strip .btn-lg { display:block; width:100%; margin:.4rem 0 0 !important; }
  .about-img { max-height: 340px; }
  .ba-static img { height: 240px; }
  .ba-knob { width:38px; height:38px; }
  .section-title h2, .hero h1 { overflow-wrap:break-word; }
}


/* ===== Service pages + heading-hierarchy sizing ===== */
.service-card .card-title{font-size:1.15rem;}
.floor-benefit h3{font-weight:600;color:var(--ink);margin-bottom:.2rem;font-size:1rem;}
.contact-info-item h3{margin:0;font-weight:600;color:var(--ink);font-size:1rem;}
.page-hero{background:linear-gradient(120deg,rgba(31,139,189,.95),rgba(196,20,27,.9));color:#fff;padding:4.5rem 0 4rem;}
.page-hero h1{color:#fff;font-size:clamp(2rem,4.5vw,3rem);}
.page-hero .eyebrow{color:#fff;opacity:.9;font-weight:600;letter-spacing:2px;text-transform:uppercase;font-size:.8rem;}
.page-hero .lead{color:rgba(255,255,255,.94);}
.svc-list{list-style:none;padding-left:0;}
.svc-list li{margin-bottom:.55rem;padding-left:1.75rem;position:relative;}
.svc-list li::before{content:"\2713";position:absolute;left:0;color:var(--red);font-weight:700;}
.svc-img{width:100%;border-radius:1rem;box-shadow:0 12px 30px rgba(22,32,43,.14);object-fit:cover;max-height:360px;}
.breadcrumb-simple{font-size:.85rem;color:var(--muted);}
.breadcrumb-simple a{color:var(--blue);text-decoration:none;}
.more-services .card{border:none;box-shadow:0 8px 22px rgba(22,32,43,.08);border-radius:.9rem;transition:transform .2s,box-shadow .2s;}
.more-services .card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(22,32,43,.14);}
.more-services .card h3{color:var(--ink);}

/* ===== Service page gallery + what's-included ===== */
.svc-gallery-img{width:100%;height:280px;object-fit:cover;border-radius:1rem;box-shadow:0 10px 26px rgba(22,32,43,.12);}
.incl-item{display:flex;align-items:flex-start;gap:.6rem;font-size:1.02rem;margin-bottom:.45rem;}
.incl-item i{color:var(--red);margin-top:.28rem;flex:0 0 auto;}
@media(max-width:767.98px){.svc-gallery-img{height:220px;}}

/* ===== Distinct per-service hero backgrounds (photo behind brand gradient) ===== */
.page-hero.hero-exterior{background:linear-gradient(120deg,rgba(31,139,189,.9),rgba(196,20,27,.84)),url('../img/beforeafter/house-after.webp') center/cover no-repeat;}
.page-hero.hero-residential{background:linear-gradient(120deg,rgba(31,139,189,.9),rgba(196,20,27,.84)),url('../img/residential/home_exterior/IMG_1339.webp') center/cover no-repeat;}
.page-hero.hero-commercial{background:linear-gradient(120deg,rgba(31,139,189,.9),rgba(196,20,27,.84)),url('../img/commercial/first_management/after/IMG_0512.webp') center/cover no-repeat;}
.page-hero.hero-floor{background:linear-gradient(120deg,rgba(31,139,189,.9),rgba(196,20,27,.84)),url('../img/floors/garage.webp') center/cover no-repeat;}

/* ===== Image captions ===== */
.svc-fig{margin:0;}
.svc-fig figcaption{text-align:center;color:var(--muted);font-size:.9rem;margin-top:.55rem;font-weight:500;}

/* ===== Keep phone/CTA buttons on one line ===== */
.btn-red,.btn-blue,.btn-outline-white-pill,.btn-white-pill{white-space:nowrap;}

/* ===== Mobile type scale-down (desktop unchanged) ===== */
@media (max-width: 767.98px){
  .hero h1, .page-hero h1{ font-size:1.95rem; line-height:1.15; }
  .section-title h2{ font-size:1.55rem; }
  .hero .subtitle, .page-hero .lead, .lead{ font-size:1.02rem; }
  body{ font-size:.97rem; }
  .navbar .btn{ font-size:.88rem; padding:.45rem .9rem; }
  .btn-lg{ font-size:.95rem; padding:.6rem 1.05rem; }
  .cta-strip .btn-lg{ width:auto; display:inline-block; }
}

/* ===== FAQ ===== */
.faq-item{padding:1.25rem 0;border-bottom:1px solid #e7ebef;}
.faq-item:last-child{border-bottom:none;}
.faq-item h2{font-size:1.15rem;margin-bottom:.4rem;}
.faq-item p{color:var(--muted);margin:0;}

/* ===== Reviews / testimonials ===== */
.review-card{background:#fff;border-radius:1rem;box-shadow:0 10px 26px rgba(22,32,43,.10);padding:1.6rem 1.5rem;height:100%;display:flex;flex-direction:column;}
.review-stars{color:#fbbc04;font-size:.95rem;letter-spacing:2px;margin-bottom:.6rem;}
.review-text{color:var(--text);font-size:1rem;line-height:1.6;margin-bottom:1.1rem;}
.review-meta{margin-top:auto;display:flex;align-items:center;gap:.6rem;color:var(--muted);font-size:.9rem;font-weight:500;}
.review-meta .g{display:inline-flex;align-items:center;gap:.3rem;font-size:.82rem;}
.review-meta .g .bi-google{color:var(--blue);}
.review-avatar{width:40px;height:40px;border-radius:50%;background:rgba(44,168,222,.14);color:var(--blue);display:flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 auto;}
.btn-google{background:#fff;color:var(--ink);border:1px solid #dadce0;border-radius:999px;font-weight:600;white-space:nowrap;}
.btn-google:hover{background:var(--light);color:var(--ink);}
.btn-google .bi-google{color:var(--blue);}
.review-single{max-width:720px;margin:0 auto;text-align:center;}
.review-single .review-text{font-size:1.14rem;font-style:italic;line-height:1.65;}
.review-single .review-stars{font-size:1.05rem;}
.review-single .review-meta{justify-content:center;}
