/* Custom styles for KKnails2000 */

/* Smooth scroll padding for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff5f5;
}
::-webkit-scrollbar-thumb {
    background: #f2a8a8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c44545;
}

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

/* Reduced motion for all animations */
@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;
    }

    .service-card:hover {
        transform: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    img {
        transition: none;
    }
}
