/* Custom Styles for Sky Z Nails Spa */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fffdf7;
}
::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Navbar transition */
.nav-scrolled {
    background: rgba(255, 253, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.1);
}

.nav-scrolled .nav-logo-text {
    color: #064e3b !important;
}

.nav-scrolled .nav-link {
    color: #064e3b !important;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Active nav link */
.nav-link.active {
    color: #059669 !important;
}

/* Ensure all interactive elements have proper focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 768px) {
    .mobile-link {
        padding: 12px 0;
    }
    
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Print styles */
@media print {
    nav, #contact iframe, .scroll-reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
