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

.animate-fade-in { 
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; 
}

.footer-skew {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
}


/*catalogo css*/
.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.equipo-card {
    position: relative;
    overflow: hidden; /* Mantiene el overlay dentro de la tarjeta */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: transform 0.3s ease;
}

/* El panel de detalles inicia oculto y desplazado hacia abajo */
.equipo-detalles-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fondo oscuro semitransparente */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    transform: translateY(100%); /* Lo esconde debajo */
    transition: transform 0.3s ease-in-out;
}

/* Al hacer hover en la tarjeta, el panel sube */
.equipo-card:hover .equipo-detalles-overlay {
    transform: translateY(0);
}

.equipo-card:hover {
    transform: translateY(-5px); /* Eleva un poco la tarjeta entera */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}