/* ============================================
   KNOXVILLE PRO GUTTERS — GLOBAL STYLESHEET
   Brand: Copper + Charcoal + Cream
   Fonts: Urbanist (headings) + Outfit (body)
   ============================================ */

:root {
  --copper: #C17F3E;
  --copper-hover: #D4A574;
  --bronze: #8B5E2B;
  --dark: #111111;
  --dark-card: #1A1A1A;
  --cream: #FBF7F0;
  --text-light: #F5F0EB;
  --text-dark: #1A1A1A;
  --muted: #8A8478;
  --muted-light: #B8B0A4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--copper); }
h1, h2, h3, h4 { font-family: 'Urbanist', sans-serif; }
img { max-width: 100%; height: auto; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid rgba(193,127,62,0.15);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 32px; }
.nav-left a, .nav-right a {
  color: var(--text-light); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-left a:hover, .nav-right a:hover { color: var(--copper); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text {
  font-family: 'Urbanist', sans-serif; font-weight: 800;
  font-size: 1.2rem; color: var(--text-light); letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--copper); }
.nav-cta {
  background: var(--copper) !important; color: var(--dark) !important;
  padding: 10px 22px; border-radius: 6px;
  font-weight: 600 !important; letter-spacing: 0.04em !important;
  transition: background 0.2s ease !important;
}
.nav-cta:hover { background: var(--copper-hover) !important; }
.nav-phone { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-light); margin: 5px 0; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 100px 0; }
.section-dark { background: var(--dark); color: var(--text-light); position: relative; }
.section-cream { background: var(--cream); color: var(--text-dark); position: relative; }
.section-copper { background: var(--copper); color: var(--dark); position: relative; }

/* ---- CURVED SECTION DIVIDERS (Pinks-inspired) ---- */
.curve-from-dark { padding-top: 140px; position: relative; }
.curve-from-dark::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: var(--dark);
  border-radius: 0 0 50% 50%;
  z-index: 2;
}

.curve-from-cream { padding-top: 140px; position: relative; }
.curve-from-cream::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: var(--cream);
  border-radius: 0 0 50% 50%;
  z-index: 2;
}

.curve-from-copper { padding-top: 140px; position: relative; }
.curve-from-copper::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: var(--copper);
  border-radius: 0 0 50% 50%;
  z-index: 2;
}

/* ---- TYPOGRAPHY ---- */
.section-label {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600;
  color: var(--copper); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px;
}
.section-cream .section-label { color: var(--bronze); }
.section-title {
  font-weight: 800; font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px;
}
.section-desc {
  font-weight: 300; font-size: 1.1rem; line-height: 1.7; max-width: 600px; color: var(--muted);
}
.section-dark .section-desc { color: var(--muted-light); }

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  padding: 88px 0 16px; font-size: 0.8rem; color: var(--muted);
  background: var(--dark);
}
.breadcrumbs .container { padding-top: 0; padding-bottom: 0; }
.breadcrumb-link { color: var(--muted-light); text-decoration: none; }
.breadcrumb-link:hover { color: var(--copper); }
.breadcrumb-current { color: var(--copper); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 40px 0 80px; background: var(--dark);
}
.page-hero .section-title { color: var(--text-light); }
.hero-sub-page {
  font-weight: 300; font-size: 1.1rem; color: var(--muted-light);
  line-height: 1.7; max-width: 700px; margin-bottom: 32px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--copper); color: var(--dark); padding: 16px 36px;
  border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  letter-spacing: 0.02em; transition: all 0.25s ease; border: 2px solid var(--copper);
}
.btn-primary:hover { background: var(--copper-hover); border-color: var(--copper-hover); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--text-light); padding: 16px 36px;
  border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-weight: 500; font-size: 1rem; text-decoration: none;
  border: 2px solid rgba(245,240,235,0.2); transition: all 0.25s ease;
}
.btn-secondary:hover { border-color: var(--copper); color: var(--copper); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dark); color: var(--text-light); padding: 18px 40px;
  border-radius: 8px; font-weight: 600; font-size: 1.05rem;
  text-decoration: none; transition: all 0.25s ease; border: 2px solid var(--dark);
}
.btn-dark:hover { background: transparent; color: var(--dark); }

/* ---- CONTENT LAYOUT (service pages) ---- */
.content-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 60px;
}
.content-main h2, .content-main h3 {
  font-weight: 700; margin: 32px 0 12px;
}
.content-main h2 { font-size: 1.5rem; }
.content-main h3 { font-size: 1.2rem; }
.content-main p {
  font-weight: 300; font-size: 1.02rem; line-height: 1.8;
  color: var(--text-dark); margin-bottom: 16px;
}
.content-main strong { font-weight: 600; }

