/* JC Nails & Spa - Custom Styles
 * Supporting styles for the main site
 */

/* Base reset enhancements */
*, *::before, *::after {
    box-sizing: border-box;
}

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

/* Selection color */
::selection {
    background: rgba(126, 203, 164, 0.25);
    color: #f0faf5;
}

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

/* Prevent zoom on iOS inputs */
@media screen and (max-width: 767px) {
    input, textarea, select {
        font-size: 16px;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
    }
}

/* Reduce motion for users who prefer it */
@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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .text-white\/50 {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .text-white\/40 {
        color: rgba(255, 255, 255, 0.7) !important;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 80px 0;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-serif {
        font-size: 1.75rem;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Custom scrollbar for Webkit */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: rgba(126, 203, 164, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(126, 203, 164, 0.5);
}

/* Utility for decorative elements */
.deco-line {
    position: relative;
}

.deco-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, #7ecba4, transparent);
}
