Atmel 89 series are Negetaive or GND favored chips. Thus they prefer gnd as inputs or they deliver GND or negetive as output too. Thus the posetive volatge what you get as output is not devilvered by the Chip. Its a voltage whiich is passing through the internal pullup resistor when the PIN floats. When activated the pin will pull itself to GND. Thus you may use a PNP transistor which will trigger the NPN transistor (Combination of two) OR use a NPN (Port <2K2> Base) Collector >10K> Vcc, Emitter > GND. Next NPN transistor Base > To First Tr collector, Emitter GND, Collector Relay as you have connected now.
Cheers