/* Custom Styles for Unfiltered Barbershop */

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #c05c4a !important;
    box-shadow: 0 0 0 2px rgba(192, 92, 74, 0.2);
}

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Noise Texture Overlay */
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

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

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

.from-ux-sand {
    --tw-gradient-from: #e8dcc4;
}

.via-ux-gold {
    --tw-gradient-to: #d4af37;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-ux-terracotta {
    --tw-gradient-to: #c05c4a;
}

.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}
