/* Pure Elements Salon — Custom Styles */

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf8f5;
}
::-webkit-scrollbar-thumb {
    background: #d4a8a8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b92f2f;
}

/* Selection */
::selection {
    background: #b92f2f;
    color: #fefcfb;
}

/* Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 252, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(139, 35, 50, 0.08);
}

/* Mobile menu animation */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open #menu-line-1 {
    transform: rotate(45deg) translate(3px, 3px);
}
.mobile-menu-open #menu-line-2 {
    opacity: 0;
}
.mobile-menu-open #menu-line-3 {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.5rem;
    margin-left: 0;
}

/* Service cards */
.service-card {
    transition: background-color 0.4s ease;
}
.service-card:hover {
    background-color: rgba(253, 242, 242, 0.8);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B2332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #8B2332;
    outline-offset: 2px;
}
