Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans or line them with parchment paper.
In a medium bowl, sift together the flour, baking powder, baking soda, and salt. Set aside.
In a large bowl, beat the softened butter with the granulated and brown sugars until light and fluffy, about 3-4 minutes.
Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
Gradually add the dry ingredients to the wet mixture, alternating with the buttermilk. Begin and end with the dry ingredients.
Slowly mix in the hot coffee until the batter is smooth.
Divide the batter evenly between the prepared pans. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cakes to cool in the pans for 10 minutes, then transfer them to a wire rack to cool completely.