/* Custom styles for Elite Garage EPTX */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Floating card animations */
.reveal-card {
    animation: floatCard 3s ease-in-out infinite;
}
.reveal-card:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Scroll reveal animations (below the fold only) */
.reveal-about,
.reveal-review {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-about,
    .reveal-review {
        opacity: 0;
        transform: translateY(20px);
    }
}

.reveal-about.revealed,
.reveal-review.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for service cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

/* Mobile menu transition */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobileMenu.open {
    max-height: 400px;
}
