/* Custom styles for Scarlett Oh Beauty */

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

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

/* Selection color */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fdf9f0;
}

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .float-1, .float-2, .float-3 {
        animation: none;
    }
    .service-img img {
        transition: none;
    }
    .btn-primary, .btn-secondary {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-overlay, #back-to-top, .float-1, .float-2, .float-3 {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .glass-card, .stat-card, .testimonial-card {
        background: white !important;
        border-color: #ddd !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .stat-card {
        padding: 0.75rem 1rem !important;
    }
    .stat-card .text-sm {
        font-size: 0.7rem !important;
    }
    .stat-card .text-\[10px\] {
        font-size: 0.6rem !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .font-display.text-5xl {
        font-size: 2.25rem !important;
    }
}
