/* Custom Styles for LibertyX Bitcoin ATM */

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

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

::-webkit-scrollbar-track {
    background: #1a0f14;
}

::-webkit-scrollbar-thumb {
    background: #4a2536;
    border-radius: 5px;
}

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

/* Animation delays */
.animation-delay-500 {
    animation-delay: 500ms;
}

/* Gradient text utility */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Gold gradient background */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

/* Hover effects for cards */
.group:hover .group-hover\:shadow-lg {
    box-shadow: 0 10px 40px -10px rgba(212, 160, 23, 0.3);
}

/* Focus styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* Button hover lift effect */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(26, 15, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Loading animation for images */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* 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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

/* Card hover transitions */
.group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group:hover {
    transform: translateY(-5px);
}

/* Glow effects */
.shadow-amber-500\/20 {
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.2);
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2rem;
    }
    
    .font-display.text-5xl {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
