/* 
 * Blue River Gutters - Services Index Page Styles
 */

/* Services Hub Grid */
.services-hub {
  padding: 5rem 0;
}

.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-hub-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.service-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.service-hub-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-hub-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-hub-content h3 {
  margin: 0 0 0.75rem 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.service-hub-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-cities {
  font-size: 0.875rem;
  line-height: 1.8;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.service-cities-label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.service-cities a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.service-cities a:hover {
  color: var(--red);
  text-decoration: underline;
}

.service-cities-more {
  font-weight: 600;
  color: var(--red) !important;
  white-space: nowrap;
}

.service-cities-more:hover {
  color: var(--red-dark) !important;
}

/* Not Sure Section */
.not-sure {
  background: var(--blue);
  padding: 4rem 0;
}

.not-sure-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.not-sure-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.not-sure-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.not-sure-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.not-sure-cta .btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.not-sure-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--blue);
}

/* Why Local Section */
.why-local {
  background: var(--cream);
  padding: 5rem 0;
}

.why-local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-local-content h2 {
  margin-bottom: 1.5rem;
}

.why-local-content p {
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.why-local-cta {
  margin-top: 2rem;
}

.why-local-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-local-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-local-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .services-hub {
    padding: 3rem 0;
  }
  
  .services-hub-grid {
    grid-template-columns: 1fr;
  }
  
  .not-sure {
    padding: 3rem 0;
  }
  
  .why-local {
    padding: 3rem 0;
  }
  
  .why-local-content {
    text-align: center;
  }
  
  .why-local-cta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .not-sure-cta {
    flex-direction: column;
  }
  
  .not-sure-cta .btn {
    width: 100%;
  }
}
