/* ========================================================
   LuvLife Care — Master Stylesheet (style.css)
   Colors:
     Teal: #2A7985 | Dark Teal: #1A545D | Light Teal: #F0F8F9
     Coral: #E9736A | Dark Coral: #CF5A51 | Light Coral: #FFF5F4
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Base Setup */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #F8FBFC;
  scroll-behavior: smooth;
  color: #1E293B;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.font-serif-quote {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Glow Effects */
.coral-glow {
  box-shadow: 0 10px 30px -5px rgba(233, 115, 106, 0.4);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.coral-glow:hover {
  box-shadow: 0 15px 35px -5px rgba(233, 115, 106, 0.6);
  transform: translateY(-2px);
}

.teal-glow {
  box-shadow: 0 10px 30px -5px rgba(42, 121, 133, 0.35);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.teal-glow:hover {
  box-shadow: 0 15px 35px -5px rgba(42, 121, 133, 0.55);
}

/* Interactive 3D Service Cards Hover */
.service-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(42, 121, 133, 0.18);
}

/* Floating Animations */
.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}
.animate-float-delayed {
  animation: floatSlow 7s ease-in-out 2s infinite;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulsing Badge / Notification */
.pulse-soft {
  animation: pulseSoft 2.5s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.96);
    opacity: 0.85;
  }
}

/* Floating Action Button Ripple Wave */
.ripple-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  animation: rippleWave 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

@keyframes rippleWave {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* SPA Page Fade-In Transition */
.page-fade {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-Reveal Animation Helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cart Badge Pop Animation */
.badge-pop {
  animation: badgePop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Sleek Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
