/* Custom styles that extend Tailwind */
:root {
    --color-cream-50: #FDFCF8;
    --color-cream-100: #F5F0E6;
    --color-emerald-50: #ECFDF5;
    --color-emerald-100: #D1FAE5;
    --color-emerald-700: #047857;
    --color-emerald-800: #065F46;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-cream-50);
}

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

@keyframes float-delayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

::-webkit-scrollbar-track {
    background: var(--color-cream-50);
}

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

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

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-emerald-700);
    outline-offset: 2px;
    border-radius: 4px;
}
