/* Custom styles for Premium Auto Parts */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e85d3a, #d14528);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff7a4f, #e85d3a);
}

/* Selection color */
::selection {
    background: #e85d3a;
    color: #fff;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Utility classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Print styles */
@media print {
    nav, .scroll-indicator, .hamburger {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

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

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

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary,
    .btn-outline {
        border: 2px solid ButtonText;
    }
}
