/* ============================================================
   ALPHARETTA PET BOARDING — components.css
   Additional component and page-specific styles
   ============================================================ */

/* ============================================================
   SERVICE CARDS (Homepage overview grid)
   ============================================================ */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226,221,212,0.8);
  box-shadow: 0 4px 24px rgba(13,40,24,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(13,40,24,0.16);
  border-color: rgba(181,137,58,0.4);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

/* Bottom gradient on image */
.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(13,40,24,0.5), transparent);
  pointer-events: none;
}

.service-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(13,40,24,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  z-index: 1;
}

.service-card-tag.gold {
  background: rgba(181,137,58,0.9);
}

.service-card-body {
  padding: 1.75rem;
}

.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--forest);
}

.service-card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.service-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.03em;
}

.service-card-link:hover {
  color: var(--forest);
  border-bottom-color: var(--forest-mid);
}

/* ============================================================
   HERO SECTION — HOMEPAGE V2
   ============================================================ */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background image layer */
.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-v2-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-v2:hover .hero-v2-bg img {
  transform: scale(1.0);
}

/* Multi-layer overlay */
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,20,12,0.97) 0%, rgba(7,20,12,0.82) 30%, rgba(7,20,12,0.45) 60%, rgba(7,20,12,0.18) 100%),
    linear-gradient(to right, rgba(13,40,24,0.5) 0%, transparent 60%);
}

/* Main content area */
.hero-v2-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: flex-end;
  gap: 3rem;
  flex: 1;
}

/* Left content column */
.hero-v2-content {
  padding-bottom: 0.5rem;
}

/* Eyebrow pill */
.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(181,137,58,0.15);
  border: 1px solid rgba(181,137,58,0.4);
  border-radius: 100px;
  color: var(--gold-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-v2-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* Headline */
.hero-v2-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero-v2-headline em {
  font-style: italic;
  color: var(--gold-light);
}

/* Sub */
.hero-v2-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* CTA buttons */
.hero-v2-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(181,137,58,0.4);
}
.hero-v2-btn-primary:hover {
  background: #9A7230;
  border-color: #9A7230;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(181,137,58,0.5);
}
.hero-v2-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.hero-v2-btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* Trust pills */
.hero-v2-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(6px);
}
.hero-v2-pill svg { color: var(--gold-light); flex-shrink: 0; }

/* Floating stat cards column */
.hero-v2-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.5rem;
}
.hero-v2-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.hero-v2-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}
.hero-v2-card--accent {
  background: rgba(181,137,58,0.2);
  border-color: rgba(181,137,58,0.4);
}
.hero-v2-card-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-v2-card-num span {
  font-size: 1.6rem;
}
.hero-v2-card--accent .hero-v2-card-num { color: var(--gold-light); }
.hero-v2-card-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.hero-v2-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Scroll indicator */
.hero-v2-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-v2-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   ABOUT STORY SECTION
   ============================================================ */
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.story-img:hover img {
  transform: scale(1.03);
}

/* ============================================================
   GOOGLE REVIEWS BLOCK
   ============================================================ */
.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 0.6rem 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.reviews-rating-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.reviews-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.reviews-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

/* ============================================================
   WHY TRUST SECTION (Homepage)
   ============================================================ */
.why-trust-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 5rem;
  align-items: center;
}

.why-trust-img-wrap {
  position: relative;
  padding-bottom: 2rem;
}

.why-trust-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

.why-trust-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.why-trust-img:hover img {
  transform: scale(1.03);
}

/* Pull quote */
.why-trust-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--forest-mid);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works {
  background: var(--cream);
}

/* ============================================================
   PAGE HERO CONTACT VARIANT
   ============================================================ */
.page-hero-contact {
  background: var(--forest);
  background-image: radial-gradient(ellipse at 60% 40%, rgba(42,96,64,0.5) 0%, transparent 65%);
  padding: 5rem 0;
  text-align: center;
}

.page-hero-contact h1 {
  color: #fff;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-hero-contact p {
  color: rgba(255,255,255,0.65);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.page-hero-phone {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.page-hero-phone:hover {
  color: #fff;
}

/* ============================================================
   FEATURE LIST (inline icons)
   ============================================================ */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.icon-list-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   RESPONSIVE COMPONENTS — 900px
   ============================================================ */
@media (max-width: 900px) {
  .services-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-v2-body {
    grid-template-columns: 1fr;
    padding-bottom: 4rem;
    gap: 2rem;
  }
  .hero-v2-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-v2-card {
    flex: 1;
    min-width: 120px;
  }
  .hero-v2-scroll { display: none; }

  .why-trust-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-img {
    aspect-ratio: 16/9;
  }
}

/* ============================================================
   RESPONSIVE COMPONENTS — 640px
   ============================================================ */
@media (max-width: 640px) {
  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .service-inner {
    grid-template-columns: 1fr;
  }

  .story-inner {
    grid-template-columns: 1fr;
  }

  .hero-v2-body {
    padding: 6rem 1.25rem 3rem;
  }
  .hero-v2-headline {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  .hero-v2-cta {
    flex-direction: column;
  }
  .hero-v2-btn-primary,
  .hero-v2-btn-ghost {
    justify-content: center;
  }
  .hero-v2-cards {
    gap: 0.75rem;
  }
  .hero-v2-card {
    padding: 1rem 1.2rem;
  }

  .reviews-header {
    padding: 0 1rem;
  }
}
