/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #022c22;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 251, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Button Hover Glow */
button:hover, a:hover {
    filter: brightness(1.05);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Print Styles */
@media print {
    nav, button, .animate-float, .animate-spin-slow {
        display: none;
    }
}