/* ---- SIDEBAR ---- */
.sidebar-cta-box {
  background: var(--dark); color: var(--text-light);
  border-radius: 16px; padding: 32px; margin-bottom: 24px;
}
.sidebar-cta-box h3 { color: var(--text-light); margin-bottom: 12px; font-size: 1.2rem; }
.sidebar-cta-box p { color: var(--muted-light); font-weight: 300; font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.sidebar-note { display: block; text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 12px; }
.sidebar-related { background: white; border-radius: 16px; padding: 32px; border: 1px solid rgba(0,0,0,0.06); }
.sidebar-related h4 { font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.related-link {
  display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s ease;
}
.related-link:hover { color: var(--copper); }
.related-link:last-child { border-bottom: none; }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.service-card {
  background: white; border-radius: 12px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0,0,0,0.06);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.service-img {
  height: 160px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service-number {
  font-family: 'Urbanist', sans-serif; font-weight: 800; font-size: 3.5rem;
  color: rgba(193,127,62,0.15); position: absolute; top: 12px; left: 16px;
}
.service-body { padding: 24px; }
.service-body h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.service-body h3 a { color: inherit; text-decoration: none; }
.service-body p { font-size: 0.88rem; font-weight: 300; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--copper); text-decoration: none; font-weight: 600; font-size: 0.85rem;
  transition: gap 0.2s ease;
}
.service-link:hover { gap: 10px; }

/* Gradient backgrounds for service cards */
.gp-1 { background: linear-gradient(135deg, #2a2015, #1a150f); }
.gp-2 { background: linear-gradient(135deg, #1a2520, #0f1a15); }
.gp-3 { background: linear-gradient(135deg, #20201a, #15150f); }
.gp-4 { background: linear-gradient(135deg, #251a15, #1a0f0a); }
.gp-5 { background: linear-gradient(135deg, #15202a, #0a151f); }
.gp-6 { background: linear-gradient(135deg, #2a2520, #1f1a15); }

/* ---- CITY SERVICES GRID ---- */
.city-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.city-service-card {
  background: var(--dark-card); border-radius: 12px; padding: 28px;
  border: 1px solid rgba(193,127,62,0.1); transition: border-color 0.3s ease;
}
.city-service-card:hover { border-color: rgba(193,127,62,0.3); }
.city-service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.city-service-card h3 a { color: var(--text-light); text-decoration: none; }
.city-service-card h3 a:hover { color: var(--copper); }
.city-service-card p { font-size: 0.88rem; font-weight: 300; color: var(--muted-light); line-height: 1.5; margin-bottom: 12px; }

/* ---- AREA PILLS ---- */
.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(193,127,62,0.08); border: 1px solid rgba(193,127,62,0.2);
  color: var(--text-light); padding: 12px 24px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: all 0.2s ease;
}
.area-pill:hover { background: rgba(193,127,62,0.15); border-color: var(--copper); color: var(--copper); }

/* Area pills on cream backgrounds */
.section-cream .area-pill {
  background: rgba(193,127,62,0.1); border-color: rgba(193,127,62,0.25);
  color: var(--text-dark);
}
.section-cream .area-pill:hover { background: rgba(193,127,62,0.2); border-color: var(--copper); color: var(--bronze); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(193,127,62,0.12); padding: 24px 0; }
.section-cream .faq-item { border-bottom-color: rgba(0,0,0,0.08); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-family: 'Urbanist', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--text-light); transition: color 0.2s ease;
  background: none; border: none; width: 100%; text-align: left; padding: 0;
}
.section-cream .faq-question { color: var(--text-dark); }
.faq-question:hover { color: var(--copper); }
.faq-question::after {
  content: '+'; font-size: 1.4rem; color: var(--copper); flex-shrink: 0;
  margin-left: 16px; transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding-top: 16px; }
.faq-answer p { font-weight: 300; font-size: 0.95rem; color: var(--muted-light); line-height: 1.7; }
.section-cream .faq-answer p { color: var(--muted); }

/* FAQ on cream backgrounds — white card wrapper */
.faq-on-cream { border-top: 1px solid rgba(0,0,0,0.06); }
.faq-card {
  background: #fff; border-radius: 16px; padding: 12px 36px;
  border: 1px solid rgba(0,0,0,0.06); max-width: 800px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* City services on cream — white card variant */
.city-services-section { border-top: 1px solid rgba(0,0,0,0.06); }
.city-services-cream .city-service-card {
  background: #fff; border-color: rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.city-services-cream .city-service-card h3 a { color: var(--text-dark); }
.city-services-cream .city-service-card h3 a:hover { color: var(--copper); }
.city-services-cream .city-service-card p { color: var(--muted); }

/* ---- FINAL CTA ---- */
.final-cta { padding: 80px 0; background: var(--copper); text-align: center; position: relative; overflow: hidden; }
.final-cta .section-title { color: var(--dark); }
.final-cta p { color: var(--bronze); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.final-phone { margin-top: 24px; }
.final-phone a { font-family: 'Urbanist', sans-serif; font-weight: 700; font-size: 1.8rem; color: var(--dark); text-decoration: none; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); padding: 80px 0 40px; border-top: 1px solid rgba(193,127,62,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { font-weight: 300; font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-weight: 700; font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--copper); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--copper); }
.footer-disclosure { width: 100%; text-align: center; margin-top: 16px; font-size: 0.7rem; color: rgba(138,132,120,0.5); }

/* ---- MOBILE CTA ---- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--copper); padding: 14px 20px; text-align: center;
}
.mobile-cta a {
  color: var(--dark); text-decoration: none; font-family: 'Urbanist', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* ---- LEGAL CONTENT ---- */
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; font-weight: 700; }
.legal-content p { font-weight: 300; font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; color: var(--text-dark); }

/* ---- REVEAL ---- */
.reveal { opacity: 0; transition: opacity 0.6s ease; }
.reveal.visible { opacity: 1; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .city-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }
  .breadcrumbs { padding: 88px 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .footer { padding-bottom: 80px; }
}

/* ---- PRINT ---- */
@media print {
  .nav, .mobile-cta, .final-cta, .footer { display: none; }
  body { color: #000; background: #fff; }
  .section-dark { background: #fff; color: #000; }
}
