/* Custom styles complementing Tailwind */

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

/* Navbar scroll state */
nav.scrolled {
  background: rgba(254, 252, 248, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(126, 34, 206, 0.08);
}

nav.scrolled .navbar-logo {
  color: #7e22ce;
}

/* Smooth focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

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

/* Selection color */
::selection {
  background: #e9d5ff;
  color: #581c87;
}

/* Button hover glow */
button:hover,
a:hover {
  cursor: pointer;
}

/* Image lazy loading fade */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}
