/* Custom styles and overrides */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2a5c2a;
}

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

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

/* Input focus effects */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

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

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(9, 19, 9, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 70, 31, 0.5);
}

/* Loading animation for form */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}
