/* Custom styles for Sarah Nails website */

/* Base typography refinements */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 74, 0.2);
    color: #1e1e32;
}

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

/* Reduced motion - content always visible */
@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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Service card image hover */
.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradient text fallback for older browsers */
.text-coral-gradient {
    color: #ff6b4a;
}

/* Ensure all links are readable */
a {
    text-decoration: none;
}

/* Mobile menu backdrop */
@media (max-width: 767px) {
    .mobile-menu {
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    }
}

/* Print styles */
@media print {
    nav, #backToTop, .mobile-menu {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-overlay {
        display: none;
    }
}
