/* Custom CSS for LibertyX Bitcoin ATM */

:root {
    --color-bg-dark: #0A0F0D;
    --color-bg-darker: #060908;
    --color-bg-card: #0D1411;
    --color-emerald: #10B981;
    --color-emerald-light: #34D399;
    --color-emerald-dark: #059669;
    --color-cream: #F5F5DC;
    --color-cream-light: #FAF9F6;
    --color-cream-dark: #E8E8D0;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-cream);
    line-height: 1.6;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-emerald-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-emerald);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-100 {
    animation-delay: 100ms;
}

.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-slide-up {
        animation: none;
        opacity: 1;
    }
    
    .reveal-on-scroll {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Navigation */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button Hover Effects */
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Input Focus Effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Card Hover Effects */
.group:hover .group-hover\\:bg-emerald-500\\/20 {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Smooth Transitions */
a, button {
    transition: all 0.3s ease;
}

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

/* Selection Color */
::selection {
    background-color: rgba(16, 185, 129, 0.3);
    color: var(--color-cream-light);
}

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

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

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--color-emerald);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .bg-emerald-600,
    .bg-emerald-500,
    .bg-emerald-400 {
        background: #10B981 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
