/* Custom CSS for Chimney Service Theme */

:root {
  --primary-color: #E4572E;
  --secondary-color: #8B4513;
  --danger-color: #D4451B;
  --dark-color: #922F13;
  --light-bg: #F6F1E7;
  --white: #FFFFFF;
  --font-primary: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* Typography */
body {
  font-family: var(--font-body);
  color: var(--dark-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--dark-color);
}
.white-text {
  color: white !important;
}
/* Emergency Banner */
.emergency-banner {
  background: linear-gradient(45deg, var(--danger-color), #FF6B6B);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.emergency-banner a {
  color: var(--white);
  text-decoration: none;
}

/* Main Header */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar-brand h2 {
  color: var(--primary-color);
  font-weight: 800;
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  padding: 10px 20px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.btn-call {
  background: var(--primary-color);
  border: none;
  padding: 10px 25px;
  font-weight: 600;
}

.btn-call:hover {
  background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-repeat: no-repeat !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.special-offer-badge {
  display: inline-block;
  background: var(--danger-color);
  color: var(--white);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.trust-badges-hero {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.hero-cta .btn {
  font-size: 18px;
  padding: 15px 40px;
}

/* Services Section */
.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 5px 0;
}

/* Trust Section */
.stat-card {
  padding: 30px;
}

.stat-card h3 {
  color: var(--primary-color);
}

.cert-badge {
  height: 80px;
  margin: 0 15px;
  filter: grayscale(0);
}

.review-summary {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

/* Safety Section */
.warning-signs-card,
.did-you-know-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  height: 100%;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
}

.fact-list {
  list-style: none;
  padding: 0;
}

.fact-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* Service Area Section */
.service-area-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-tag {
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
}
.city-tag-link {
  text-decoration: none;
  display: inline-block;
}


/* Pricing Section */
.offer-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-card.special-offer {
  border: 3px solid var(--danger-color);
}

.offer-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.special-offer .offer-header {
  background: var(--danger-color);
}

.offer-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.offer-price .save {
  font-size: 14px;
  font-weight: 600;
}

.offer-price .amount {
  font-size: 36px;
  font-weight: 800;
}

.offer-body {
  padding: 30px;
}

.offer-body ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.offer-body li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.offer-body li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Process Section */
.process-step {
  padding: 30px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* FAQ Section */
.accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-button {
  background: var(--white);
  font-weight: 600;
  font-size: 18px;
  padding: 20px;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: var(--white);
}

.accordion-button:focus {
  box-shadow: none;
}

/* Testimonials Section */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
  font-style: italic;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  margin-top: auto;
}

/* Resources Section */
.resource-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  height: 100%;
}

/* Final CTA Section */
/* .final-cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
} */

.final-cta-section .hero-overlay {
  background: rgba(0,0,0,0.4) !important;
}

.contact-form-wrapper {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.9);
  border: none;
}

.contact-form .btn-light {
  background: var(--white);
  color: var(--primary-color);
  font-weight: 600;
}

.contact-form .btn-light:hover {
  background: var(--light-bg);
}

/* Footer */
.site-footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.site-footer h3 {
  color: var(--white);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-color);
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--secondary-color);
}

.trust-badge {
  height: 50px;
  margin: 0 10px;
  opacity: 0.8;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: background 0.3s;
}

#backToTop:hover {
  background: var(--secondary-color);
}

/* Mobile Call Button */
.mobile-call-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 10px;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Utility Classes */
.min-vh-75 {
  min-height: 75vh;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
      font-size: 2rem;
  }
  
  .trust-badges-hero {
      gap: 15px;
  }
  
  .badge-item {
      font-size: 14px;
  }
  
  .city-grid {
      gap: 5px;
  }
  
  .city-tag {
      font-size: 12px;
      padding: 6px 15px;
  }
  
  .process-step {
      margin-bottom: 30px;
  }
  
  .cert-badge {
      height: 60px;
      margin: 0 5px;
  }
}

/* Custom Bootstrap Overrides */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Loading States */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
  .emergency-banner,
  .main-header,
  .mobile-call-button,
  #backToTop,
  .btn {
      display: none !important;
  }
}

@media (min-width: 991px) {
  section.py-5 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6{
  color:white;
}

.hero-section--compact { min-height: 55vh; }

.place-card { padding: 24px; }
.place-card__image img { width: 100%; height: 180px; object-fit: cover; }

.toc a { display: inline-block; padding: 6px 0; font-weight: 600; color: var(--dark-color); text-decoration: none; }
.toc a:hover { color: var(--primary-color); text-decoration: underline; }

/* Service Areas Page */

/* Service Area List Section (3-column bullets like reference screenshot) */
.service-area-bullets{
  list-style: disc;
  margin: 0;
  padding-left: 1.25rem;
  columns: 3;
  column-gap: 3rem;
}

.service-area-bullets li{
  break-inside: avoid;
  margin: 0 0 0.75rem 0;
}

.service-area-bullets a{
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.service-area-bullets a:hover{
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px){
  .service-area-bullets{ columns: 2; }
}
@media (max-width: 575px){
  .service-area-bullets{ columns: 1; }
}

.service-area-card-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Service Area Card Links */
.service-area-card-link {
  text-decoration: none;
  color: var(--dark-color);
  display: block;
}

.service-area-card-link:hover {
  text-decoration: none;
  color: var(--primary-color);
}

/* Make text feel interactive on hover */
.service-area-card-link .service-card h3 {
  transition: color 0.3s ease;
}

.service-area-card-link:hover .service-card h3 {
  color: var(--primary-color);
}

/* Optional: slight hover lift for linked cards */
.service-area-card-link .service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-area-card-link:hover .service-card {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


/* Menu Dropdown */

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--light-bg);
  color: var(--primary-color);
}
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 10px;
}
/* Hover-to-open dropdown on desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* prevents jump */
  }

  .navbar .dropdown > .dropdown-toggle::after {
    margin-left: .5rem;
  }
}
