/* Custom Styles for Belleville Barbershop */

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideUpDelay {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

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

/* Hero Background Parallax Effect */
header {
    background-attachment: fixed;
}

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

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

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

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

/* Selection Color */
::selection {
    background: #ff6b6b;
    color: white;
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* 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);
    }
}

/* Navbar Background on Scroll */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Gallery Hover Effect */
.group:hover img {
    transform: scale(1.1);
}

/* Button Hover Effect */
button,
a {
    transition: all 0.3s ease;
}

/* Service Card Hover */
.group:hover {
    transform: translateY(-8px);
}

/* Testimonial Card Hover */
.bg-charcoal-900:hover {
    border-color: rgba(255, 107, 107, 0.3);
}

/* Image Aspect Ratio Fixes */
img {
    vertical-align: middle;
}

/* Responsive Typography */
@media (max-width: 768px) {
    header {
        background-attachment: scroll;
    }
}
