/*
Theme Name: Chinese Herbal Clinic Theme
Theme URI: https://example.com/chinese-herbal-clinic
Author: Antigravity AI
Author URI: https://example.com
Description: A premium, highly-polished WordPress theme for traditional Chinese medicine clinics. Replicates the custom Chinese Herbal Clinic design with modern Tailwind styling, animations, and typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chinese-herbal-clinic
Tags: custom-menu, featured-images, translation-ready, wellness, medical, responsive

This theme is designed to work with Tailwind CSS loaded via CDN or built stylesheet.
*/

:root {
  /* Warm cream background — "parchment apothecary" */
  --background: 40 33% 97%;
  --foreground: 152 18% 10%;
  --border: 40 20% 88%;
  --input: 40 20% 88%;
  --ring: 152 43% 20%;
  --card: 0 0% 100%;
  --card-foreground: 152 18% 10%;
  --card-border: 40 20% 90%;
  --primary: 152 43% 20%;
  --primary-foreground: 40 33% 97%;
  --secondary: 42 54% 54%;
  --secondary-foreground: 152 18% 10%;
  --muted: 40 22% 94%;
  --muted-foreground: 152 8% 46%;
  --accent: 152 32% 28%;
  --accent-foreground: 40 33% 97%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
}

/* Base custom classes to match original site */
body {
  background-color: hsl(40 33% 97%);
  color: hsl(152 18% 10%);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
}

.text-gold { color: hsl(42 54% 54%); }
.bg-gold { background-color: hsl(42 54% 54%); }
.border-gold { border-color: hsl(42 54% 54%); }

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: hsl(40 22% 94%);
}
::-webkit-scrollbar-thumb {
  background: hsl(152 43% 20%);
  border-radius: 3px;
}

/* Scroll reveal helper classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.animate-fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes for staggered animations */
.delay-0 { transition-delay: 0ms; }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom keyframe animations for hero */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}
