body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e293b; /* slate-800 */
}
::-webkit-scrollbar-thumb {
  background: #4f46e5; /* indigo-600 */
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6366f1; /* indigo-500 */
}

/* Navbar Active Link Styling */
.nav-link.active-link-home {
  background-color: rgba(255, 255, 255, 0.2); /* bg-white/20 */
  color: white;
}
.nav-link.active-link-page {
  background-color: #4f46e5; /* bg-indigo-600 */
  color: white;
}

.mobile-nav-link.active-link-page {
  background-color: #4f46e5; /* bg-indigo-600 */
  color: white;
}
.mobile-nav-link:not(.active-link-page) {
  color: #cbd5e1; /* text-slate-300 */
}
.mobile-nav-link:not(.active-link-page):hover {
  background-color: #334155; /* hover:bg-slate-700 */
  color: white; /* hover:text-white */
}

/* Sticky Navbar Background Change on Scroll */
nav.scrolled {
  background-color: #0f172a !important; /* bg-slate-900 */
  color: #e2e8f0 !important; /* text-slate-200 */
  position: fixed; /* Ensure it stays sticky */
  width: 100%;
  transition: background-color 0.3s ease-in-out;
}

nav.scrolled #notifications-button,
nav.scrolled #user-profile-link {
    color: #94a3b8; /* text-slate-400 */
}
nav.scrolled #notifications-button:hover,
nav.scrolled #user-profile-link:hover {
    background-color: #334155; /* hover:bg-slate-700 */
    color: #f1f5f9; /* hover:text-slate-100 */
}

nav.scrolled .nav-link:not(.active-link-page) {
    color: #cbd5e1; /* text-slate-300 */
}

nav.scrolled .nav-link:not(.active-link-page):hover {
    background-color: #334155; /* hover:bg-slate-700 */
    color: white; /* hover:text-white */
}

nav.scrolled #inscribete-home-btn {
    /* This button is hidden on scroll if it was the home page version */
    /* Or adjust if it should always be visible and change style */
}

/* Ensure Playfair Display is applied correctly if needed beyond Tailwind */
.font-playfair {
  font-family: 'Playfair Display', serif;
}
