/* ============================================
   Wagging Mama – Custom Styles
   Brand colours: Sage #7A9E7E | Pink #E8889A | Cream #FAF7F4
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Dancing+Script:wght@600;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #FAF7F4;
  color: #2D2D2D;
  overflow-x: hidden;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF7F4; }
::-webkit-scrollbar-thumb { background: #7A9E7E; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5c8060; }

/* ---------- Typography ---------- */
.font-playfair { font-family: 'Playfair Display', serif; }
.font-dancing  { font-family: 'Dancing Script', cursive; }
.font-inter    { font-family: 'Inter', sans-serif; }

/* ---------- Brand colours (CSS vars) ---------- */
:root {
  --sage:       #7A9E7E;
  --sage-dark:  #5c8060;
  --sage-light: #A8C5AB;
  --sage-pale:  #E8F0E9;
  --pink:       #E8889A;
  --pink-dark:  #c96a7d;
  --pink-light: #F2AABA;
  --pink-pale:  #FDEEF1;
  --cream:      #FAF7F4;
  --cream-dark: #F0EBE5;
  --charcoal:   #2D2D2D;
  --mid:        #6B6B6B;
}

/* ---------- Navigation ---------- */
#navbar {
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(250, 247, 244, 0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #2D2D2D;
  transition: color 0.25s;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--pink); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--sage-dark); }
.nav-link.active::after { width: 100%; background: var(--sage); }

/* Mobile menu */
#mobile-menu {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  overflow: hidden;
}
#mobile-menu.open { max-height: 400px; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid var(--pink);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(232, 136, 154, 0.35);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 136, 154, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid var(--sage);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--sage);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 158, 126, 0.35);
}

.btn-outline-pink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid var(--pink);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline-pink:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(122,158,126,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232,136,154,0.10) 0%, transparent 40%);
  pointer-events: none;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ---------- Section titles ---------- */
.section-label {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: var(--pink);
  display: block;
  margin-bottom: 0.25rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--sage));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.section-divider.centered { margin: 1rem auto 1.5rem; }

/* ---------- Feature list ---------- */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.feature-dot {
  width: 22px; height: 22px; min-width: 22px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-dot svg { width: 12px; height: 12px; fill: var(--sage-dark); }

/* ---------- Pricing Cards ---------- */
.price-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.price-card > .btn-primary,
.price-card > .btn-secondary {
  margin-top: auto;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
}
.price-card.featured {
  border-color: var(--pink-light);
  background: linear-gradient(160deg, #fff 0%, var(--pink-pale) 100%);
  transform: scale(1.03);
}
.price-card.featured::before {
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.12);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.price-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--sage-light);
  position: absolute;
  top: -10px; left: 1.25rem;
  line-height: 1;
  opacity: 0.6;
}
.star { color: #F4A261; font-size: 1.1rem; }

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(122,158,126,0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- Contact Form ---------- */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--charcoal);
  transition: all 0.25s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(122,158,126,0.12);
}
.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ---------- Footer ---------- */
.footer-link {
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-link:hover { color: var(--pink-light); }

/* ---------- Paw print decoration ---------- */
.paw-decoration {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  font-size: 4rem;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50%       { transform: rotate(3deg); }
}
@keyframes pawPrint {
  0%   { opacity: 0; transform: scale(0.5) rotate(-20deg); }
  60%  { opacity: 0.15; }
  100% { opacity: 0; transform: scale(1.5) rotate(10deg); }
}

.animate-fade-up   { animation: fadeUp 0.7s ease forwards; }
.animate-fade-in   { animation: fadeIn 0.6s ease forwards; }
.animate-float     { animation: float 3.5s ease-in-out infinite; }
.animate-wiggle    { animation: wiggle 2s ease-in-out infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Scroll reveal – starts visible; JS adds .js-reveal to enable animation */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-reveal .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Paw separator ---------- */
.paw-sep {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
  color: var(--pink-light);
  font-size: 1.1rem;
}
.paw-sep::before, .paw-sep::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink-light));
}
.paw-sep::after {
  background: linear-gradient(90deg, var(--pink-light), transparent);
}

/* ---------- Hero image frame ---------- */
.hero-img-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  box-shadow: inset 0 0 0 3px rgba(232,136,154,0.3);
  pointer-events: none;
}

.pink-border-frame {
  position: relative;
  overflow: hidden;
}
.pink-border-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px rgba(232,136,154,0.3);
  pointer-events: none;
}

.styled-map {
  filter: grayscale(40%) sepia(30%) hue-rotate(80deg) saturate(80%) contrast(90%) brightness(95%);
  border: 0;
  transition: filter 0.4s ease;
}
.styled-map:hover {
  filter: none;
}

/* ---------- Stat boxes ---------- */
.stat-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border-bottom: 3px solid var(--sage);
}

/* ---------- Hero badge ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(122,158,126,0.12);
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(122,158,126,0.3);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 768px) {
  .price-card.featured { transform: scale(1); }
  .price-card.featured:hover { transform: translateY(-6px); }
}
