/* Custom styles for Painted Strands Hair Studio */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1b2a;
}
::-webkit-scrollbar-thumb {
    background: #2e4f6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}

/* Service card animations */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Selection color */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #f0f4f8;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .aspect-square img {
        transition: none;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 7, 12, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
