/* Hair by Brittany — Custom Styles */

/* Base reset & typography refinements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure select dropdown text is visible */
select option {
    background-color: #02050D;
    color: #ffffff;
}

/* Subtle text selection color */
::selection {
    background-color: rgba(42, 157, 143, 0.3);
    color: #ffffff;
}

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

/* Smooth image rendering */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Prevent layout shift on image load */
img {
    display: block;
}

/* Additional mobile responsiveness */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Print styles */
@media print {
    .hero-gradient,
    .float-1, .float-2, .float-3 {
        display: none;
    }
    
    body {
        background: white;
        color: #1a1a1a;
    }
}

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