/* Custom styles for CSI Automotive */

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.2s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff9f5;
}
::-webkit-scrollbar-thumb {
    background: #d44263;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #971a38;
}

/* Hero image gradient overlay */
.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,249,245,0.3) 0%, transparent 60%);
    pointer-events: none;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d44263;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-card {
        transition: none;
    }
}
