/* Custom Styles for Clean AF */

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --cream-50: #fefdf8;
    --cream-100: #fef9e8;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

.font-fredoka {
    font-family: 'Fredoka', sans-serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Tailwind Custom Colors */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .bg-cream-50 {
        background-color: var(--cream-50);
    }
    
    .bg-cream-100 {
        background-color: var(--cream-100);
    }
    
    .text-emerald-700 {
        color: var(--emerald-700);
    }
    
    .text-emerald-600 {
        color: var(--emerald-600);
    }
    
    .text-emerald-500 {
        color: var(--emerald-500);
    }
    
    .bg-emerald-700 {
        background-color: var(--emerald-700);
    }
    
    .bg-emerald-600 {
        background-color: var(--emerald-600);
    }
    
    .bg-emerald-500 {
        background-color: var(--emerald-500);
    }
    
    .bg-emerald-200 {
        background-color: var(--emerald-200);
    }
    
    .bg-emerald-100 {
        background-color: var(--emerald-100);
    }
    
    .border-emerald-200 {
        border-color: var(--emerald-200);
    }
    
    .border-emerald-100 {
        border-color: var(--emerald-100);
    }
    
    .border-emerald-400 {
        border-color: var(--emerald-400);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--emerald-200);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-500);
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
