/* ------------------------------------------------
   Tailwind Directives
   ------------------------------------------------ */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ------------------------------------------------
   Global Base Styles
   ------------------------------------------------ */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #050505; /* Deep dark background matching the dark theme */
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ------------------------------------------------
   Accessibility
   ------------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #3b82f6; /* Tailwind blue-500 */
  outline-offset: 3px;
}

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

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

::-webkit-scrollbar-thumb {
  background: #0B3D91; /* Your Primary Deep Blue */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b82f6; /* Accent blue on hover */
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #0B3D91 #050505;
}

/* ------------------------------------------------
   Utility Classes (Not handled by default Tailwind)
   ------------------------------------------------ */

/* Glassmorphism for the fixed navigation bar */
.glass {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Optional: Subtly hide scrollbar on the mobile menu if it gets too long */
#mobile-menu {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#mobile-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}