/* Custom styles for Tashkent Barber Shop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F4EFE6;
}

::-webkit-scrollbar-thumb {
    background: #C0573E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9E432F;
}

/* Selection color */
::selection {
    background: #C0573E;
    color: #F4EFE6;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C0573E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    object-fit: cover;
}

/* Smooth transitions for interactive elements */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
    h1, h2, h3 {
        line-height: 1.1;
    }
    
    .service-card {
        padding: 2rem !important;
    }
}

/* Print styles */
@media print {
    .hero-float,
    .hero-float-delayed {
        animation: none;
    }
}
