/* Blue River Gutters - Main Stylesheet */
/* Combined from styles.css + navigation.css + parallax.css for performance */

:root {
  --navy: #0f172a;
  --slate: #334155;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --cream: #faf8f5;
  --white: #ffffff;
  --blue: #1e40af;
  --blue-light: #3b82f6;
  --red: #b91c1c;
  --red-dark: #991b1b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate);
  line-height: 1.6;
  background: var(--white);
}
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4rem 0; }

.top-banner { background: var(--navy); text-align: center; padding: 0.75rem 1rem; }
.top-banner a { color: var(--white); font-weight: 500; font-size: 0.9rem; }

.header { position: sticky; top: 0; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.1); z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.logo { height: 50px; width: auto; }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { color: var(--slate); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--navy); }
.nav-cta { background: var(--blue-light); color: var(--white) !important; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600; }
.nav-cta:hover { background: var(--blue); color: var(--white) !important; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navigation Dropdowns (was navigation.css) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { background: none; border: none; font-family: inherit; font-size: 0.95rem; font-weight: 500; color: var(--slate); cursor: pointer; display: flex; align-items: center; gap: 0.25rem; padding: 0; transition: color 0.2s; }
.nav-dropdown-toggle:hover { color: var(--navy); }
.dropdown-arrow { font-size: 0.75rem; transition: transform 0.2s; }
.nav-dropdown.active .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 0.75rem 0; min-width: 200px; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; margin-top: 0.75rem; z-index: 1000; }
.nav-dropdown.active .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a { display: block; padding: 0.6rem 1.25rem; color: var(--slate); font-size: 0.9rem; transition: background 0.15s, color 0.15s; }
.nav-dropdown-menu a:hover { background: var(--light-gray); color: var(--navy); }
.dropdown-divider { height: 1px; background: var(--light-gray); margin: 0.5rem 0; }
.nav-dropdown-mega { min-width: 400px; padding: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mega-column { display: flex; flex-direction: column; }
.mega-heading { font-size: 0.75rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; padding: 0 0.5rem; }
.mega-column a { padding: 0.4rem 0.5rem; border-radius: 4px; }
.view-all-link { margin-top: 0.5rem; color: var(--red) !important; font-weight: 600; }

/* Mobile Nav */
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); padding: 1rem; padding-top: 5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 998; flex-direction: column; overflow-y: auto; }
.mobile-nav.active { display: flex; }
.mobile-nav > a { padding: 1rem; border-bottom: 1px solid var(--light-gray); color: var(--slate); font-weight: 500; font-size: 1.1rem; }
.mobile-nav > a:hover { color: var(--navy); background: var(--light-gray); }
.mobile-nav-cta { background: var(--blue-light) !important; color: var(--white) !important; text-align: center; border-radius: 6px; margin-top: 1rem; padding: 1rem !important; border-bottom: none !important; }
.mobile-nav-cta:hover { background: var(--blue) !important; }
.mobile-accordion { border-bottom: 1px solid var(--light-gray); }
.mobile-accordion-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: none; border: none; font-family: inherit; font-size: 1.1rem; font-weight: 500; color: var(--slate); cursor: pointer; text-align: left; }
.mobile-accordion-toggle:hover { color: var(--navy); background: var(--light-gray); }
.accordion-arrow { font-size: 1.25rem; font-weight: 400; color: var(--gray); transition: transform 0.2s; }
.mobile-accordion.active .accordion-arrow { transform: rotate(45deg); }
.mobile-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--light-gray); }
.mobile-accordion.active .mobile-accordion-content { max-height: 600px; }
.mobile-accordion-content a { display: block; padding: 0.75rem 1rem 0.75rem 1.5rem; color: var(--slate); font-size: 1rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mobile-accordion-content a:hover { background: var(--cream); color: var(--navy); }
.mobile-accordion-content a:last-child { border-bottom: none; }
.mobile-section-label { display: block; padding: 0.75rem 1rem 0.5rem 1.5rem; font-size: 0.75rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.mobile-view-all { color: var(--red) !important; font-weight: 600; }

/* Breadcrumbs */
.breadcrumbs { background: var(--light-gray); padding: 0.75rem 0; font-size: 0.85rem; }
.breadcrumb-list { list-style: none; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list li:not(:last-child)::after { content: "›"; margin-left: 0.5rem; color: var(--gray); }
.breadcrumb-list a { color: var(--gray); }
.breadcrumb-list a:hover { color: var(--blue); }
.breadcrumb-list li[aria-current="page"] { color: var(--navy); font-weight: 500; }

/* Hero */
.hero { position: relative; padding: 6rem 0; background-size: cover; background-position: center; min-height: 70vh; display: flex; align-items: center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); }
.hero-container { position: relative; z-index: 1; }
.hero-content { max-width: 650px; color: var(--white); }
.hero-eyebrow { font-size: 1rem; margin-bottom: 0.5rem; opacity: 0.9; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; font-size: 2.5rem; line-height: 1.15; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; flex-direction: column; }

/* Trust Badges */
.trust-badges { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500; }
.trust-badge-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); border-radius: 50%; font-size: 0.7rem; }
.cta .trust-badges { justify-content: center; margin-top: 1.5rem; }
.cta .trust-badge { color: rgba(255,255,255,0.8); }
.trust-badges-light { justify-content: center; margin-top: 1.5rem; }
.trust-badges-light .trust-badge { color: var(--gray); }
.trust-badges-light .trust-badge-icon { background: var(--light-gray); color: var(--slate); }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2rem; border-radius: 6px; font-weight: 600; font-size: 1rem; transition: all 0.2s; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3); transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,0.15); color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--slate); color: var(--white); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25); transform: translateY(-1px); }
.btn-small { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.6); }

