01 - Preheat oven to 350°F. Grease three 8-inch round cake pans and line bottoms with parchment paper.
02 - Whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg, ginger, and cloves in a medium bowl until well blended.
03 - In a large bowl, whisk granulated sugar, brown sugar, and oil until combined. Add eggs one at a time, mixing thoroughly after each addition. Stir in vanilla extract.
04 - Add dry ingredients to wet ingredients and mix until just combined. Avoid overmixing to maintain tender texture.
05 - Gently fold in grated carrots, nuts, drained pineapple, and raisins until evenly distributed throughout the batter.
06 - Divide batter evenly among prepared pans, smoothing tops. Bake for 30-35 minutes until a toothpick inserted in center comes out clean.
07 - Let cakes cool in pans for 10 minutes, then carefully turn out onto wire racks to cool completely before frosting.
08 - Beat cream cheese and butter until smooth and fluffy. Gradually add powdered sugar, vanilla, and salt, beating until light and creamy.
09 - Place one cake layer on serving plate. Spread generous frosting layer on top. Repeat with second and third layers, then frost sides and top of cake.
10 - Refrigerate assembled cake for 30 minutes before slicing for clean, neat layers. Decorate with extra nuts or carrot curls if desired.