/* Service Areas Page Styles */

/* Hero Section */
.service-areas-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
}

.service-areas-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.service-areas-hero .container {
  position: relative;
  z-index: 2;
}

.service-areas-hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-areas-hero .hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.service-areas-main {
  padding: 60px 0;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Areas Overview Section */
.areas-overview {
  margin-bottom: 80px;
}

.overview-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.overview-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
  margin-bottom: 80px;
}

.map-container {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: none;
}

.map-info {
  text-align: center;
  margin-top: 30px;
}

.map-info p {
  font-size: 1.1rem;
  color: #374151;
  max-width: 600px;
  margin: 0 auto;
}

/* Major Areas Section */
.major-areas {
  margin-bottom: 80px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.area-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.area-icon {
  text-align: center;
  margin-bottom: 20px;
}

.area-icon i {
  font-size: 3rem;
  color: #1e3a8a;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.area-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 15px;
  text-align: center;
}

.area-content p {
  color: #6b7280;
  line-height: 1.6;
  text-align: center;
}

/* Additional Communities Section */
.additional-communities {
  margin-bottom: 80px;
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.community-column {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.community-column h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 20px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
}

.community-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.community-column li {
  padding: 8px 0;
  color: #6b7280;
  font-size: 1rem;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.3s ease;
}

.community-column li:last-child {
  border-bottom: none;
}

.community-column li:hover {
  color: #1e3a8a;
  font-weight: 500;
}

.coverage-note {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.coverage-note p {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Local Section */
.why-local {
  margin-bottom: 80px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  margin-bottom: 20px;
}

.benefit-icon i {
  font-size: 2.5rem;
  color: #1e3a8a;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-areas-hero .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .service-areas-hero .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .communities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .map-container iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .service-areas-hero {
    padding: 80px 0 60px;
  }
  
  .service-areas-hero .hero-content h1 {
    font-size: 2rem;
  }
  
  .service-areas-hero .hero-content p {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .area-card,
  .community-column,
  .benefit-card {
    padding: 20px;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

/* Container adjustments for mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .service-areas-main {
    padding: 40px 0;
  }
  
  .areas-overview,
  .map-section,
  .major-areas,
  .additional-communities,
  .why-local {
    margin-bottom: 60px;
  }
}

/* Ensure proper spacing and prevent overflow */
* {
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button styles consistency */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #1e3a8a;
  color: white;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-2px);
} 