/* Custom styles that complement Tailwind CSS */

/* Smooth scrolling is handled by html { scroll-behavior: smooth; } */

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Ensure all text has proper contrast */
.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply float animation to stat cards */
.stat-card {
    animation: float 3s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .fade-in-up {
        opacity: 1;
    }
    
    .fade-in-up-delay-1,
    .fade-in-up-delay-2,
    .fade-in-up-delay-3 {
        animation-delay: 0s;
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu {
        display: none !important;
    }
    
    .hero-gradient {
        min-height: auto;
        background: #0a1628 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

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

/* Reduced motion preference */
@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;
    }
}
