/* Custom styles for Hair by Kim 813 */

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

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Navbar glass effect when scrolled */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(163, 61, 88, 0.08);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf0f3;
}
::-webkit-scrollbar-thumb {
    background: #f2c4ce;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a33d58;
}

/* Image loading placeholder */
img {
    background-color: #fce7eb;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #5f2133;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: none;
    }
    img, .group-hover\:scale-105:hover {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Mobile menu button animation */
.menu-line.active:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
.menu-line.active:nth-child(2) {
    opacity: 0;
}

/* Floating card hover */
.absolute.z-20 {
    transition: transform 0.3s ease;
}
.absolute.z-20:hover {
    transform: translateY(-4px);
}

/* 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='%23a33d58' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 1.5rem;
}
