When it comes to tripods, buy cheap and repent at leisure! Same with heads.
Agree with recommendation for Manfrotto, but also Giottos and Gitzo. There's a reason why professionals buy them.
What you buy is determined by need.
Light weight = carbon fibre - not cheap! Light weight metal = waste of money.
Travel tripods are size and weight dependent; no good in windy conditions.
Heavier 'normal' tripods are cheaper than their carbon fibre equivalents, as robust, but seem to increase exponentially in weight the longer you carry them, so not so good for hiking, etc.
As to heads, depends on what you want to photograph. It's not just the weight the head will support, it's also what it's supporting and what you intend to do with it.
Ball heads are good. Very flexible but with one inherent risk. Don't tighten it enough, especially with an unbalanced lens/body combo, and it could 'drop' the lens down to hit the tripod. Longer/heavier the lens, more imbalance.
That said, I use ball heads, plus 'joystick' types (although they have the same risk).
Ball heads are not too good for panaromas unless you buy more expense ones, and in my view are useless for macro - can't do fine adjustments.
One tripod head does not do everything. Be prepared to invest in a number of heads to meet different situations, etc, in which case ensure thay all share the same fixing plates so you can swap kit as required.
I use Manfrotto RC2 family heads. Each body, etc, has a fixing plate attached so I can swap kit quickly instead of using a single plate shared between kit. Extra plates are not expensive.
I'd suggest you work backwards from need/use, then research within budget. If insufficient budget, don't buy until you've saved more money!!