/* Custom styles and animations */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;600;800&family=Manrope:wght@400;500;700&display=swap');

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile menu animations */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth hover effects */
a, button {
    transition: all 0.2s ease;
}

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

::-webkit-scrollbar-track {
    background: #F5E6D3;
}

::-webkit-scrollbar-thumb {
    background: #C05640;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9D4230;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #F5E6D3 25%, #FDF6EE 50%, #F5E6D3 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}
