/* Custom styles that complement Tailwind */
html {
    scroll-behavior: smooth;
}

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

.font-serif {
    font-family: 'Fraunces', serif;
}

/* Custom animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-bounce-slow {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal styles - applied via JS for progressive enhancement */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #781F37;
}

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

#mobile-menu.open {
    max-height: 400px;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #A33B56;
    outline-offset: 2px;
    border-radius: 4px;
}
