/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --font-serif: 'Montserrat', sans-serif;
  --font-sans: 'Inter', sans-serif;
}

body {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 245, 249, 0.9);
}

/* SPA Navigation Transition Animations */
.spa-section {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.spa-section.active {
  display: block;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Accordion Smooth Height Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 500px; /* high enough to contain content */
}

/* Custom Calendar Slot Selector */
.calendar-day.selected {
  background-color: #059669; /* Emerald 600 */
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.4);
}

.calendar-day:not(.empty):not(.disabled):hover {
  background-color: #e2e8f0;
}

.time-slot.selected {
  background-color: #0d9488; /* Teal 600 */
  color: white;
  border-color: #0d9488;
}

/* Testimonial Active Dot Styling */
.dot.active {
  background-color: #059669; /* Emerald 600 */
  width: 1.5rem;
}

/* Admin Dashboard Utilities */
.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
  animation: fadeInUp 0.4s ease-out forwards;
}

.sidebar-link.active {
  background-color: rgba(5, 150, 105, 0.08); /* Emerald 50/8% */
  color: #047857; /* Emerald 700 */
  border-left: 4px solid #059669; /* Emerald 600 */
}

/* Stock Progress indicator colors */
.stock-bar-green {
  background-color: #10b981;
}

.stock-bar-orange {
  background-color: #f59e0b;
}

.stock-bar-red {
  background-color: #ef4444;
}

