/* HomeAdvisor-Inspired Styles for DFW Garage Floor Epoxy */

/* ========================================
   HERO SECTION WITH INLINE FORM
   ======================================== */

.hero-section-ha {
  position: relative;
  min-height: 550px;
  background-image: url('../images/garage-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section-ha::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.75) 100%);
  z-index: 1;
}

.hero-content-ha {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.hero-content-ha h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  color: white;
}

.hero-subtitle-ha {
  font-size: 1.25rem;
  margin: 0 0 2.5rem 0;
  color: rgba(255, 255, 255, 0.95);
}

/* Hero Form Card */
.hero-form-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 2rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  max-width: 600px;
  position: relative;
  z-index: 3;
}

.hero-form-card h2 {
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-align: center;
  line-height: 1.2;
  border-bottom: none;
  padding-bottom: 0;
  display: block;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-section {
  width: 100%;
}

.form-section label {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.65rem;
}

.form-section select {
  margin: 0 auto;
  max-width: 400px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-form-card {
    padding: 1.75rem 1.5rem 2rem;
  }
  
  .hero-form-card h2 {
    font-size: 1.5rem;
  }
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  padding: 0.75rem 0.875rem;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all .2s ease;
  width: 100%;
  background: white;
  display: block;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.hero-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* Radio button groups */
.hero-radio-group,
.quote-radio-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 4px;
}

.hero-radio,
.quote-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
  transition: all 0.2s;
}

.hero-radio:hover,
.quote-radio:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.hero-radio input,
.quote-radio input {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.hero-radio input:checked + span,
.quote-radio input:checked + span {
  font-weight: 600;
  color: #1d4ed8;
}

@media (max-width: 600px) {
  .hero-radio-group,
  .quote-radio-group {
    flex-direction: column;
    gap: 8px;
  }
}

.hero-submit-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
  margin-top: 0.5rem;
}

.hero-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.hero-submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.form-trust-text {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin: 1rem 0 0 0;
  line-height: 1.5;
}

/* ========================================
   POPULAR SERVICES SECTION
   ======================================== */

.popular-services-section {
  padding: 4rem 1.5rem;
  background: #f9fafb;
}

.section-title-ha {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--text);
  text-align: center;
}

.section-subtitle-ha {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 2.5rem 0;
}

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

.service-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  text-decoration: none;
  color: var(--text);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.service-rating {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.service-price {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0.5rem 0 0 0;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-section {
  padding: 4rem 1.5rem;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
}

.feature-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.feature-item p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   BEFORE/AFTER SHOWCASE
   ======================================== */

.before-after-section-ha {
  padding: 5rem 1.5rem;
  background: #f9fafb;
}

.ba-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ba-image-container {
  width: 100%;
}

.ba-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ba-details h3 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #1f2937;
  line-height: 1.3;
}

.ba-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.ba-benefits li {
  padding: 0.65rem 0 0.65rem 2rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

.ba-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-cta-secondary {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all .2s ease;
}

.btn-cta-secondary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-cta-secondary {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-cta-secondary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* ========================================
   SERVICE AREAS SECTION
   ======================================== */

.service-areas-section-ha {
  padding: 4rem 1.5rem;
  background: white;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.city-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: all .2s ease;
  text-align: center;
}

.city-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.city-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

.city-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.link-accent {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.link-accent:hover {
  text-decoration: underline;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-section-ha {
  padding: 4rem 1.5rem;
  background: #f9fafb;
}

.pricing-grid-ha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.price-card-ha {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 2rem;
  transition: all .2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card-ha:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.price-card-ha.featured-price {
  border: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.popular-badge-ha {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.price-card-ha h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text);
  text-align: center;
}

.price-range-ha {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1.5rem;
}

.price-features-ha {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.price-features-ha li {
  padding: 0.6rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid #f3f4f6;
}

.price-features-ha li:last-child {
  border-bottom: none;
}

.btn-price-cta {
  display: block;
  background: var(--accent);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all .2s ease;
  margin-top: auto;
}

.btn-price-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.pricing-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta-section-ha {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.final-cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.final-cta-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: white;
}

.final-cta-box p {
  font-size: 1.25rem;
  margin: 0 0 2rem 0;
  color: rgba(255, 255, 255, 0.95);
}

.btn-final-cta {
  display: inline-block;
  background: white;
  color: var(--accent);
  padding: 1rem 3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all .2s ease;
}

.btn-final-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .hero-content-ha h1 {
    font-size: 2rem;
  }

  .hero-subtitle-ha {
    font-size: 1.1rem;
  }

  .hero-form-card {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ba-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .pricing-grid-ha {
    grid-template-columns: 1fr;
  }

  .section-title-ha {
    font-size: 1.75rem;
  }

  .final-cta-box h2 {
    font-size: 2rem;
  }

  .final-cta-box p {
    font-size: 1.1rem;
  }
}

.hero-subtext {
  font-size: 1rem;
  margin: 0 0 2rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}
