/* Custom styles to supplement Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fafaf9; /* stone-50 */
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Fade in animation for scroll reveals */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Ensure text contrast on specific backgrounds */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
