/* Custom styles for LibertyX Bitcoin ATM */

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

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

/* Scroll reveal with JS enhancement */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* For reduced motion preference, keep everything visible */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 13, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 86, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #1a3454;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: rgba(200, 164, 86, 0.3);
    color: #f9ecbd;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Subtle shimmer on gold elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Pulse animation for the location pin */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(200, 164, 86, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(200, 164, 86, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 164, 86, 0); }
}

.animate-pulse-ring {
    animation: pulse-ring 2s infinite;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c8a456;
    outline-offset: 2px;
}

/* Card hover effects */
.group:hover .group-hover\\:shadow-gold-500\\/40 {
    box-shadow: 0 20px 40px rgba(200, 164, 86, 0.15);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #0f1f36 0%, #152a45 100%);
}
