/* Custom styles and animations */

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

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

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

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Hover effects for interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* 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;
    }
}

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

/* Ensure proper contrast for all text */
.text-off-white {
    color: #f8fafc;
}

.text-off-white\/70 {
    color: rgba(248, 250, 252, 0.7);
}

.text-off-white\/60 {
    color: rgba(248, 250, 252, 0.6);
}

.text-off-white\/50 {
    color: rgba(248, 250, 252, 0.5);
}

.text-off-white\/40 {
    color: rgba(248, 250, 252, 0.4);
}

.text-off-white\/30 {
    color: rgba(248, 250, 252, 0.3);
}

/* Gold color utilities */
.text-gold-400 {
    color: #fbbf24;
}

.text-gold-300 {
    color: #fcd34d;
}

.text-gold-500 {
    color: #f59e0b;
}

/* Background utilities */
.bg-forest-900 {
    background-color: #022c22;
}

.bg-forest-800 {
    background-color: #064e3b;
}

.bg-forest-800\/30 {
    background-color: rgba(6, 78, 59, 0.3);
}

.bg-forest-800\/50 {
    background-color: rgba(6, 78, 59, 0.5);
}

/* Border utilities */
.border-gold-600\/20 {
    border-color: rgba(217, 119, 6, 0.2);
}

.border-gold-600\/30 {
    border-color: rgba(217, 119, 6, 0.3);
}

.border-gold-500\/60 {
    border-color: rgba(245, 158, 11, 0.6);
}

/* Shadow utilities */
.shadow-gold-500\/20 {
    box-shadow: 0 10px 40px -10px rgba(245, 158, 11, 0.2);
}
