/* Custom styles for Pacific Truck Driving School */

html {
    scroll-behavior: smooth;
}

/* FAQ animations */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content:not(.hidden) {
    max-height: 300px;
}

.faq-icon {
    flex-shrink: 0;
}

/* Scroll reveal base state - content always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile menu */
#mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        transition: none;
    }
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}
