/* Custom Styles for Broadway Automotive */

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

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up.delay-200 {
    animation-delay: 0.2s;
}

.animate-slide-up.delay-300 {
    animation-delay: 0.3s;
}

.animate-slide-up.delay-500 {
    animation-delay: 0.5s;
}

.animate-ring {
    animation: ring 0.6s ease-in-out;
}

/* Delay utility */
.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-500 {
    animation-delay: 0.5s;
}

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

::-webkit-scrollbar-track {
    background: #1a0a12;
}

::-webkit-scrollbar-thumb {
    background: #4a2035;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b2f4a;
}

/* Selection Color */
::selection {
    background: #d4a017;
    color: #1a0a12;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Navigation Active State */
.nav-active {
    color: #e8b828 !important;
}

/* Hover Glow Effect */
.glow-hover:hover {
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.3);
}

/* Image Hover Zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}
