/* Custom Styles for Altered Image Salon */

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

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-fade-in-delay,
    .animate-fade-in-delay-2,
    .animate-slide-up {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

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

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FF6B6B;
}

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

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

/* Navigation Active State */
nav a.active {
    color: #FF6B6B;
}

/* Loading State for Buttons */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .animate-fade-in,
    .animate-fade-in-delay,
    .animate-fade-in-delay-2,
    .animate-slide-up {
        animation: none;
    }
}
