/* Body & Mind Spa — shared custom styles (Tailwind handles utility classes) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --spa-forest: #3f5a44;
  --spa-sage: #7c9473;
  --spa-sage-light: #a9bf9c;
  --spa-cream: #f8f4ec;
  --spa-sand: #efe6d5;
  --spa-gold: #c9a463;
  --spa-dark: #26332a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--spa-cream);
  color: var(--spa-dark);
}

.font-serif-spa { font-family: 'Cormorant Garamond', serif; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--spa-sand); }
::-webkit-scrollbar-thumb { background: var(--spa-sage); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--spa-forest); }

/* Fade / slide animations for Alpine transitions */
.hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,51,42,0.55) 0%, rgba(38,51,42,0.75) 100%);
}

.pulse-dot {
  box-shadow: 0 0 0 0 rgba(201, 164, 99, 0.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(201, 164, 99, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(201, 164, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 164, 99, 0); }
}

.bounce-slow { animation: bounce-slow 3s ease-in-out infinite; }
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-btn {
  box-shadow: 0 8px 24px rgba(38,51,42,0.35);
}

.card-hover {
  transition: transform .35s ease, box-shadow .35s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(38,51,42,0.25);
}

[x-cloak] { display: none !important; }

/* Service icons (inline SVG sprite from main.js) */
.spa-icon {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--spa-forest);
  transition: color .3s ease, transform .3s ease;
}
.card-hover:hover .spa-icon {
  color: var(--spa-gold);
  transform: scale(1.08);
}
