/* Custom styles for LibertyX Bitcoin ATM */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Ensure all text is readable */
.text-burgundy-50 { color: rgb(253 242 244); }
.text-burgundy-100 { color: rgb(252 232 236); }
.text-burgundy-200 { color: rgb(249 208 217); }
.text-burgundy-300 { color: rgb(242 168 181); }
.text-burgundy-400 { color: rgb(232 112 138); }
.text-burgundy-500 { color: rgb(212 65 96); }
.text-burgundy-600 { color: rgb(185 43 71); }
.text-burgundy-700 { color: rgb(156 34 59); }
.text-burgundy-800 { color: rgb(127 29 53); }
.text-burgundy-900 { color: rgb(107 27 50); }
.text-burgundy-950 { color: rgb(54 10 20); }

/* Background colors */
.bg-burgundy-50 { background-color: rgb(253 242 244); }
.bg-burgundy-100 { background-color: rgb(252 232 236); }
.bg-burgundy-200 { background-color: rgb(249 208 217); }
.bg-burgundy-300 { background-color: rgb(242 168 181); }
.bg-burgundy-400 { background-color: rgb(232 112 138); }
.bg-burgundy-500 { background-color: rgb(212 65 96); }
.bg-burgundy-600 { background-color: rgb(185 43 71); }
.bg-burgundy-700 { background-color: rgb(156 34 59); }
.bg-burgundy-800 { background-color: rgb(127 29 53); }
.bg-burgundy-900 { background-color: rgb(107 27 50); }
.bg-burgundy-950 { background-color: rgb(54 10 20); }

/* Blush colors */
.bg-blush-50 { background-color: rgb(254 247 249); }
.bg-blush-100 { background-color: rgb(253 240 245); }
.bg-blush-200 { background-color: rgb(252 229 238); }
.bg-blush-300 { background-color: rgb(249 208 219); }
.bg-blush-400 { background-color: rgb(244 168 184); }
.bg-blush-500 { background-color: rgb(237 112 136); }
.bg-blush-600 { background-color: rgb(224 69 101); }
.bg-blush-700 { background-color: rgb(201 46 78); }
.bg-blush-800 { background-color: rgb(168 38 64); }
.bg-blush-900 { background-color: rgb(140 33 55); }

/* Cream colors */
.bg-cream-50 { background-color: rgb(254 253 251); }
.bg-cream-100 { background-color: rgb(253 249 243); }
.bg-cream-200 { background-color: rgb(250 243 232); }

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgb(156 34 59);
    outline-offset: 2px;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: rgb(254 253 251);
}

::-webkit-scrollbar-thumb {
    background: rgb(242 168 181);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(185 43 71);
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure proper contrast for all text */
.text-gray-600 {
    color: rgb(75 85 99);
}

.text-gray-500 {
    color: rgb(107 114 128);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
