A fully unreal past situation needs "had + past participle" in the if-clause and "would have + past participle" in the main clause — both halves must match.
Reference: Skoolyst English Grammar Guide
, Page 8
Hint
Check that the if-clause and main clause use matching tense "families" — don't mix a third conditional if-clause with a second conditional result.