/* Custom styles for D' Shersi Unisex Salon */

/* Base styles */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-track {
    background: #FAFAF8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1A916A;
}

/* Selection color */
::selection {
    background-color: #BDF0DB;
    color: #0A1628;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

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

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

/* Hamburger menu animation */
#menu-btn.active #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active #line2 {
    opacity: 0;
}

#menu-btn.active #line3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Subtle hover effect for cards */
.group:hover .group-hover\\/scale-110 {
    transform: scale(1.1);
}

/* Gradient text effect (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #0A1628 0%, #2AB586 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Print styles */
@media print {
    nav, footer, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
