/* Custom Styles for The Nail Room */

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

/* Scroll Indicator Animation */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Transition */
.navbar-scrolled {
    background: rgba(59, 7, 100, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-scrolled .nav-logo-text {
    color: #fbbf24 !important;
}

.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile Menu Link Styles */
.mobile-menu-link {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

/* Image Hover Zoom */
img {
    -webkit-user-drag: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7e22ce;
}

/* Form Input Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Selection Color */
::selection {
    background: #fbbf24;
    color: #3b0764;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal,
    .reveal-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .group:hover img {
        transform: none;
    }
}

/* Tablet and Up */
@media (min-width: 768px) {
    .reveal {
        transition-delay: 0ms;
    }
    
    .reveal:nth-child(2) {
        transition-delay: 100ms;
    }
    
    .reveal:nth-child(3) {
        transition-delay: 200ms;
    }
}

/* Large Screens */
@media (min-width: 1024px) {
    .reveal {
        transition-delay: 0ms;
    }
    
    .reveal:nth-child(2) {
        transition-delay: 100ms;
    }
    
    .reveal:nth-child(3) {
        transition-delay: 200ms;
    }
    
    .reveal:nth-child(4) {
        transition-delay: 300ms;
    }
    
    .reveal:nth-child(5) {
        transition-delay: 400ms;
    }
    
    .reveal:nth-child(6) {
        transition-delay: 500ms;
    }
}
