/* Custom styles for Bella Fiore Natural Nail Spa */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(240, 112, 112, 0.2);
    color: #1a1a1a;
}

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

/* Loading state */
body {
    opacity: 1;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f5f5f5 0%, #ebebeb 50%, #f5f5f5 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}

/* 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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .animate-float {
        animation: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .animate-float {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-overlay {
        display: none;
    }
}
