/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better touch targets for mobile */
button, a {
    min-height: 44px;
    min-width: 44px;
}

/* Image hover effects */
.hover-zoom {
    transition: transform 0.3s;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card styles */
.card-hover {
    transition: all 0.3s;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Mobile menu animation */
.mobile-menu-enter {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.mobile-menu-enter-active {
    max-height: 300px;
    opacity: 1;
    transition: all 0.3s ease-out;
}

.mobile-menu-exit {
    max-height: 300px;
    opacity: 1;
}

.mobile-menu-exit-active {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in;
}