/* =========================================
   HOME.CSS — Homepage specific styles
   Waggy Bums Dog Groomers
   ========================================= */

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #F9F4FF 0%, var(--purple-light) 40%, var(--pink-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__paw {
  position: absolute;
  font-size: 3rem;
  opacity: 0.07;
  animation: float-rotate 5s ease-in-out infinite;
}

.hero__paw:nth-child(1) { top: 15%; left: 8%;  font-size: 2.5rem; animation-delay: 0s; }
.hero__paw:nth-child(2) { top: 25%; right: 12%; font-size: 4rem;   animation-delay: -1.5s; }
.hero__paw:nth-child(3) { bottom: 30%; left: 15%; font-size: 2rem;  animation-delay: -3s; }
.hero__paw:nth-child(4) { bottom: 15%; right: 8%; font-size: 3.5rem; animation-delay: -0.8s; }
.hero__paw:nth-child(5) { top: 55%; left: 40%;   font-size: 1.8rem; animation-delay: -2s; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-xxl);
  position: relative;
  z-index: 1;
}

.hero__content {}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: var(--sp-md);
  box-shadow: var(--shadow-sm);
}

.hero__title {
  color: var(--purple-deep);
  margin-bottom: var(--sp-md);
  line-height: 1.1;
}

.hero__title em {
  font-style: normal;
  color: var(--purple);
  position: relative;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: var(--sp-lg);
  max-width: 480px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  align-items: center;
}

.hero__trust {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__trust-icon {
  font-size: 1.1rem;
}

/* Hero image area */
.hero__image-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-wrap {
  width: 340px;
  height: 340px;
  background: var(--white);
  border-radius: var(--r-round);
  padding: 16px;
  box-shadow: var(--shadow-hover);
  animation: float 4s ease-in-out infinite;
  border: 4px solid var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-round);
}

/* Floating badges on hero image */
.hero__badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero__badge--tl { top: 20px; left: -20px; }
.hero__badge--br { bottom: 30px; right: -10px; }
.hero__badge span { font-size: 1.2rem; }

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.service-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  border: 2px solid transparent;
  transition: var(--t);
  cursor: default;
}

.service-card:hover {
  border-color: var(--purple-light);
  background: var(--purple-xlight);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card__emoji {
  font-size: 3rem;
  margin-bottom: var(--sp-sm);
  display: block;
  animation: float 3.5s ease-in-out infinite;
}

.service-card:nth-child(2) .service-card__emoji { animation-delay: -1s; }
.service-card:nth-child(3) .service-card__emoji { animation-delay: -2s; }
.service-card:nth-child(4) .service-card__emoji { animation-delay: -0.5s; }

.service-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card__price {
  display: inline-block;
  margin-top: var(--sp-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--purple);
  background: var(--purple-light);
  padding: 4px 14px;
  border-radius: var(--r-pill);
}

/* ===== WHY US ===== */
.why-us {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--pink-light) 100%);
  position: relative;
  overflow: hidden;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.why-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-card__icon {
  font-size: 3rem;
  margin-bottom: var(--sp-sm);
  display: block;
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.why-card__text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--white);
}

.testimonials__wrap {
  max-width: 720px;
  margin: var(--sp-xl) auto 0;
  position: relative;
}

.testimonials__slider {
  position: relative;
  min-height: 220px;
}

.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.testimonial__card {
  background: var(--purple-xlight);
  border: 2px solid var(--purple-light);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  text-align: center;
  position: relative;
}

.testimonial__card::before {
  content: '"';
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-lg);
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--purple-light);
  line-height: 1;
}

.testimonial__stars {
  font-size: 1.3rem;
  margin-bottom: var(--sp-sm);
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 1.05rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}

.testimonial__author {
  font-family: var(--font-heading);
  color: var(--purple-dark);
  font-size: 1rem;
}

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

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-lg);
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  background: var(--border);
  border-radius: var(--r-round);
  cursor: pointer;
  transition: var(--t);
  border: none;
}

.testimonials__dot.active {
  background: var(--purple);
  transform: scale(1.4);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--sp-xxl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '🐾';
  position: absolute;
  font-size: 10rem;
  opacity: 0.06;
}

.cta-banner::before { top: -2rem; left: -2rem; transform: rotate(-20deg); }
.cta-banner::after  { bottom: -2rem; right: -2rem; transform: rotate(20deg); }

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: var(--sp-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.cta-banner .btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.cta-banner__actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto var(--sp-lg);
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__image-area {
    order: -1;
  }

  .hero__logo-wrap {
    width: 260px;
    height: 260px;
  }

  .hero__badge--tl { left: 10px; }
  .hero__badge--br { right: 10px; }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .hero__badge {
    display: none;
  }
}
