/* Custom styles that complement Tailwind CSS */

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #243b53;
}

/* Selection color */
::selection {
    background: #d97706;
    color: white;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .card-hover,
    .img-zoom img,
    .nav-link::after,
    .btn-primary,
    .btn-outline {
        transition: none;
    }
    
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

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

/* Ensure proper contrast for all text elements */
.text-navy-900 { color: #102a43; }
.text-navy-800 { color: #243b53; }
.text-navy-700 { color: #334e68; }
.text-navy-600 { color: #486581; }
.text-navy-500 { color: #627d98; }
.text-navy-400 { color: #829ab5; }
.text-navy-300 { color: #9fb3c8; }
.text-navy-200 { color: #bcccdc; }
.text-navy-100 { color: #d9e2ec; }
.text-navy-50 { color: #f0f4f8; }

.text-gold-900 { color: #78350f; }
.text-gold-800 { color: #92400e; }
.text-gold-700 { color: #b45309; }
.text-gold-600 { color: #d97706; }
.text-gold-500 { color: #f59e0b; }
.text-gold-400 { color: #fde047; }
.text-gold-300 { color: #fef08a; }
.text-gold-200 { color: #fef9c3; }
.text-gold-100 { color: #fefce8; }
.text-gold-50 { color: #fefce8; }
