/* Custom styles for The Gold Pan Records */

/* Smooth focus outlines */
a:focus-visible, button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #faf5ff;
}

/* Body base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(26, 10, 46, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(126, 34, 206, 0.2);
}

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

/* Button ripple-like glow */
a:hover {
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Image lazy load fade */
img[loading="lazy"] {
    transition: opacity 0.5s ease;
}

/* Subtle card hover lift */
.group:hover {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Ensure hero is visible without JS */
#hero {
    opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .floating-card, .floating-card-delay, .floating-card-delay2 {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .reveal {
        transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
                    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
}
