/* Nilesh Spa - Custom Editorial Utilities & Animations */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
  background-color: #f8f4ec;
  color: #1c231f;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: "Cormorant Garamond", "Noto Sans Devanagari", Georgia, serif;
}

/* Subtle paper/linen grain texture */
.bg-linen-pattern {
  background-image: radial-gradient(rgba(23, 43, 34, 0.045) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Smooth reveal animation */
.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ smooth accordion */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq-item[data-open="true"] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item[data-open="true"] .faq-chevron {
  transform: rotate(180deg);
}

/* WhatsApp floating pulse */
@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.45), 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  70% {
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.45), 0 0 0 12px rgba(34, 197, 94, 0);
  }
}

.whatsapp-fab {
  animation: softPulse 2.8s infinite;
}
