/* Custom Styles for Roadkill Diesel Performance */

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

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

::-webkit-scrollbar-track {
    background: #0F0F0F;
}

::-webkit-scrollbar-thumb {
    background: #3D1266;
    border-radius: 5px;
}

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

/* Clip Path for Buttons */
.clip-path-slant {
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

/* Geometric Shape Utilities */
.geometric-border {
    position: relative;
}

.geometric-border::after {
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid #FFB703;
    z-index: -1;
    transform: skewX(-20deg);
}

/* Text Shadow for Hero */
h1, h2, h3 {
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Image Filters */
img {
    image-rendering: pixelated; /* Optional: for retro feel, but we want crisp */
    image-rendering: crisp-edges;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus States for Accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #FFB703;
    outline-offset: 2px;
}

/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        font-size: 3rem;
        line-height: 1;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}
