
/*
Theme Name: Poop Patrol
Theme URI: https://pooppatrolva.com
Author: Jonathan & ChatGPT
Description: Custom one-page marketing theme for Poop Patrol dog poop removal in Fredericksburg & Stafford, VA.
Version: 1.2.1
License: GNU General Public License v2 or later
Text Domain: poop-patrol
*/

:root {
  --pp-green: #22c55e;
  --pp-green-dark: #16a34a;
  --pp-green-soft: #ecfdf3;
  --pp-bg: #f0fdf4;
  --pp-gray-900: #0f172a;
  --pp-gray-700: #334155;
  --pp-gray-500: #6b7280;
  --pp-radius-xl: 24px;
  --pp-radius-lg: 18px;
  --pp-radius-pill: 999px;
  --pp-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: var(--pp-gray-900);
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 40%, #ecfdf5 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(248, 250, 252, 0.92), rgba(240, 253, 244, 0.95));
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  object-fit: cover;
}

.brand-text-title {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand-text-subtitle {
  font-size: 0.75rem;
  color: var(--pp-gray-500);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 16px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--pp-gray-700);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--pp-green-dark);
}

.nav-pill-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--pp-radius-pill);
  background: radial-gradient(circle at 0 0, #bbf7d0 0, #22c55e 27%, #16a34a 70%);
  color: white;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.55);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.nav-pill-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 50px rgba(22, 163, 74, 0.65);
}

.nav-pill-button span.icon-arrow {
  font-size: 1.05rem;
}

/* LAYOUT WRAPPER */

.pp-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

/* HERO */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(220, 252, 231, 0.9);
  border: 1px solid rgba(74, 222, 128, 0.7);
  color: var(--pp-green-dark);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.35rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 0 0 16px;
}

.hero-title span.em {
  color: var(--pp-green-dark);
}

.hero-body {
  font-size: 1.05rem;
  color: var(--pp-gray-700);
  max-width: 34rem;
  margin-bottom: 22px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.5);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 24px 55px rgba(22, 163, 74, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--pp-gray-900);
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.btn-secondary:hover {
  background: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.35);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--pp-gray-500);
}

.hero-media {
  background: radial-gradient(circle at 0 0, #bbf7d0 0, #f0fdf4 35%, #e0f2fe 100%);
  border-radius: var(--pp-radius-xl);
  padding: 16px;
  box-shadow: var(--pp-shadow-soft);
}

.hero-media-inner {
  border-radius: calc(var(--pp-radius-xl) - 8px);
  overflow: hidden;
}

.hero-media-inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* PRICING */

.section-title {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--pp-green-dark);
  margin-bottom: 6px;
}

.section-body {
  font-size: 0.98rem;
  color: var(--pp-gray-600, #4b5563);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.pricing-card {
  background: white;
  border-radius: var(--pp-radius-lg);
  padding: 22px 20px 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.35);
  position: relative;
}

.badge-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
}

.pricing-price-main {
  font-size: 1.7rem;
  font-weight: 800;
}

.pricing-price-unit {
  font-size: 0.85rem;
  color: var(--pp-gray-500);
}

.pricing-subtext {
  font-size: 0.8rem;
  color: var(--pp-gray-500);
  margin-bottom: 12px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--pp-gray-700);
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 7px;
}

