/* Custom Styles for LibertyX Bitcoin ATM */

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

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

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

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

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

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Scroll Effect */
#navbar {
    background: transparent;
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .text-burgundy-900 {
    color: #552222 !important;
}

#navbar.scrolled a:not(.bg-burgundy-800) {
    color: #374151 !important;
}

#navbar.scrolled a:not(.bg-burgundy-800):hover {
    color: #803030 !important;
}

/* Hero Gradient Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Floating Animation for Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--rotation, 0deg));
    }
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 92, 61, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 92, 61, 0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.btn-shine:hover::after {
    left: 100%;
}

/* Image Hover Zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Text Selection */
::selection {
    background: #d07070;
    color: white;
}

::-moz-selection {
    background: #d07070;
    color: white;
}

/* Reduced Motion */
@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;
    }
}

/* Print Styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
