Consider the exponential function given by the equation:
$$f(x) = 3^x - 4$$
Determine the value of $x$ such that $f(x) = 5$. That is, you need to solve the equation:
$$3^x - 4 = 5$$
Provide your answer as a decimal rounded to three decimal places.