/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Ensure text is readable on all backgrounds */
.text-navy-900 {
    color: #0f1d32;
}

.text-navy-800 {
    color: #1e3a5f;
}

.bg-navy-900 {
    background-color: #0f1d32;
}

.bg-navy-800 {
    background-color: #1e3a5f;
}

.bg-navy-100 {
    background-color: #d9e2ec;
}

.bg-gold-400 {
    background-color: #fbbf24;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f1d32;
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\:scale-110 {
        transform: none;
    }
}
