/* Custom styles for K Salon and Spa */

/* Smooth scrolling offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 3px;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #FF6B6B;
    color: #ffffff;
}

/* Subtle gradient for hero overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.55) 50%, rgba(26,26,26,0.3) 100%);
}

/* Nav scroll state */
.nav-scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

/* Service card hover line */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

/* Gallery hover effect */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,0);
    transition: background 0.4s ease;
}

.gallery-item:hover::after {
    background: rgba(26,26,26,0.15);
}

/* Form input animations */
.form-input {
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #FF6B6B !important;
}

/* Button hover glow */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .gallery-item img {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}
