/* Additional custom styles */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 85, 0.3);
    color: #f6f6f6;
}

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

/* Loading animation for images */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* 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;
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .service-card,
    .stat-card {
        break-inside: avoid;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card,
    .stat-card {
        border: 1px solid ButtonText;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    h2.font-display {
        font-size: 2rem;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    nav {
        padding: 0 1rem;
    }
    
    .btn-shine {
        width: 100%;
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
