/* Custom styles for Basic Celebrity Barbershop */

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

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

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #9A5F3D;
}

/* Reveal on scroll animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

/* Mobile menu animation */
#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

/* Apply floating animation to stat cards on mobile */
@media (max-width: 767px) {
    .absolute.bottom-10 {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 1rem;
        scroll-snap-type: x mandatory;
    }
    
    .absolute.bottom-10 > div {
        min-width: 280px;
        scroll-snap-align: start;
    }
}

/* Hero text gradient animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.text-transparent.bg-clip-text.bg-gradient-to-r {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Button hover effects */
button:hover, a:hover {
    transform: translateY(-2px);
}

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

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(194, 124, 86, 0.3);
}

/* Image hover zoom */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Custom selection color */
::selection {
    background-color: #C27C56;
    color: #0A0A0A;
}
