/* Service Areas - Streamlined with Embedded Map */

/* Service Areas Section */
#service-areas {
  /* Section borders handled by main styles.css */
  padding: 3rem 0;
}

/* Service Area Content Layout */
.service-area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Map Container */
.service-area-map {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.map-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  border-radius: 12px;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

.map-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 46, 109, 0.9);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-radius {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.service-radius i {
  color: var(--heartland-red);
  font-size: 1.1rem;
}

/* Service Area Summary */
.service-area-summary h3 {
  color: var(--heartland-blue);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.coverage-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-radius: 8px;
  border-left: 4px solid var(--heartland-blue);
}

.stat i {
  color: var(--heartland-blue);
  font-size: 1.2rem;
  min-width: 20px;
}

.stat strong {
  color: var(--heartland-blue);
  font-size: 1.1rem;
}

.stat span {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Primary Areas */
.primary-areas h4 {
  color: var(--heartland-red);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.area-tag {
  background: white;
  border: 1px solid #e2e8f0;
  color: var(--gray-700);
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: default;
}

.area-tag:hover {
  background: var(--heartland-blue);
  color: white;
  border-color: var(--heartland-blue);
  transform: translateY(-1px);
}

.show-all-areas {
  background: var(--heartland-red);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.show-all-areas:hover {
  background: var(--heartland-red-hover);
  transform: translateY(-1px);
}

/* Extended Areas */
.extended-areas {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.extended-areas.show {
  max-height: 200px;
}

.extended-areas .area-tag {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
  color: var(--gray-600);
}

.extended-areas .area-tag:hover {
  background: var(--heartland-blue);
  color: white;
  border-color: var(--heartland-blue);
}

/* Service Area Note */
.service-area-note {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--heartland-blue);
  margin-top: 2rem;
}

.service-area-note p {
  margin: 0;
  color: var(--gray-700);
}

.service-area-note a {
  color: var(--heartland-blue);
  text-decoration: none;
  font-weight: 600;
}

.service-area-note a:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .service-area-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .map-container {
    height: 300px;
  }
  
  .map-overlay {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  
  .service-radius {
    font-size: 0.8rem;
  }
  
  .coverage-stats {
    gap: 0.75rem;
  }
  
  .stat {
    padding: 0.75rem;
  }
  
  .area-tags {
    gap: 0.4rem;
  }
  
  .area-tag, .show-all-areas {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .service-area-content {
    gap: 1.5rem;
  }
  
  .map-container {
    height: 250px;
  }
  
  .coverage-stats {
    grid-template-columns: 1fr;
  }
  
  .area-tags {
    justify-content: center;
  }
} 