/* Additional custom styles beyond Tailwind */

/* Ensure smooth rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #c9972e;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a843;
}

/* Selection color */
::selection {
    background: rgba(201, 151, 46, 0.2);
    color: #0a1628;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.4) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* Select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a1628' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 1px solid #c9972e;
    outline-offset: 2px;
}

/* Nav transition states */
.nav-scrolled {
    background: rgba(7, 16, 36, 0.95);
    box-shadow: 0 1px 0 rgba(201, 151, 46, 0.1);
}

/* Mobile menu link hover */
.mobile-link:hover {
    color: #d4a843;
}

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #0f2240 0%, #142d54 100%);
}

/* Subtle card hover */
.group:hover .group-hover\:text-gold-400 {
    color: #d4a843;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
