/* Custom styles that extend Tailwind */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Gold gradient utility */
.gold-gradient {
    background: linear-gradient(135deg, #e5b22e 0%, #d49a1a 50%, #b87f14 100%);
}

/* Gold text gradient */
.gold-text {
    background: linear-gradient(135deg, #f4dc80 0%, #e5b22e 50%, #d49a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card glow effect */
.card-glow {
    box-shadow: 0 0 40px rgba(212, 154, 26, 0.08), 0 4px 30px rgba(0, 0, 0, 0.4);
}

.card-glow-hover:hover {
    box-shadow: 0 0 60px rgba(212, 154, 26, 0.15), 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Navbar blur */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(160deg, rgba(2, 10, 24, 0.85) 0%, rgba(5, 19, 41, 0.7) 50%, rgba(2, 10, 24, 0.9) 100%);
}

/* Stat card styles */
.stat-card {
    background: rgba(5, 19, 41, 0.8);
    border: 1px solid rgba(212, 154, 26, 0.2);
}

/* Section divider */
.section-divider {
    background: linear-gradient(90deg, transparent, rgba(212, 154, 26, 0.3), transparent);
    height: 1px;
}

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

::-webkit-scrollbar-track {
    background: #020a18;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b87f14, #8a5f10);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d49a1a, #b87f14);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

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

@keyframes float-delay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.float-1 { animation: float 4s ease-in-out infinite; }
.float-2 { animation: float-delay 5s ease-in-out infinite; }
.float-3 { animation: float 4.5s ease-in-out infinite; }

/* Smoke particle animation */
@keyframes smoke-rise {
    0% { opacity: 0; transform: translateY(20px) scale(0.8); }
    50% { opacity: 0.03; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.2); }
}

.smoke-particle {
    animation: smoke-rise 6s ease-out infinite;
}

.smoke-particle:nth-child(2) { animation-delay: 2s; animation-duration: 7s; }
.smoke-particle:nth-child(3) { animation-delay: 4s; animation-duration: 5s; }

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .float-1, .float-2, .float-3 {
        animation: none;
    }
    
    .smoke-particle {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e5b22e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}
