When you were born, was either of your parents Costa Rican?
What matters is their nationality on the day you were born. If a parent became Costa Rican later, answer no. If you are unsure, ask your parents, or ask the Registro Civil: a Costa Rican parent has their own entry there.