A multi-layer reactive transport model for fractured porous media