/* ============================================================================
   Copperview Bathroom & Remodel - theme
   Modern transitional: warm white, warm wood, matte black, copper accent.
   Layered on top of Bootstrap 5.
   ============================================================================ */

:root {
  --ink: #1c1b1a;
  --ink-soft: #423f3b;
  --copper: #a65e2e;
  --copper-cta: #8a4c21;     /* darker copper used on buttons for strong contrast */
  --copper-cta-hover: #6f3c19;
  --wood: #c9a77c;
  --wood-soft: #e7d8c4;
  --warm-white: #fbf9f6;
  --cream: #f4eee6;
  --line: #e7e1d8;
  --white: #ffffff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { scroll-behavior: smooth; }

html, body { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--warm-white);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Responsive images: keep aspect ratio so the width/height attributes
   (used for layout stability) never stretch the picture. More specific
   rules below (logo, hero background) override this where needed. */
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

p { margin-bottom: 1rem; }

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-cta-hover); }

.text-copper { color: var(--copper) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-warm { background: var(--warm-white) !important; }
.bg-ink { background: var(--ink) !important; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--copper);
  font-family: var(--font-body);
  margin-bottom: 0.5rem;
  display: inline-block;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: 0.72rem 1.4rem; }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1.05rem; }

.btn-copper {
  background: var(--copper-cta);
  border: 2px solid var(--copper-cta);
  color: #fff;
}
.btn-copper:hover, .btn-copper:focus {
  background: var(--copper-cta-hover);
  border-color: var(--copper-cta-hover);
  color: #fff;
}
.btn-ink {
  background: var(--ink);
  border: 2px solid var(--ink);
  color: #fff;
}
.btn-ink:hover, .btn-ink:focus { background: #000; border-color: #000; color: #fff; }

.btn-outline-ink {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-outline-ink:hover, .btn-outline-ink:focus { background: var(--ink); color: #fff; }

.btn-outline-light-2 {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
}
.btn-outline-light-2:hover { background: #fff; color: var(--ink); border-color:#fff; }

/* ---------- Navbar ---------- */
.navbar {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.6rem 0;
}
.navbar .navbar-brand img { height: 44px; width: auto; }
.navbar .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  font-size: 0.98rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--copper); }
.navbar .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.navbar .dropdown-item:active { background: var(--copper); }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--copper-cta);
  color: #fff !important;
  border-radius: 10px;
  padding: 0.6rem 1.1rem !important;
  font-weight: 700;
}
.nav-call:hover { background: var(--copper-cta-hover); color:#fff !important; }
.nav-call .small-label { display:block; font-size:0.62rem; line-height:1; opacity:.85; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.55) 45%, rgba(20,18,16,.78) 100%);
  z-index: 1;
}
.hero > img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 11vw, 7.5rem) 0; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 1rem; }
.hero p.lead { color: rgba(255,255,255,.92); max-width: 640px; }
.hero .trust-line { color: rgba(255,255,255,.85); font-size: .95rem; }
.hero .trust-line i { color: var(--wood); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--ink); color: #fff; }
.trust-bar .trust-item { display:flex; align-items:center; gap:.6rem; padding:.9rem 0; font-weight:600; font-size:.95rem; }
.trust-bar i { color: var(--wood); font-size: 1.3rem; }

/* ---------- Cards ---------- */
.card-service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-service:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(28,27,26,.12); }
.card-service img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-service .card-body { padding: 1.4rem 1.4rem 1.6rem; }
.card-service h3 { margin-bottom: .5rem; }
.card-service .arrow-link { font-weight: 700; color: var(--copper); display:inline-flex; align-items:center; gap:.35rem; }

/* feature/value icons */
.value-icon {
  width: 54px; height: 54px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: var(--cream); color: var(--copper);
  font-size: 1.5rem; margin-bottom: .9rem;
}

/* ---------- Service-area chips ---------- */
.area-chip {
  display:inline-flex; align-items:center; gap:.4rem;
  background:#fff; border:1px solid var(--line); border-radius: 999px;
  padding:.5rem 1rem; margin:.3rem; font-weight:600; color: var(--ink);
}
.area-chip i { color: var(--copper); }

/* ---------- Process steps ---------- */
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--copper-cta); color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center; font-size:1.15rem;
  font-family: var(--font-head);
}

/* ---------- Pricing ---------- */
.price-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:1.6rem; height:100%; }
.price-card .price { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); font-weight:600; }
.price-note { font-size:.85rem; color:#7a756d; }

/* ---------- FAQ ---------- */
.accordion-button { font-family: var(--font-head); font-weight:600; color: var(--ink); font-size:1.08rem; }
.accordion-button:not(.collapsed) { background: var(--cream); color: var(--ink); box-shadow:none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(166,94,46,.25); }
.accordion-item { border:1px solid var(--line); border-radius:12px !important; margin-bottom:.75rem; overflow:hidden; }

/* ---------- Testimonials ---------- */
.testimonial { background:#fff; border:1px solid var(--line); border-radius:16px; padding:1.6rem; height:100%; }
.testimonial .stars { color: var(--copper); }
.placeholder-tag {
  display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  background: var(--wood-soft); color: var(--ink); padding:.2rem .5rem; border-radius:6px; margin-bottom:.6rem;
}

/* ---------- Form ---------- */
.form-wrap { background:#fff; border:1px solid var(--line); border-radius:18px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow:0 16px 40px rgba(28,27,26,.06); }
.form-control, .form-select { border:1.5px solid var(--line); border-radius:10px; padding:.75rem .9rem; font-size:1rem; }
.form-control:focus, .form-select:focus { border-color: var(--copper); box-shadow:0 0 0 .2rem rgba(166,94,46,.18); }
.form-label { font-weight:600; color: var(--ink); margin-bottom:.3rem; }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 14px, #efe7db 14px, #efe7db 28px);
  border:1px dashed var(--wood); border-radius:16px;
  min-height: 320px; display:flex; align-items:center; justify-content:center; text-align:center; color: var(--ink-soft);
  padding: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer h5 { color:#fff; font-family: var(--font-head); font-size:1.1rem; margin-bottom:1rem; }
.site-footer .footer-brand { color:#fff; font-family: var(--font-head); font-size:1.3rem; font-weight:600; }
.site-footer .social-ico {
  width:40px; height:40px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08); color:#fff; margin-right:.4rem; font-size:1.1rem;
}
.site-footer .social-ico:hover { background: var(--copper); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); font-size:.85rem; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-cta-bar {
  position: fixed; left:0; right:0; bottom:0; z-index: 1040;
  display: none;
  background:#fff; border-top:1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(0,0,0,.08);
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  gap: .5rem;
}
.mobile-cta-bar .btn { flex:1; display:flex; align-items:center; justify-content:center; gap:.45rem; padding:.85rem .5rem; }
.mobile-cta-bar .btn-call-primary { flex: 1.4; }

@media (max-width: 991.98px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 78px; }
}

/* ---------- Misc ---------- */
.check-list { list-style:none; padding-left:0; margin:0; }
.check-list li { position:relative; padding-left:1.9rem; margin-bottom:.6rem; }
.check-list li i { position:absolute; left:0; top:.25rem; color: var(--copper); }

.img-rounded { border-radius:16px; }
.shadow-soft { box-shadow: 0 16px 40px rgba(28,27,26,.10); }
.section-divider { height:1px; background: var(--line); border:0; }

.breadcrumb a { color: var(--copper); }
.breadcrumb-item + .breadcrumb-item::before { color:#b7afa3; }
