/* Custom styles for L&P Nails */

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

/* Hero animations - above the fold, always visible */
.hero-anim {
    opacity: 1;
    transform: translateY(0);
    animation: heroFadeIn 0.8s ease-out forwards;
}

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

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

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

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

/* Scroll reveal - only for below-the-fold content */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.animated {
    opacity: 0;
    transform: translateY(40px);
}

/* Navbar transition */
.navbar-scrolled .nav-text-light {
    color: #1f2937;
}

/* Mobile menu animations */
.mobile-link {
    opacity: 1;
}

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9c1e37;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal.animated {
        opacity: 1;
        transform: translateY(0);
    }
    
    .hero-anim {
        opacity: 1;
        transform: translateY(0);
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .animate-bounce {
        display: none;
    }
}
