Energy Transition Framework for Nearly Zero-Energy Ports: HRES Planning, Storage Integration, and Implementation Roadmap