/* Custom styles for Dirtysanchez7756 Auto Repair */

:root {
    --burgundy: #7f1d1d;
    --burgundy-light: #991b1b;
    --blush: #ffebeb;
    --blush-dark: #ff8888;
}

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

/* Body styling */
body {
    font-family: 'DM Sans', sans-serif;
    color: #1f2937;
    overflow-x: hidden;
}

/* Hero section background */
.hero-bg {
    background-image: linear-gradient(rgba(127, 29, 29, 0.85), rgba(69, 10, 10, 0.9)), url('https://images.pexels.com/photos/8985672/pexels-photo-8985672.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(127, 29, 29, 0.15);
}

/* Primary button styling */
.btn-primary {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(127, 29, 29, 0.3);
}

/* Secondary button styling */
.btn-secondary {
    border: 2px solid #7f1d1d;
    color: #7f1d1d;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7f1d1d;
    color: white;
}

/* Scroll reveal animation - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu styling */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Navbar styling */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #991b1b;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #7f1d1d;
    outline-offset: 2px;
}

/* Animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .service-card {
        transform: none !important;
    }
    
    .service-card:hover {
        transform: none !important;
    }
}
