/* Custom styles for Colegio Virgen de Fátima */

:root {
    --color-darkgreen: #14532d;
    --color-green-700: #166534;
    --color-green-600: #16a34a;
    --color-green-500: #22c55e;
    --color-green-200: #bbf7d0;
    --color-green-100: #dcfce7;
    --color-offwhite: #fafaf9;
    --color-yellow-400: #facc15;
    --color-yellow-500: #eab308;
    --color-darkgreen: #0f2916;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-offwhite);
    color: #1f2937;
}

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

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

/* Custom color classes */
.bg-offwhite {
    background-color: var(--color-offwhite);
}

.text-darkgreen {
    color: var(--color-darkgreen);
}

/* Blob animation */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(10px, 10px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 7s infinite ease-in-out;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

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

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

.animation-delay-1000 {
    animation-delay: 1s;
}

/* Navbar scroll effect */
.navbar-scrolled #nav-bg {
    opacity: 1;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--color-green-600);
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-fredoka.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-fredoka.text-4xl {
        font-size: 2rem;
    }
}
