/* Custom styles for Settle for the Best Handyman Services */

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-delay2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.animate-float-delay2 {
    animation: float-delay2 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a01e1e;
}

/* Selection color */
::selection {
    background: #c42a2a;
    color: #fff8f7;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #7a1a1a;
    outline-offset: 2px;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}
