/* Custom styles for Milli's Nail Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #052e16;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Selection color */
::selection {
    background: #166534;
    color: #fdfcf8;
}

/* Ensure all text is readable */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure hero text contrast */
.hero-bg h1,
.hero-bg p,
.hero-bg a {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Service card hover effects */
.service-card {
    will-change: transform;
}

/* Mobile menu transitions */
.mobile-menu {
    will-change: max-height;
}

/* Animation for reveal elements */
.reveal {
    will-change: opacity, transform;
}

/* Print styles */
@media print {
    nav, .hero-bg, #gallery, #testimonials {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@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;
    }
}
