/* Custom styles that complement Tailwind */
:root {
  --plum-950: #3b0764;
  --plum-800: #6b21a8;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ff;
}
::-webkit-scrollbar-thumb {
  background: #d8b4fe;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* Navbar scrolled state */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(88, 28, 135, 0.1);
}

.nav-scrolled .nav-link {
  color: #6b21a8 !important;
}

.nav-scrolled .font-serif {
  color: #3b0764 !important;
}

.nav-scrolled #menu-btn {
  background: #f3e8ff;
}

.nav-scrolled #menu-icon-open line {
  stroke: #6b21a8;
}

/* Ensure hero cards are visible on all screen sizes */
@media (max-width: 639px) {
  .float-card-1,
  .float-card-2,
  .float-card-3 {
    animation: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
