/* Custom styles for Main Studio */

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

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* For browsers that support prefers-reduced-motion, disable animations */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Navbar transition */
#navbar.scrolled {
    background-color: rgba(6, 13, 31, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 162, 78, 0.1);
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060d1f;
}
::-webkit-scrollbar-thumb {
    background: #152d56;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8a24e;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a1628 inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Image loading placeholder */
img {
    background-color: #0f2140;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c8a24e;
    outline-offset: 2px;
}

/* Mobile menu link styles */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .mobile-link {
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
}
