/* Custom overrides and enhancements */

/* Smooth focus styles */
*:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fefdf8;
}
::-webkit-scrollbar-thumb {
  background: #059669;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Selection color */
::selection {
  background-color: #059669;
  color: #fefdf8;
}

/* Navbar height fix for fixed positioning */
#navbar {
  height: 72px;
}

/* Ensure hero doesn't get hidden behind fixed nav */
#hero {
  padding-top: 0;
}

/* Mobile menu transitions */
#mobile-menu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#menu-overlay {
  transition: opacity 0.3s ease;
}
#menu-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
#menu-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: all;
}

/* Ensure select dropdown styling */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
