/* Custom Styles for Little Shop Of Hair */

/* Base Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.animate-slide-in {
    animation: slideIn 0.8s ease-out forwards;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

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

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

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

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

/* Selection Color */
::selection {
    background: #D4AF37;
    color: #0a0a0a;
}

/* Navbar Transition */
.navbar-scrolled {
    background: rgba(10, 10, 10, 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);
}

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

/* Gold Gradient Text */
.text-transparent.bg-clip-text.bg-gold-gradient {
    background-image: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Input Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #D4AF37 !important;
}

/* Mobile Menu Transitions */
.mobile-link {
    transition: color 0.3s ease;
}

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

/* Smooth Transitions */
* {
    transition-property: background-color, border-color, color, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition-duration: 0.3s;
}

/* Prevent Layout Shift */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
