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

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

/* Reveal on scroll - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative elements */
.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    height: 1px;
    width: 48px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.3;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #449e80;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Print styles */
@media print {
    header, footer, .animate-bounce {
        display: none;
    }
    
    body {
        color: #0a1628;
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}
