/* Custom Styles for 4 Wheels Auto Broker */

:root {
    --charcoal-dark: #2C2C2C;
    --charcoal-muted: #6B6B6B;
    --coral: #E85D4C;
    --coral-light: #F47B6D;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
}

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

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effects */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(232, 93, 76, 0.2);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
    
    #mobile-menu {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
