/* Custom styles for Always Hair For You */

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

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 107, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 300px;
}

/* Mobile menu button animation */
#menuBtn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active span:nth-child(2) {
    opacity: 0;
}

#menuBtn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B6B;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    a,
    button {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

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

/* Print styles */
@media print {
    nav,
    #contact,
    .service-card,
    .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