/* Stats */
.stats-section { background: var(--white); padding: 3rem 0; border-bottom: 1px solid var(--light-gray); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--navy); }
.stat-label { color: var(--gray); font-size: 0.9rem; margin-top: 0.25rem; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { position: relative; display: inline-block; padding-bottom: 1rem; }
.section-header h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--red); border-radius: 2px; }
.section-eyebrow { color: var(--gray); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.section-intro { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* Local Problems */
.local-problems { background: var(--cream); }
.local-content { max-width: 800px; margin: 0 auto; }
.local-content p { color: var(--slate); font-size: 1.05rem; line-height: 1.8; }

/* Reviews */
.reviews { background: var(--cream); }
.review-platforms { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.review-platform { text-align: center; padding: 2rem; background: var(--white); border-radius: 12px; min-width: 180px; transition: transform 0.2s; }
.review-platform:hover { transform: translateY(-4px); }
.review-platform img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 1rem; }
.review-count { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.review-stars { color: #f59e0b; font-size: 1.1rem; margin: 0.5rem 0; }
.review-rating { color: var(--gray); font-size: 0.85rem; }

/* Services */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s, border-left 0.2s; border-left: 4px solid transparent; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); border-left-color: var(--red); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-content { padding: 1.5rem; }
.service-card h3 { color: var(--red); margin-bottom: 0.75rem; }
.service-card p { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Why Local */
.why-local { background: var(--light-gray); }
.why-local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-local-content h2 { margin-bottom: 1.5rem; }
.why-local-content p { color: var(--gray); margin-bottom: 1rem; }
.checkmarks { list-style: none; margin: 1.5rem 0; }
.checkmarks li { padding: 0.5rem 0; color: var(--slate); font-weight: 500; }
.why-local-cta { margin-top: 2rem; }
.why-local-image img { width: 100%; border-radius: 12px; }

/* Neighborhoods */
.neighborhoods { background: var(--cream); }
.neighborhoods-content { max-width: 900px; margin: 0 auto; }
.neighborhoods-content > p { text-align: center; color: var(--gray); margin-bottom: 2rem; }
.neighborhoods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.neighborhood-group h3 { color: var(--navy); font-size: 1rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--red); }
.neighborhood-group ul { list-style: none; }
.neighborhood-group li { color: var(--slate); padding: 0.35rem 0; font-size: 0.95rem; }
.neighborhoods-note { text-align: center; color: var(--gray); margin-top: 2rem; font-style: italic; }

/* Workmanship */
.workmanship { background: var(--light-gray); }
.workmanship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.workmanship-image img { width: 100%; border-radius: 12px; }
.workmanship-content h2 { margin-bottom: 1.5rem; }
.workmanship-content p { color: var(--gray); margin-bottom: 1rem; }
.workmanship-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* Testimonials */
.testimonials { background: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--cream); padding: 2rem; border-radius: 12px; }
.testimonial-stars { color: #f59e0b; font-size: 1.25rem; margin-bottom: 1rem; }
.testimonial-text { color: var(--slate); font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.testimonial-author { color: var(--gray); font-weight: 600; font-size: 0.9rem; }
.review-cta { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--light-gray); }
.review-cta p { color: var(--gray); }
.review-cta a { font-weight: 600; }

/* FAQ */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--light-gray); border-left: 3px solid transparent; transition: border-left-color 0.2s, background 0.2s; margin-left: -1rem; padding-left: 1rem; }
.faq-item.active { border-left-color: var(--blue); background: var(--light-gray); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; background: none; border: none; cursor: pointer; text-align: left; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.faq-icon { font-size: 1.5rem; color: var(--gray); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--gray); }

/* CTA */
.cta { background: var(--blue); color: var(--white); text-align: center; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.cta .btn-primary { background: var(--white); color: var(--blue); }
.cta .btn-primary:hover { background: var(--cream); box-shadow: 0 4px 12px rgba(0,0,0,0.2); transform: translateY(-1px); }
.cta-phone { margin-top: 1.5rem; }
.cta-phone a { color: var(--white); font-size: 1.5rem; font-weight: 700; }
.cta-hours { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 0.5rem; }
.cta-address { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 0.5rem; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 3rem 0 1.5rem; font-size: 0.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; align-items: start; }
.footer-logo { height: 40px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.8rem; opacity: 0.7; margin-bottom: 0; line-height: 1.5; }
.social-links { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-links a { background: rgba(255,255,255,0.08); padding: 0.4rem; border-radius: 4px; color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.social-links a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.footer-links h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-address { color: rgba(255,255,255,0.5); font-size: 0.75rem; line-height: 1.5; margin-top: 0.5rem; }
.footer-contact .btn { margin-top: 0.75rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-bottom p { margin-bottom: 0; }

/* Mobile Sticky Footer */
.mobile-sticky-footer { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); z-index: 1000; }
.mobile-sticky-btn { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem; color: var(--white); font-size: 1.5rem; border-right: 1px solid rgba(255,255,255,0.1); }
.mobile-sticky-btn:last-child { border-right: none; }

/* Parallax (was parallax.css) */
.parallax-bg { position: relative; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
.hero.parallax-bg { background-attachment: fixed; background-color: transparent; }
.hero.parallax-bg .hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero.parallax-bg .hero-container { position: relative; z-index: 2; }
.parallax-section { position: relative; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
.parallax-section .parallax-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.85); z-index: 1; }
.parallax-section > .container { position: relative; z-index: 2; }
.parallax-section.parallax-light .parallax-overlay { background: rgba(255, 255, 255, 0.92); }
.cta.parallax-bg { background-color: transparent; }
.cta.parallax-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(30, 64, 175, 0.9); z-index: 1; }
.cta.parallax-bg > .container { position: relative; z-index: 2; }
.workmanship.parallax-bg { background-color: transparent; }
.workmanship.parallax-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(241, 245, 249, 0.95); z-index: 1; }
.workmanship.parallax-bg > .container { position: relative; z-index: 2; }
@supports (-webkit-touch-callout: none) {
  .parallax-bg, .hero.parallax-bg, .parallax-section, .cta.parallax-bg, .workmanship.parallax-bg { background-attachment: scroll; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .workmanship-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-local-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-local-image { order: -1; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; text-align: center; margin-bottom: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .social-links { justify-content: center; }
  .neighborhoods-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none !important; }
  .mobile-menu-btn { display: flex; }
  .nav-dropdown-menu, .nav-dropdown-mega { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { min-height: 80vh; padding: 4rem 0; }
  .hero h1 { font-size: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .social-links { justify-content: center; }
  .mobile-sticky-footer { display: flex; }
  .footer { padding-bottom: 5rem; }
  section { padding: 3rem 0; }
  .breadcrumb-list { font-size: 0.8rem; }
  .neighborhoods-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .trust-badges { justify-content: center; gap: 1rem; }
  .trust-badge { font-size: 0.75rem; }
  .parallax-bg, .hero.parallax-bg, .parallax-section, .cta.parallax-bg, .workmanship.parallax-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .neighborhoods-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; gap: 1.25rem; }
  .footer-brand { text-align: center; }
  .footer-contact { grid-column: 1 / -1; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .trust-badges { flex-direction: column; align-items: center; gap: 0.75rem; }
}
