/* ============================================
   WRIGLEY'S PET SPAW — The Pet Glam Studio
   Handcrafted by LeadScout Beast
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --purple: #6B2D8B;
  --purple-dark: #4A1D62;
  --purple-deeper: #2E1140;
  --gold: #D4AF6D;
  --gold-light: #E8CFA0;
  --cream: #FAF6F0;
  --charcoal: #2B2B2B;
  --blush: #E8C4C4;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 30px rgba(212,175,109,0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* === UTILITY === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--charcoal);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-dark {
  background: var(--purple);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--purple-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Shimmer animation for gold buttons */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(46, 17, 64, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .paw {
  font-size: 1.2rem;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  display: none;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(46, 17, 64, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-deeper);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* Spotlight / gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(107,45,139,0.2) 0%, rgba(46,17,64,0.85) 70%),
    linear-gradient(180deg, rgba(46,17,64,0.3) 0%, rgba(46,17,64,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.hero-content .section-label {
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-content h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero entrance animation */
.hero-content .section-label,
.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-content .section-label { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-content .hero-subtitle { animation-delay: 0.5s; }
.hero-content .hero-buttons { animation-delay: 0.7s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating paw prints (CSS only) */
.paw-float {
  position: absolute;
  z-index: 2;
  font-size: 2rem;
  opacity: 0.08;
  color: var(--gold);
  pointer-events: none;
}

.paw-float:nth-child(1) { top: 15%; left: 8%; font-size: 3rem; transform: rotate(-20deg); }
.paw-float:nth-child(2) { top: 70%; right: 10%; font-size: 2.5rem; transform: rotate(15deg); }
.paw-float:nth-child(3) { bottom: 20%; left: 15%; font-size: 1.8rem; transform: rotate(-35deg); }

/* === STATS BAR === */
.stats-bar {
  background: var(--purple);
  padding: 1.5rem 0;
  text-align: center;
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

.stat-item {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  white-space: nowrap;
}

.stat-item .gold {
  color: var(--gold);
}

.stat-divider {
  color: var(--gold);
  opacity: 0.5;
  font-size: 1.5rem;
}

/* === SVG WAVE DIVIDER === */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
}

.wave-divider-flip {
  transform: scaleY(-1);
}

/* === SERVICES SECTION === */
.services {
  padding: 5rem 0;
  background: var(--cream);
}

.services .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services .section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: #666;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.service-price {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

/* === FEATURED TESTIMONIAL === */
.featured-testimonial {
  background: var(--purple-deeper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.featured-testimonial .paw-float {
  opacity: 0.05;
  color: var(--gold);
}

.testimonial-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: -2rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-top: 0.5rem;
}

/* === GALLERY === */
.gallery {
  padding: 5rem 0;
  background: var(--white);
}

.gallery .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.gallery .section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(46,17,64,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
}

/* Large feature card */
.gallery-item.featured {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* === MORE TESTIMONIALS === */
.testimonials {
  padding: 5rem 0;
  background: var(--cream);
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--purple);
  font-size: 0.95rem;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* === ABOUT / TEAM === */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1rem;
}

.about-features {
  list-style: none;
  margin: 1.5rem 0;
}

.about-features li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  color: #555;
}

.about-features li::before {
  content: '🐾';
  position: absolute;
  left: 0;
  top: 0.5rem;
}

/* === HOURS & LOCATION === */
.location {
  padding: 5rem 0;
  background: var(--purple-deeper);
  color: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.location-info h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 109, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.location-detail h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.location-detail p,
.location-detail a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.location-detail a:hover {
  color: var(--gold);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
}

.hours-grid .day {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.hours-grid .time {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.hours-grid .closed {
  color: var(--blush);
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 300px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

/* === CTA SECTION === */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,109,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  font-size: 1.1rem;
  padding: 1.1rem 2.8rem;
}

/* === FOOTER === */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p,
.footer-contact a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* === FLOATING CTA === */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  transition: all var(--transition);
}

.floating-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-cta .btn {
  box-shadow: 0 4px 20px rgba(107, 45, 139, 0.4);
  padding: 0.9rem 1.8rem;
}

/* === PAWS DECORATION (CSS only) === */
.paw-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* === prefers-reduced-motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-content .section-label,
  .hero-content h1,
  .hero-content .hero-subtitle,
  .hero-content .hero-buttons {
    opacity: 1;
    transform: none;
  }

  .btn-shimmer::after {
    animation: none;
  }

  .btn-primary::before {
    display: none;
  }
}

/* === RESPONSIVE: 480px+ === */
@media (min-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* === RESPONSIVE: 768px+ === */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .mobile-toggle {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

/* === RESPONSIVE: 1024px+ === */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === RESPONSIVE: 1200px+ === */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}
