/* ============================================================
   Florida Chimney & Vent Doctor — Custom styles
   Mobile-first. Bootstrap 5 base.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --fc-red:        #C0392B;
  --fc-red-dark:   #922B21;
  --fc-blue:       #2E86AB;
  --fc-blue-light: #EBF5FB;
  --fc-sand:       #F9F3E8;
  --fc-charcoal:   #2C2C2C;
  --fc-muted:      #6B6560;
  --fc-radius:     .75rem;
  --fc-shadow:     0 4px 20px rgba(0,0,0,.10);
}

/* ── Base ── */
body {
  font-family: 'Nunito', sans-serif;
  color: var(--fc-charcoal);
  background: #fff;
}
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; }
a { color: var(--fc-blue); }

/* ── Navbar ── */
.navbar {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.navbar-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fc-red);
}
.navbar-brand .brand-name span { color: var(--fc-blue); }
.nav-link { font-weight: 700; font-size: .92rem; border-radius: .5rem; transition: background .2s, color .2s; }
.nav-link:hover, .nav-link.active { background: var(--fc-blue-light); color: var(--fc-blue) !important; }
.nav-link.btn-quote {
  background: var(--fc-red);
  color: #fff !important;
  padding: .5rem 1.1rem !important;
  border-radius: .5rem;
}
.nav-link.btn-quote:hover { background: var(--fc-red-dark); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1a3a4a 0%, #2E86AB 60%, #1a5a6e 100%);
  color: #fff;
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 56px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2rem;
  padding: .35rem 1.1rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; line-height: 1.15; }
