/* Custom styles that complement Tailwind */
html {
  scroll-padding-top: 80px;
}

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

/* Ensure all text has proper contrast */
.text-midnight-100 { color: #d9e2ec; }
.text-midnight-200 { color: #bcccdc; }
.text-midnight-300 { color: #9fb3cc; }
.text-midnight-400 { color: #829abc; }
.text-midnight-500 { color: #627d98; }

/* Selection color */
::selection {
  background-color: #22c55e;
  color: #0f1d2e;
}

/* Smooth focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 24, 0.7);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}
</style>
