/**
 * Area Page Styles - NFD Repairs
 * Shared styles for local area SEO landing pages
 */

:root {
  --ap-green: #1a9e3f;
  --ap-green-deep: #157a30;
  --ap-text: #182d18;
  --ap-text-muted: #556b55;
  --ap-card-bg: #ffffff;
  --ap-radius: 22px;
  --ap-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

.ap-hero {
  background: linear-gradient(135deg, #fffaf2 0%, #f8fbf7 55%, #fff5ef 100%);
  padding: 80px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ap-hero--image {
  background: linear-gradient(135deg, rgba(24,45,24,0.88) 0%, rgba(26,158,63,0.72) 100%);
  color: #fff;
  padding: 100px 24px 80px;
}

.ap-hero--image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.ap-hero--image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,25,10,0.82) 0%, rgba(15,80,30,0.72) 100%);
  z-index: 0;
}

.ap-hero.ap-hero--image .ap-hero-inner {
  z-index: 1;
}

.ap-hero.ap-hero--image h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.ap-hero.ap-hero--image .ap-hero-intro {
  color: rgba(255,255,255,0.9);
}

.ap-hero.ap-hero--image .ap-breadcrumb {
  color: rgba(255,255,255,0.7);
}

.ap-hero.ap-hero--image .ap-breadcrumb a {
  color: rgba(255,255,255,0.9);
}

.ap-hero:not(.ap-hero--image)::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 158, 63, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ap-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ap-breadcrumb {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: var(--ap-text-muted);
  margin: 0 0 16px 0;
}

.ap-breadcrumb a {
  color: var(--ap-green-deep);
  text-decoration: none;
}

.ap-breadcrumb a:hover {
  text-decoration: underline;
}

.ap-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ap-text);
  margin: 0 0 16px 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ap-hero-intro {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ap-text-muted);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 620px;
}

.ap-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ap-hero-cta-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--ap-text-muted);
  margin-top: 14px;
  text-align: center;
  width: 100%;
}

.ap-hero.ap-hero--image .ap-hero-cta-sub {
  color: rgba(255,255,255,0.85);
}

.ap-hero.ap-hero--image .ap-btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.ap-hero.ap-hero--image .ap-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.ap-hero.ap-hero--image .ap-btn-primary {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.ap-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--ap-green) 0%, var(--ap-green-deep) 100%);
  box-shadow: 0 8px 24px rgba(26, 158, 63, 0.25);
  transition: transform 0.3s var(--ap-ease), box-shadow 0.3s var(--ap-ease);
}

.ap-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 158, 63, 0.3);
  text-decoration: none;
  color: #fff;
}

.ap-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ap-green-deep);
  background: rgba(26, 158, 63, 0.08);
  border: 2px solid rgba(26, 158, 63, 0.2);
  transition: all 0.3s var(--ap-ease);
}

.ap-btn-secondary:hover {
  background: rgba(26, 158, 63, 0.15);
  border-color: rgba(26, 158, 63, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===== Sections ===== */
.ap-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
}

.ap-section--alt {
  background: linear-gradient(180deg, #f8fbf7 0%, #fffaf2 100%);
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.ap-section--alt .ap-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ap-section-inner {
  text-align: center;
}

.ap-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ap-text);
  margin: 0 0 8px 0;
  letter-spacing: -0.03em;
}

.ap-section-sub {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--ap-text-muted);
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.5;
}

/* ===== Services Grid ===== */
.ap-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ap-service-card {
  background: var(--ap-card-bg);
  border-radius: 18px;
  padding: 28px 20px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s var(--ap-ease), box-shadow 0.3s var(--ap-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ap-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(26, 158, 63, 0.1);
  text-decoration: none;
  color: inherit;
}

.ap-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ap-green) 0%, var(--ap-green-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(26, 158, 63, 0.18);
}

.ap-service-icon i {
  font-size: 1.3rem;
  color: #fff;
}

