/* Custom styles for Del Tepeyac */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3a613e;
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button pulse animation */
@keyframes pulse-soft {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 128, 83, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(79, 128, 83, 0);
    }
}

.pulse-animation {
    animation: pulse-soft 2s infinite;
}

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

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

/* Image lazy loading placeholder */
img {
    background-color: #e3efe6;
}
