/* Custom styles for Linda's Beauty Salon */

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

/* Hero animations - only for below-fold content */
.hero-anim {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-anim:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-anim:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-anim:nth-child(4) {
    animation-delay: 0.6s;
}

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

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

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

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

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

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

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

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

/* Image hover zoom effect */
.group:hover img {
    transform: scale(1.05);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