.ap-service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-text);
  margin: 0 0 6px 0;
}

.ap-service-card p {
  font-size: 0.85rem;
  color: var(--ap-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== Travel Info ===== */
.ap-travel-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--ap-card-bg);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.ap-travel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ap-travel-row:last-child {
  border-bottom: none;
}

.ap-travel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 158, 63, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-travel-icon i {
  font-size: 1.1rem;
  color: var(--ap-green);
}

.ap-travel-text {
  flex: 1;
}

.ap-travel-text strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--ap-text);
  display: block;
}

.ap-travel-text span {
  font-size: 0.85rem;
  color: var(--ap-text-muted);
}

/* ===== Send-In Banner ===== */
.ap-sendin-banner {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a9e3f 0%, #157a30 100%);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ap-sendin-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ap-sendin-banner h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 1;
}

.ap-sendin-banner p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.ap-sendin-banner .ap-btn-primary {
  background: #fff;
  color: var(--ap-green-deep);
  position: relative;
  z-index: 1;
}

.ap-sendin-banner .ap-btn-primary:hover {
  background: #f0fdf4;
}

/* ===== Trust Strip ===== */
.ap-trust-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.ap-trust-item {
  text-align: center;
}

.ap-trust-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ap-green-deep);
}

.ap-trust-label {
  font-size: 0.82rem;
  color: var(--ap-text-muted);
}

/* ===== FAQ ===== */
.ap-faq-list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.ap-faq-item {
  background: var(--ap-card-bg);
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.ap-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ap-text);
  text-align: left;
}

.ap-faq-question:hover {
  color: var(--ap-green-deep);
}

.ap-faq-icon {
  font-size: 0.8rem;
  color: var(--ap-green);
  transition: transform 0.3s var(--ap-ease);
  flex-shrink: 0;
  margin-left: 10px;
}

.ap-faq-item--open .ap-faq-icon {
  transform: rotate(180deg);
}

.ap-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ap-ease);
}

.ap-faq-answer p {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--ap-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== Final CTA ===== */
.ap-final-cta {
  background: linear-gradient(135deg, #1a9e3f 0%, #157a30 60%, #0f5f24 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ap-final-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}

.ap-final-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px 0;
}

.ap-final-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ap-final-cta-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 14px;
  text-align: center;
  width: 100%;
}

.ap-final-cta .ap-btn-primary {
  background: #fff;
  color: var(--ap-green-deep);
}

.ap-final-cta .ap-btn-primary:hover {
  background: #f0fdf4;
}

.ap-final-cta .ap-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ap-final-cta .ap-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ===== Areas Index Grid ===== */
.ap-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ap-area-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ap-ease), box-shadow 0.3s var(--ap-ease);
}

.ap-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  text-decoration: none;
}

.ap-area-card-body {
  padding: 20px;
}

.ap-area-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ap-text);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-area-card-body h3 i {
  color: var(--ap-green);
  font-size: 0.95rem;
}

.ap-area-card-body p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--ap-text-muted);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.ap-area-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ap-green-deep);
  background: rgba(26, 158, 63, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .ap-hero {
    padding: 56px 16px 40px;
  }

  .ap-section {
    padding: 40px 16px;
  }

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

  .ap-areas-grid {
    grid-template-columns: 1fr;
  }

  .ap-trust-strip {
    gap: 20px;
  }

  .ap-final-cta-buttons {
    flex-direction: column;
  }

  .ap-final-cta-buttons .ap-btn-primary,
  .ap-final-cta-buttons .ap-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Inline testimonial */
.ap-testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 640px;
  margin: 0 auto;
}
.ap-testimonial-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.ap-testimonial-quote {
  font-style: italic;
  color: var(--ap-text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}
.ap-testimonial-author {
  font-weight: 600;
  color: var(--ap-green-deep);
  font-size: 0.9rem;
  margin: 0;
}
