/* Black Bear Restoration - Main Styles */
/* Build on Trust, Driven by Results */

:root {
  /* Brand Colors - Updated to match Infographics */
  --navy-blue: #1B3B5F;
  --dark-red: #8B1A1A;
  --burgundy: #B22234;
  --bright-blue: #0066CC;
  --fire-red: #C41E3A;
  --forest-green: #2D7A3E;
  --smoke-gray: #4A4A4A;
  --bright-orange: #C41E3A;
  --light-blue: #E8F1F5;
  --dark-gray: #2C3E50;
  --light-gray: #E5E5E5;
  --success-green: #28A745;
  --white: #FFFFFF;
  
  /* Typography */
  --heading-font: 'Montserrat', 'Arial Black', sans-serif;
  --body-font: 'Roboto', 'Arial', sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--dark-gray);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  color: var(--white);
}

h2 {
  font-size: 2.5rem;
  color: var(--navy-blue);
}

h3 {
  font-size: 1.75rem;
  color: var(--navy-blue);
}

h4 {
  font-size: 1.5rem;
  color: var(--navy-blue);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--bright-orange);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--navy-blue);
}

/* Emergency Banner */
.emergency-banner {
  background-color: var(--bright-orange);
  color: var(--white);
  padding: 0.35rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emergency-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}

.emergency-banner a:hover {
  color: var(--light-blue);
}

/* Navigation */
.main-nav {
  background-color: var(--navy-blue);
  padding: 1rem 0;
  position: sticky;
  top: 42px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s;
  border-radius: 4px;
}

.nav-menu a:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
}

.nav-phone {
  background-color: var(--bright-orange);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  color: var(--white) !important;
}

.nav-phone:hover {
  background-color: #E55A2B;
  color: var(--white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle.active {
  transform: rotate(90deg);
}

/* Mobile - Show Toggle, Hide Menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
  }

  .nav-menu {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-blue);
    padding: 1rem;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex !important;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(27, 59, 95, 0.8), rgba(27, 59, 95, 0.8)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231B3B5F" width="1200" height="600"/></svg>');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-blue);
}

.hero-slogan {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--light-blue);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-badge {
  font-size: 0.95rem;
  color: var(--dark-gray);
  margin-top: 1rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--bright-orange);
  color: var(--white);
  border-color: var(--bright-orange);
}

.btn-primary:hover {
  background-color: #E55A2B;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-blue);
  border-color: var(--navy-blue);
}

.btn-secondary:hover {
  background-color: var(--navy-blue);
  color: var(--white);
  border-color: var(--navy-blue);
}

/* Container & Sections */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 2rem;
}

.section-alt {
  background-color: var(--light-blue);
}

.section-dark {
  background-color: var(--navy-blue);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--dark-gray);
  max-width: 800px;
  margin: -2rem auto 3rem;
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--bright-orange);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy-blue);
}

.service-card p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.service-card a {
  color: var(--bright-orange);
  font-weight: 600;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  color: var(--success-green);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy-blue);
  font-weight: 600;
}

.benefit-content p {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-box {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 4rem;
  color: var(--bright-orange);
  margin-bottom: 1rem;
}

.feature-box h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--light-blue);
  font-size: 1.1rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--bright-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--body-font);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.required {
  color: var(--bright-orange);
}

/* Footer */
.footer {
  background-color: #0A1929;
  color: var(--light-blue);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--light-blue);
}

.footer-section a:hover {
  color: var(--bright-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--light-gray);
}

/* Social Media Links */
.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  transition: fill 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook:hover {
  background-color: #1877F2;
}

.social-link.whatsapp:hover {
  background-color: #25D366;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .emergency-banner {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    white-space: normal;
    overflow: visible;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }
  
  .logo img {
    height: 45px;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .services-grid,
  .benefits-grid,
  .features-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
}

/* Image Styles */
.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-image-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.project-image-caption {
  padding: 1rem;
  background: var(--white);
  text-align: center;
  font-weight: 600;
  color: var(--navy-blue);
}

.before-after-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.before-after-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.before-after-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.before-after-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--bright-orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin: 2rem auto;
  display: block;
}

/* Circular Service Icons (matching infographic style) */
.service-icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.service-icon-circle.water {
  border-color: var(--bright-blue);
  color: var(--bright-blue);
  background: rgba(0, 102, 204, 0.1);
}

.service-icon-circle.fire {
  border-color: var(--fire-red);
  color: var(--fire-red);
  background: rgba(196, 30, 58, 0.1);
}

/* FAQ Styles */
.faq-category {
  margin-bottom: 3rem;
}

.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--bright-blue);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--light-blue);
}

.faq-item.active .faq-question {
  background: var(--navy-blue);
  color: var(--white);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.faq-answer p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--navy-blue);
  font-weight: 600;
}

.faq-answer a {
  color: var(--bright-blue);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--navy-blue), var(--bright-blue));
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 4rem;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
  background: var(--white);
  color: var(--navy-blue);
}

.cta-buttons .btn-secondary:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 1.25rem;
  }
  
  .faq-answer {
    font-size: 0.938rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 1.25rem;
  }
  
  .cta-section {
    padding: 2rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
}

.service-icon-circle.fire {
  border-color: var(--fire-red);
  color: var(--fire-red);
  background: rgba(196, 30, 58, 0.1);
}

.service-icon-circle.smoke {
  border-color: var(--smoke-gray);
  color: var(--smoke-gray);
  background: rgba(74, 74, 74, 0.1);
}

.service-icon-circle.mold {
  border-color: var(--forest-green);
  color: var(--forest-green);
  background: rgba(45, 122, 62, 0.1);
}

.service-icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Hero Banner with Background Image */
.hero-banner {
  background-image: url('../images/hero-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  position: relative;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

/* Clean Hero Banner (no text overlay) */
.hero-banner-clean {
  width: 100%;
  background: var(--navy-blue);
  padding: 0;
  margin: 0;
  display: block;
}

.hero-banner-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
}

/* CTA Section Below Banner */
.cta-section {
  background: linear-gradient(135deg, var(--navy-blue), #2C5F8D);
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white) !important;
}

.cta-content p {
  color: var(--white) !important;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero-banner-image {
    max-height: 400px;
  }
  
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .cta-content h2 {
    font-size: 1.5rem !important;
  }
  
  .cta-content p {
    font-size: 1rem !important;
  }
}

/* Service Area Map */
.service-area-map {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: block;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
