/* =============================================
   GARDEN STATE CHIMNEY — Shared Stylesheet
   Mobile-first responsive design
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Cabin:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --maroon:      #800000;
  --red:         #CC3834;
  --dark:        #1A1A1A;
  --dark-mid:    #2d2d2d;
  --gray-light:  #ededed;
  --gray-mid:    #e2e2e2;
  --text:        #333333;
  --text-light:  #666666;
  --white:       #ffffff;
  --link:        #2ea3f2;
  --font-head:   'Roboto Slab', Georgia, serif;
  --font-body:   'Open Sans', Arial, sans-serif;
  --font-alt:    'Cabin', sans-serif;
  --radius:      4px;
  --shadow:      0 2px 12px rgba(0,0,0,0.12);
  --shadow-lg:   0 4px 24px rgba(0,0,0,0.18);
  --transition:  0.25s ease;
  --max-width:   1100px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--maroon); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.2;
  padding-bottom: 0.5rem;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h5 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section { padding: 60px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--gray { background: var(--gray-light); }
.section--red { background: var(--maroon); color: var(--white); }
.section--red h2, .section--red h3 { color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-primary:hover {
  background: #6a0000;
  border-color: #6a0000;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-secondary:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: #aa2a28;
  border-color: #aa2a28;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { font-size: 1.15rem; padding: 1rem 2.25rem; }

/* =============================================
   TOP ANNOUNCEMENT BAR
   ============================================= */
.top-bar {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-family: var(--font-alt);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo img {
  width: 80px;
  height: auto;
}
.header-tagline {
  text-align: center;
  flex: 1;
  display: none; /* hidden on mobile */
}
.header-tagline p {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  font-style: italic;
}
.header-phone {
  text-align: right;
}
.header-phone .call-label {
  font-size: 0.75rem;
  font-family: var(--font-alt);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.header-phone a {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--maroon);
}
.header-phone a:hover { color: var(--red); }

/* =============================================
   NAVIGATION
   ============================================= */
.main-nav {
  background: var(--dark);
  position: relative;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-menu {
  display: none; /* mobile hidden by default */
  flex-direction: column;
  width: 100%;
  background: var(--dark-mid);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
}
.nav-menu.open { display: flex; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  color: var(--white);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: var(--maroon);
  color: var(--white);
}
/* Dropdown toggle arrow */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.75em;
  opacity: 0.75;
}
/* Sub-menu mobile */
.sub-menu {
  display: none;
  background: #111;
  padding: 4px 0;
}
.sub-menu.open { display: block; }
.sub-menu li a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 32px;
  transition: color var(--transition), background var(--transition);
}
.sub-menu li a:hover {
  color: var(--white);
  background: rgba(128,0,0,0.4);
}
/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* Nav CTA button */
.nav-cta {
  display: none; /* shown on desktop */
}
.nav-cta .btn {
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
  border-radius: var(--radius);
}
.nav-cta .btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: var(--gray-light);
  padding: 40px 0;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.hero-content { order: 2; }
.hero-image { order: 1; width: 100%; }
.hero-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--maroon); }
.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 60%, var(--maroon) 100%);
  color: var(--white);
  padding: 50px 0 40px;
  text-align: center;
}
.page-hero h1 { color: var(--white); padding-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  font-family: var(--font-alt);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 6px; }

/* =============================================
   PHONE CTA BAND
   ============================================= */
.phone-band {
  background: var(--maroon);
  color: var(--white);
  padding: 20px 0;
}
.phone-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.phone-band-icon { font-size: 2rem; }
.phone-band h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 4vw, 2rem);
  padding: 0;
}
.phone-band h3 a {
  color: var(--white);
  font-weight: 700;
}
.phone-band h3 a:hover { color: var(--gray-light); }
.phone-band p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.95rem; }

/* =============================================
   SERVICES GRID
   ============================================= */
.section-label {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 12px;
  font-family: var(--font-head);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 16px;
}
.service-card .btn { align-self: flex-start; }

/* =============================================
   WHY CHOOSE US — ICONS
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}
.feature-item h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}
.feature-item p { font-size: 0.93rem; margin: 0; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--maroon);
}
.testimonial-stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.testimonial-author {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   TRUST BADGES / STATS
   ============================================= */
.stats-band {
  background: var(--dark);
  color: var(--white);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--red);
  padding: 0;
  font-weight: 700;
}
.stat-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-family: var(--font-alt);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================
   CONTENT SECTIONS (Service pages)
   ============================================= */
.content-section {
  padding: 60px 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.content-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.content-body h2 { color: var(--text); margin-bottom: 16px; }
.content-body h3 { color: var(--maroon); font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; }
.check-list { margin: 16px 0 24px; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 0.97rem;
  color: var(--text-light);
}
.check-list li::before {
  content: '✓';
  color: var(--maroon);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.process-steps {
  counter-reset: steps;
  margin: 24px 0;
}
.process-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--maroon);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.process-step h4 { font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.process-step p { font-size: 0.93rem; margin: 0; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =============================================
   CONTACT / FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-info h3 {
  color: var(--maroon);
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail h4 {
  font-size: 0.9rem;
  font-family: var(--font-alt);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  padding: 0;
  margin-bottom: 2px;
}
.contact-detail p, .contact-detail a {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}
.contact-detail a:hover { color: var(--maroon); }
.form-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { color: var(--maroon); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #d0d0d0;
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(128,0,0,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.form-submit { width: 100%; font-size: 1.05rem; padding: 1rem; }

/* =============================================
   SERVICE AREA MAP SECTION
   ============================================= */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.area-county {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--maroon);
}
.area-county h4 {
  font-size: 1rem;
  color: var(--maroon);
  margin-bottom: 12px;
}
.area-county ul { list-style: none; padding: 0; }
.area-county ul li {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.area-county ul li::before {
  content: '•';
  color: var(--maroon);
  font-weight: bold;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand img { width: 90px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-alt);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--maroon);
  margin-bottom: 16px;
}
.footer-links li { padding: 5px 0; }
.footer-links li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.93rem;
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact li span:first-child { flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--maroon); color: var(--white); }

/* =============================================
   DESKTOP BREAKPOINTS (min-width: 600px)
   ============================================= */
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .hero { padding: 60px 0; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
  }
  .hero-content { order: 1; flex: 1; }
  .hero-image { order: 2; flex: 1; }
  .header-tagline { display: block; }
  .phone-band-inner { flex-direction: row; justify-content: center; gap: 24px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 981px) {
  /* Desktop navigation */
  .hamburger { display: none; }
  .nav-cta { display: flex; align-items: center; }
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .nav-menu > li > a {
    padding: 16px 18px;
  }
  .nav-menu > li:hover > a,
  .nav-menu > li.active > a {
    background: var(--maroon);
  }
  /* Desktop dropdown */
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--dark-mid);
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--maroon);
    z-index: 999;
  }
  .has-dropdown:hover .sub-menu { display: block; }
  .sub-menu li a { padding: 10px 18px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
