/* Custom styles for Pupie's Auto Repair */

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

/* Custom animations */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: reveal 0.8s ease-out forwards;
}

.reveal:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal:nth-child(3) {
    animation-delay: 0.4s;
}

/* Hover effects for service cards */
.group:hover .group-hover\:bg-mint {
    transition: background-color 0.3s ease;
}

.group:hover .group-hover\:text-midnight {
    transition: color 0.3s ease;
}

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

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

::-webkit-scrollbar-track {
    background: #0A192F;
}

::-webkit-scrollbar-thumb {
    background: #64FFDA;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4fd4b5;
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease-out;
}

#mobile-menu.hidden {
    max-height: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
}

/* Print styles */
@media print {
    header,
    footer,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
