/* Happy Cuts Salon - Custom Styles */

/* Base resets and typography refinements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure smooth rendering */
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #c5dfc8;
    color: #1d5524;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf9f6;
}
::-webkit-scrollbar-thumb {
    background: #c5dfc8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #96c79a;
}

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

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

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, #successMsg {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .hero-overlay {
        display: none;
    }
}
