/* Base & utilities */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(168, 93, 120, 0.08);
}

.nav-text {
  color: #663040;
}

#navbar:not(.scrolled) .nav-text {
  color: #532834;
}

.nav-link {
  color: #663040;
}

#navbar:not(.scrolled) .nav-link {
  color: #532834;
}

/* Mobile menu */
.mobile-nav-link {
  color: #663040;
}

#navbar:not(.scrolled) .mobile-nav-link {
  color: #532834;
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

/* Selection color */
::selection {
  background: #e8cdd9;
  color: #532834;
}