.hero h1 em { font-style: normal; color: #FFD166; }
.hero .lead { opacity: .92; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #1a3a4a 0%, #2E86AB 100%);
  color: #fff;
  padding: 60px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:'';
  position:absolute; bottom:-2px; left:0; right:0;
  height:48px;
  background:#fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }

/* ── Buttons ── */
.btn-fc-red   { background: var(--fc-red);  color: #fff; border: none; font-weight: 800; border-radius: .6rem; transition: all .2s; }
.btn-fc-red:hover { background: var(--fc-red-dark); color: #fff; transform: translateY(-1px); }
.btn-fc-outline { border: 2px solid rgba(255,255,255,.6); color: #fff; font-weight: 700; border-radius: .6rem; background: rgba(255,255,255,.1); transition: all .2s; }
.btn-fc-outline:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ── Trust bar ── */
.trust-bar { background: var(--fc-sand); border-bottom: 1px solid #EAE0D0; }
.trust-item { font-weight: 700; color: var(--fc-muted); font-size: .9rem; white-space: nowrap; }

/* ── Section labels ── */
.section-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fc-blue); font-family: 'Nunito', sans-serif; }
.section-sub { color: var(--fc-muted); font-family: 'Nunito', sans-serif; font-size: 1.05rem; }

/* ── Cards ── */
.fc-card {
  border-radius: var(--fc-radius);
  border: 1px solid #EEEEEE;
  box-shadow: var(--fc-shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 100%;
}
.fc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.13); border-color: var(--fc-blue); }
.service-icon { font-size: 2.2rem; }

/* ── Why Us visual box ── */
.why-visual {
  background: linear-gradient(135deg, var(--fc-red) 0%, #8B1A10 100%);
  border-radius: 1.2rem;
  color: #fff;
  text-align: center;
}
.why-visual .big-num { font-family: 'Playfair Display', serif; font-size: 4.5rem; font-weight: 900; line-height: 1; }
.why-icon-box { width: 48px; height: 48px; min-width: 48px; background: var(--fc-blue); border-radius: .6rem; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* ── Review cards ── */
.review-card { background: #fff; border-radius: var(--fc-radius); box-shadow: var(--fc-shadow); border: 1px solid #EEE; height: 100%; }
.stars { color: #F4A620; }

/* ── Gallery ── */
.ba-card { border-radius: var(--fc-radius); overflow: hidden; box-shadow: var(--fc-shadow); border: 1px solid #EEE; transition: transform .25s; }
.ba-card:hover { transform: translateY(-4px); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ba-before { background: linear-gradient(135deg, #444, #222); }
.ba-after  { background: linear-gradient(135deg, #2E86AB, #1a5a6e); }
.ba-label {
  position: absolute; bottom: 8px; left: 8px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px; color: #fff;
}
.label-before { background: rgba(0,0,0,.6); }
.label-after  { background: rgba(46,134,171,.85); }
.gallery-tag { display: inline-block; background: var(--fc-blue-light); color: var(--fc-blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 2rem; }

/* ── About visual block ── */
.about-visual { background: linear-gradient(135deg, #2E86AB 0%, #1a5a6e 100%); border-radius: 1.2rem; color: #fff; text-align: center; }
.cert-badge { background: var(--fc-blue-light); color: var(--fc-blue); padding: .4rem .9rem; border-radius: 2rem; font-size: .82rem; font-weight: 700; display: inline-block; }

/* ── Contact form ── */
.contact-form { background: #fff; border-radius: var(--fc-radius); box-shadow: var(--fc-shadow); border: 1px solid #EEE; }
.form-control, .form-select {
  border: 2px solid #E0E0E0;
  border-radius: .5rem;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  transition: border-color .2s;
}
.form-control:focus, .form-select:focus { border-color: var(--fc-blue); box-shadow: none; }
.form-label { font-weight: 700; font-size: .88rem; }

/* ── FAQ ── */
.accordion-button { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .95rem; }
.accordion-button:not(.collapsed) { background: var(--fc-blue-light); color: var(--fc-blue); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ── Team cards ── */
.team-avatar { background: var(--fc-blue-light); font-size: 3.5rem; padding: 2rem 0 1rem; }
.team-role { color: var(--fc-blue); font-size: .82rem; font-weight: 700; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:''; position:absolute; left:.55rem; top:0; bottom:0; width:3px; background:#EEE; border-radius:2px; }
.tl-item { position: relative; margin-bottom: 1.6rem; }
.tl-dot { position:absolute; left:-1.7rem; top:.3rem; width:18px; height:18px; background:var(--fc-blue); border-radius:50%; border:3px solid #fff; box-shadow:0 0 0 3px var(--fc-blue-light); }
.tl-year { font-weight: 800; color: var(--fc-blue); font-size: .85rem; font-family: 'Nunito', sans-serif; }

/* ── CTA band ── */
.cta-band { background: var(--fc-red); color: #fff; }

/* ── Footer ── */
footer { background: var(--fc-charcoal); color: rgba(255,255,255,.75); }
footer h5 { color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: .8rem; }

/* ── Filter buttons ── */
.filter-btn { border: 2px solid #DDD; background: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .86rem; border-radius: 2rem; padding: .45rem 1.1rem; transition: all .2s; color: var(--fc-muted); cursor: pointer; }
.filter-btn:hover, .filter-btn.active { border-color: var(--fc-blue); background: var(--fc-blue-light); color: var(--fc-blue); }

/* ── Fade-in animation ── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Service full row (services page) ── */
.service-includes { list-style: none; padding: 0; }
.service-includes li { padding: .35rem 0; font-size: .95rem; color: var(--fc-muted); }
.service-includes li::before { content: '✓ '; color: var(--fc-blue); font-weight: 800; }
.price-note { background: var(--fc-blue-light); color: var(--fc-blue); border-radius: .5rem; padding: .45rem 1rem; font-weight: 700; font-size: .88rem; display: inline-block; }
.svc-visual { border-radius: 1.2rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.sv-blue   { background: linear-gradient(135deg, #EBF5FB, #AED6F1); }
.sv-red    { background: linear-gradient(135deg, #FDEDEC, #F1948A); }
.sv-sand   { background: linear-gradient(135deg, #FEF9E7, #FAD7A0); }
.sv-green  { background: linear-gradient(135deg, #EAFAF1, #A9DFBF); }
.sv-purple { background: linear-gradient(135deg, #F5EEF8, #C39BD3); }
.sv-teal   { background: linear-gradient(135deg, #E8F8F5, #76D7C4); }

/* ── Value cards ── */
.value-icon { font-size: 2rem; }

/* ── Responsive tweaks ── */
@media (max-width: 576px) {
  .hero { padding: 52px 0 80px; }
  .hero-buttons .btn { width: 100%; margin-bottom: .5rem; }
  .trust-inner { gap: 1rem !important; }
}
