Local adaptation and fitness trade-offs