/* Custom styles for Super Nails */

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .logo-text {
    color: #0d9488;
}

/* Hero image parallax feel */
#hero .relative {
    will-change: transform;
}

/* Service card hover */
.group:hover .group-hover\:bg-teal-600 {
    background-color: #0d9488;
}

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

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

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
    padding: 1.5rem 0;
}

/* Decorative patterns */
.dot-pattern {
    background-image: radial-gradient(circle, #0d9488 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal.hidden-reveal {
        opacity: 1;
        transform: translateY(0);
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
