/* Monsters Ink Tattoo — Custom Styles */

/* Base */
*, *::before, *::after { box-sizing: border-box; }

/* Scroll reveal base — always visible by default for accessibility */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal animation — only active when JS enables it */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Smooth focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #c9982e;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb { background: #152d56; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c9982e; }

/* Selection color */
::selection { background: rgba(201, 152, 46, 0.3); color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-reveal { transition: none; }
    .scroll-reveal.revealed { transition: none; }
    img, .group img { transition: none; }
}

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

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

/* Gold accent shimmer on hover for cards */
.group:hover .bg-gold-500\/10 {
    background-color: rgba(201, 152, 46, 0.15);
}
