/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
}

/* Navbar transition */
nav.scrolled {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 60, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Gold shimmer on hover for buttons */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #a02222, #d4a03c);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #c43636, #e8c060);
}

/* Selection color */
::selection {
    background-color: rgba(160, 34, 34, 0.6);
    color: #f5d68a;
}

/* Image loading placeholder */
img {
    background-color: #1a1a1a;
}

/* Subtle glow effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 160, 60, 0.15);
}

.glow-burgundy {
    box-shadow: 0 0 40px rgba(160, 34, 34, 0.2);
}

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

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

/* Card hover lift */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a03c;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}
