/* Custom styles for Acicalate Barber Shop */

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

/* Custom font loading */
@font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    src: local('DM Serif Display'), url(https://fonts.gstatic.com/s/dmserifdisplay/v14/SLXucWZ2hwmTGuXsM9-Op0U.woff2) format('woff2');
    font-display: swap;
}

/* Base styles */
body {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #e36d3f;
    color: white;
}

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

/* Print styles */
@media print {
    nav, .btn-pulse, #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: white;
    }
}

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

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

/* Tablet and up */
@media (min-width: 768px) {
    .hero-pattern {
        background-image: 
            radial-gradient(circle at 20% 50%, rgba(227, 109, 63, 0.12) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(229, 170, 40, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 50% 80%, rgba(194, 63, 21, 0.08) 0%, transparent 45%);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .service-card:hover {
        transform: translateY(-12px);
    }
}
