/* Custom styles for LibertyX Bitcoin ATM */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* Mobile menu link styles */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(45, 106, 100, 0.2);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom selection color */
::selection {
    background-color: rgba(13, 116, 110, 0.3);
    color: inherit;
}

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

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

/* Subtle hover effects on cards */
.group:hover .group-hover\\:bg-teal-600 {
    background-color: #0d5f5a;
}

/* Ensure text contrast on all backgrounds */
.text-teal-400 {
    color: #5eead4;
}

.text-teal-700 {
    color: #0f766e;
}

.text-slate-400 {
    color: #94a3b8;
}

.text-slate-500 {
    color: #64748b;
}