.pricing-list span.bullet {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(187, 247, 208, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #166534;
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: #0f172a;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.pricing-card.popular .pricing-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.pricing-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

/* ABOUT OWNER */

.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.owner-photo-card {
  background: white;
  border-radius: var(--pp-radius-xl);
  padding: 14px;
  box-shadow: var(--pp-shadow-soft);
}

.owner-photo-card-inner {
  border-radius: calc(var(--pp-radius-xl) - 10px);
  overflow: hidden;
}

.owner-photo-card-inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* REVIEWS */

.reviews-section {
  margin-top: 52px;
}

.reviews-shortcode {
  margin-top: 18px;
}

/* FOOTER */

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 20px 0 26px;
  margin-top: 40px;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    order: -1;
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-nav ul {
    display: none;
  }
}

@media (max-width: 600px) {
  .pp-container {
    padding-inline: 16px;
  }
  .site-header-inner {
    padding-inline: 16px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}


/* Service area section */
.service-area {
  margin-top: 72px;
}

.service-area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.service-area-copy .service-area-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 12px;
}

.service-area-copy .service-area-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.service-area-copy .service-area-list .bullet {
  color: var(--pp-green-dark);
  margin-top: 2px;
}

.service-area-note {
  font-size: 0.9rem;
  color: var(--pp-gray-600, #4b5563);
  margin-top: 10px;
}

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

.service-area-map-wrap {
  display: flex;
  justify-content: center;
}

.service-area-map-card {
  background: white;
  border-radius: 24px;
  padding: 18px 18px 20px;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.22);
  border: 1px solid rgba(22, 163, 74, 0.18);
  max-width: 480px;
  width: 100%;
}

.service-area-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.service-area-map-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: var(--pp-green-dark);
}

.service-area-map-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pp-gray-700, #374151);
}

.service-area-map-inner {
  margin-top: 8px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid var(--pp-green-dark);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.28);
}

#pp-service-map {
  width: 100%;
  height: 280px;
}

.service-area-map-caption {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--pp-gray-600, #4b5563);
}

/* Completed jobs gallery */
.jobs-gallery {
  margin-top: 80px;
}

.jobs-header {
  max-width: 640px;
  margin-bottom: 24px;
}

.jobs-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 16px;
}

.jobs-slider-track {
  position: relative;
  overflow: hidden;
}

.jobs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 280ms ease-out, transform 280ms ease-out;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.jobs-slide--active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.jobs-slide-media {
  border-radius: 24px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

.jobs-slide-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: cover;
}

.jobs-slide-caption {
  background: white;
  border-radius: 24px;
  padding: 18px 20px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jobs-slide-title {
  margin: 0;
  font-size: 1.08rem;
  color: var(--pp-gray-900, #0f172a);
}

.jobs-slide-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pp-gray-600, #4b5563);
}

.jobs-slider-arrow {
  border: none;
  background: white;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
  color: var(--pp-gray-900, #0f172a);
  cursor: pointer;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}

.jobs-slider-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.26);
  background: var(--pp-green-soft);
}

.jobs-slider-arrow:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
}

.jobs-slider-arrow--prev {
  justify-self: flex-start;
  align-self: center;
}

.jobs-slider-arrow--next {
  justify-self: flex-end;
  align-self: center;
}

/* Lead modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.lead-modal-open .lead-modal {
  pointer-events: auto;
  opacity: 1;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.lead-modal-dialog {
  position: relative;
  max-width: 460px;
  width: 92%;
  margin: 64px auto;
  background: white;
  border-radius: 28px;
  padding: 24px 22px 22px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.52);
  transform: translateY(12px) scale(0.97);
  transition: transform 220ms ease-out;
}

.lead-modal-open .lead-modal-dialog {
  transform: translateY(0) scale(1);
}

.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--pp-gray-500, #6b7280);
}

.lead-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  color: var(--pp-green-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.lead-modal-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--pp-gray-900, #0f172a);
}

.lead-modal-body {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--pp-gray-600, #4b5563);
}

.lead-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lead-form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--pp-gray-700, #374151);
}

.lead-form-field input[type="text"],
.lead-form-field input[type="tel"] {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 9px 14px;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}

.lead-form-field input[type="text"]:focus,
.lead-form-field input[type="tel"]:focus {
  border-color: var(--pp-green-dark);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.35);
}

.lead-form-help {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--pp-gray-500, #6b7280);
}

.lead-modal-smallprint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--pp-gray-500, #6b7280);
}

.lead-modal-submit {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

.lead-form-error .lead-form-field input {
  border-color: #dc2626;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .service-area-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jobs-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .jobs-slider {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .lead-modal-dialog {
    margin: 32px auto;
    padding: 20px 18px 18px;
  }
}
