/* Custom styles that extend Tailwind */

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

/* Ensure navbar contrast on light sections */
.nav-light {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(91, 44, 111, 0.08);
}

.nav-light .nav-link {
  color: #5B2C6F;
}

.nav-light .nav-link:hover {
  color: #F59E0B;
}

/* Navbar on hero (dark) */
.nav-dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav-dark .nav-link:hover {
  color: #FCD34D;
}

.nav-dark .logo-text {
  color: #F59E0B;
}

/* Selection color */
::selection {
  background: #F59E0B;
  color: #281330;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F5F0F7;
}

::-webkit-scrollbar-thumb {
  background: #C19FD0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A670BC;
}

/* Reduced motion preference */
@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;
  }
}

/* Print styles */
@media print {
  header, footer, #back-to-top, .reveal {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
