/* Additional custom styles */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is visible even without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.2s ease;
}

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

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav, .animate-bounce {
        display: none;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .font-serif {
        font-size: 1.875rem;
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-forest-600 {
        background-color: ButtonText;
    }
    
    .text-forest-600 {
        color: ButtonText;
    }
}
