/* Custom styles for LibertyX Bitcoin ATM */

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

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

::-webkit-scrollbar-track {
    background: #fefdf8;
}

::-webkit-scrollbar-thumb {
    background: #1b7c4b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14613a;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Hover effects for cards */
.group:hover .group-hover\:bg-emerald-700 {
    background-color: #1b7c4b;
}

.group:hover .group-hover\:border-emerald-600 {
    border-color: #2f9e66;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #2f9e66;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-emerald-950 {
        background-color: #000000;
    }
    
    .text-emerald-950 {
        color: #000000;
    }
}

/* Tablet and desktop enhancements */
@media (min-width: 768px) {
    .lg\:hover\:group-hover\:translate-x-1:hover {
        transform: translateX(0.25rem);
    }
}
