/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    /* Fallback colors handled by Tailwind */
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

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

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* Scroll Reveal Utility Classes */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1; /* Default visible for accessibility, JS enhances */
    transition: all 0.8s ease-out;
}

/* If JS fails, content remains visible. If JS runs, we add classes to hide first */
.js-enabled .reveal-up { opacity: 0; transform: translateY(30px); }
.js-enabled .reveal-left { opacity: 0; transform: translateX(-30px); }
.js-enabled .reveal-right { opacity: 0; transform: translateX(30px); }

.js-enabled .reveal-up.visible,
.js-enabled .reveal-left.visible,
.js-enabled .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Gold Gradient Text (Optional utility if needed) */
.text-gold-gradient {
    background: linear-gradient(to right, #d4af37, #f3e5ab, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Form Focus Styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

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

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

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

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