/* =====================================================
   Vaid Raj Shree Chotelal Shyam Sunder Ayurved Kendra
   Custom Styles — Supplements Tailwind CSS
   ===================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600&family=Tiro+Devanagari+Sanskrit&display=swap');

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #FFFBF5;
  color: #1C1917;
}

/* --- Typography --- */
.font-heading {
  font-family: 'Cormorant Garamond', serif;
}

.font-devanagari {
  font-family: 'Tiro Devanagari Sanskrit', serif;
}

/* --- Navigation --- */
#main-nav {
  transition: all 0.3s ease;
}

#main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #D97706;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* --- Hero Section --- */
.hero-bg {
  background: linear-gradient(135deg, #0D3B23 0%, #1B5E3B 40%, #2D7A52 70%, #1B5E3B 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 0C17.9 0 0 17.9 0 40s17.9 40 40 40 40-17.9 40-40S62.1 0 40 0zm0 70c-16.5 0-30-13.5-30-30S23.5 10 40 10s30 13.5 30 30-13.5 30-30 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-mandala {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.06;
}

/* --- Ornamental Divider --- */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #D97706);
}

.ornament-divider::after {
  background: linear-gradient(to left, transparent, #D97706);
}

/* --- Section Labels --- */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D97706;
}

/* --- Cards --- */
.expertise-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27, 94, 59, 0.12);
}

.treatment-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid transparent;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-left-color: #1B5E3B;
}

/* --- Stats Counter --- */
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1;
}

/* --- Gallery --- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 59, 35, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

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

/* --- Location Cards --- */
.location-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* --- Map Iframe --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 36px rgba(37, 211, 102, 0.7); }
}

/* --- Mobile Menu --- */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

#mobile-menu.open {
  max-height: 600px;
  opacity: 1;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Practitioner Cards --- */
.practitioner-card {
  background: linear-gradient(135deg, #E8F5EE 0%, #FEF8F0 100%);
  border: 1px solid rgba(27, 94, 59, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

/* --- Tab Buttons (Treatments) --- */
.tab-btn {
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: #1B5E3B;
  color: white;
  box-shadow: 0 4px 12px rgba(27, 94, 59, 0.3);
}

/* --- Hero CTA Buttons --- */
.cta-primary {
  background-color: #D97706;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.cta-primary:hover {
  background-color: #B45309;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.cta-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.cta-whatsapp:hover {
  background-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.cta-outline {
  background-color: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.cta-outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* --- Why Choose Us Feature List --- */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-item:last-child {
  border-bottom: none;
}

/* --- Map Iframe --- */
.map-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* --- WhatsApp Float Button --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #1B5E3B;
  color: white;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Print Styles */
@media print {
  .no-print { display: none !important; }
  body { background: white; }
}
