/* Custom Styles for Bob's Automotive */

:root {
    --plum-900: #1a0d12;
    --plum-800: #2d1420;
    --amber-500: #d97706;
    --amber-400: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--plum-900);
    color: white;
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stat Card Animations */
.stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

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

::-webkit-scrollbar-track {
    background: var(--plum-900);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-700);
    border-radius: 5px;
}

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

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.3);
}

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

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